.form-section {
    max-width: 812px;
    width: 100%;
    margin: 56px auto 124px;
    min-height: calc(100vh - 540px);
}

.form-title {
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 0.04em;
    color: #1a274e;
    margin-bottom: 40px;
    font-family: GHEAHelveticaGeoBold;
}

input {
    background: #eff3ff;
    border: 1px solid #1a274e;
    border-radius: 32px;
    height: 56px;
    width: 100%;
    padding: 16px;
    color: #1a274e;
    font-weight: 700;
    font-size: 14px;
}

label {
    display: block;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    color: #1a274e;
}

.error {
    position: relative;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #D61518;
    height: 24px;
}

.hasError .error:before {
    content: url("/images/error.svg");
    position: absolute;
    top: 3px;
    left: 0;
}

.form-content {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 20px 20px 0;
    width: 100%;
    margin-bottom: 20px;
}

.inline-forms {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 0 16px;
}

.form-item, .form-item input {
    width: 100%;
}

.registration-btn {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;;
    letter-spacing: 0.01em;
    color: #1a274e;
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: #eff3ff;
    border: 1px solid #1a274e;
    border-radius: 32px;
    height: 56px;
    margin-right: 16px;
}

.registration-btn:hover {
    background: #1a274e;
    color: #fff;
    text-decoration: none;
}

.login-btn_ {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    display: block;
    width: 100%;
    background: #1a274e;
    transition: 0.3s;
    padding: 16px;
    border: 1px solid #1a274e;
    border-radius: 32px;
}

.login-btn_:hover {
    background: #3550a1;
}

.login-share {
    margin-top: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.forgot-password-link {
    padding-top: 17px;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #1a274e;
}

.google, .fbg .fb {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 188px;
    padding: 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.google img, .fbg .fb img {
    margin-right: 16px;
}

.google {
    background: #347AF6;
}

.google:hover {
    background: #4F8CF7;
}

.fbg .fb {
    background: #3B5998;
    margin-right: 20px;
    width: 100% !important;
}

.fbg .fb:hover {
    background: #476CB8;
}

.fbg {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.mob-fp-content {
    display: none;
}


.inline-forms-3 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto auto;
    grid-template-columns: auto auto auto;
    gap: 0 16px;
}

.select .value {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #1a274e;
    padding: 15px 16px;
    background: #F4F4F8;
    border: 1px solid #DEDEE3;
    width: 100%;
}

.select .value {
    position: relative;
}

.select .value::before {
    content: url("/images/basket/selectArrow.svg");
    border: none;
    top: 31%;
    right: 16px;
    width: unset;
    height: unset;
}

.selects > div:first-child, .order-form-item > div:first-child {
    margin-right: 16px;
}

.select .list ul li:hover, .select .list ul li.hovered {
    color: #1a274e;
    background: #DEDEE3;
}

.select .list {
    box-shadow: none;
    background: #F4F4F8;
    border: 1px solid #DEDEE3;
    border-top: 0;
    top: 56px;
}

.select:focus .value {
    border-bottom: 1px solid transparent;
}

.select {
    max-width: 100%;
}

.rot .value:before {
    transform: rotate(180deg);
}

.checkbox {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}

.log-reg {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.log-reg a {
    border: 2px solid #1a274e;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #1a274e;
    padding: 14px;
    display: block;
    width: 188px;
}

.log-reg a:first-child {
    margin-right: 20px;
}

.checkbox label {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #1a274e;
    display: block;
    margin-left: 16px;
    font-weight: 400;
    position: relative;
    top: 6px;
    left: 8px;
}

.flex-inline {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-inline > div:first-child {
    margin-right: 20px;
}

.email-note {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.email-note-txt {
    max-width: 636px;
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #1a274e;
    margin: 32px 0;
}

textarea {
    width: 100%;
    height: 112px;
    resize: none;
    padding: 16px;
    border-radius: 32px;
    background: #eff3ff;
    border: 1px solid #1a274e;
}

.send {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: #1a274e;
    border-radius: 32px;
}

.send:hover {
    background: #3550a1;
}

#confirmMessage {
    color: #00b108;
}
.decor-container, .checkbox {
  position: relative;
}
.decor-container input[type="checkbox"], .checkbox  input[type="checkbox"], .decor-container input[type="radio"], .checkbox  input[type="radio"] {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 5px;
  left: 0;
  z-index: 1;
  opacity: 0;
}

.input-decor {
  width: 24px;
  height: 23px;
  display: block;
  position: relative;
}

.input-decor:before {
  content: url("/images/basket/uncheckedRadioButton.svg");
  position: absolute;
  top: 0;
  left: 0;
  background: #ffff;
  width: 24px;
  height: 23px;
}

input[type='checkbox']:checked + .input-decor:before, .checkbox input[type='radio']:checked + .input-decor:before {
  content: url("/images/basket/checkedRadioButton.svg");
}
@media (max-width: 852px) {
    .form-section {
        max-width: 95%;
    }

    .form-title {
        font-size: 20px;
    }

    .form-section {
        margin: 24px auto 24px;
    }

    .registration-btn, .login-btn_, .form-content {
        margin-top: 16px;
    }

    .login-share {
        margin-top: 16px;
    }

    .fp-content {
        display: none;
    }

    .mob-fp-content {
        margin-bottom: 16px;
        display: block;
    }

    .fbg, .fb, .google, .log-reg button, .log-reg {
        width: 100% !important;
    }

    .log-reg a {
        width: 100%;
    }

    .inline-forms.buttons,
    .flex-inline.buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
        -moz-box-orient: vertical;
        -moz-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .inline-forms, .flex-inline {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .flex-inline > div:first-child {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .inline-forms-3 {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
    }

    .log-reg button:first-child {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .google, .fbg .fb {
        min-width: unset;
        width: 100% !important;
    }
  .checkbox label {
    line-height: 17px;
  }
  .form-title {
    margin-bottom: 24px;
  }
}
