.authBody {
    margin: 0;
    min-height: 100vh;
    background: #f7f5f2;
    color: #231916;
    font-family: "Poppins", sans-serif;
}

.authMain {
    min-height: 620px;
    padding: 70px 20px 100px;
    box-sizing: border-box;
}

.authContainer {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.authCard {
    background: #fff;
    border: 1px solid rgba(35, 25, 22, 0.1);
    padding: 48px 50px 44px;
    box-sizing: border-box;
}

.authCardHeader {
    margin-bottom: 36px;
}

.authEyebrow {
    display: block;
    margin-bottom: 8px;
    color: #4c8fe0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.authCardHeader h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #231916;
}

.authCardHeader p {
    max-width: 440px;
    margin: 0;
    color: #665e5b;
    font-size: 14px;
    line-height: 1.7;
}

.authValidation {
    margin-bottom: 22px;
}

    .authValidation ul {
        margin: 0;
        padding: 14px 18px 14px 36px;
        background: #fff2ed;
        border-left: 3px solid #d8561d;
        color: #8b3211;
        font-size: 13px;
        line-height: 1.6;
    }

.authMessage {
    margin-bottom: 22px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
}

.authMessageError {
    background: #fff2ed;
    border-left: 3px solid #d8561d;
    color: #8b3211;
}

.authMessageSuccess {
    background: #edf7ff;
    border-left: 3px solid #4c8fe0;
    color: #245a98;
}

.authField {
    margin-bottom: 24px;
}

    .authField label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
    }

.authInputWrap {
    position: relative;
}

.phoneNumberField { display: flex; gap: 8px; align-items: stretch; }
.phoneCountryControl { position: relative; flex: 0 0 118px; width: 118px; }
.phoneNumberField .phoneCountry { padding: 0 8px; text-overflow: ellipsis; cursor: pointer; }
.phoneCountryControl [data-phone-country-value] { display: none; }
.phoneCountryControl[data-phone-country-ready] .phoneCountry { appearance: none; color: transparent; -webkit-text-fill-color: transparent; }
.phoneCountryControl[data-phone-country-ready] :is(optgroup, option) { color: #231916; -webkit-text-fill-color: #231916; background: #fff; }
.phoneCountryControl[data-phone-country-ready] [data-phone-country-value] { position: absolute; inset: 0 26px 0 10px; display: flex; align-items: center; color: #231916; font-size: 15px; white-space: nowrap; pointer-events: none; }
.phoneCountryControl[data-phone-country-ready]::after { content: ""; position: absolute; right: 12px; top: 22px; width: 6px; height: 6px; border-right: 1.5px solid #231916; border-bottom: 1.5px solid #231916; transform: rotate(45deg); pointer-events: none; }
.phoneNumberField .phoneNationalNumber { flex: 1 1 auto; min-width: 0; }
.phoneNumberField [aria-invalid="true"] { border-color: #d8561d; }
@media (max-width: 420px) {
    .phoneCountryControl { flex-basis: 104px; width: 104px; }
}
@media (forced-colors: active) {
    .phoneCountryControl[data-phone-country-ready] .phoneCountry { appearance: auto; color: FieldText; -webkit-text-fill-color: FieldText; }
    .phoneCountryControl[data-phone-country-ready] [data-phone-country-value], .phoneCountryControl[data-phone-country-ready]::after { display: none; }
}

.authInput {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #cfcac7;
    border-radius: 0;
    background: #fff;
    color: #231916;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .authInput:focus {
        border-color: #4c8fe0;
        box-shadow: 0 0 0 3px rgba(76, 143, 224, 0.12);
    }

.authOtpFields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.authOtpFields[hidden] { display: none; }
.authOtpDigit { min-width: 0; height: auto; min-height: 44px; max-height: 66px; aspect-ratio: 1; padding: 0; text-align: center; font-size: 26px; font-weight: 600; caret-color: #4c8fe0; }
.authOtpDigit[aria-invalid="true"] { border-color: #d8561d; }

.authFieldError {
    display: block;
    margin-top: 7px;
    color: #d8561d;
    font-size: 12px;
}

.authButton {
    display: inline-flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    background: #d8561d;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .authButton:hover {
        background: #bf4818;
    }

    .authButton:active {
        transform: translateY(1px);
    }

    .authButton[disabled] {
        cursor: default;
        opacity: 0.5;
    }

.authButtonSecondary {
    background: transparent;
    border: 1px solid #231916;
    color: #231916;
}

    .authButtonSecondary:hover {
        background: #231916;
        color: #fff;
    }

.authHint {
    margin-top: 20px;
    color: #756c68;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.authPhone {
    margin: 20px 0 28px;
    padding: 16px;
    background: #f5f3f1;
    text-align: center;
}

.authPhoneLabel {
    display: block;
    margin-bottom: 4px;
    color: #746b67;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.authPhoneValue {
    font-size: 17px;
    font-weight: 600;
}

.authResend {
    margin-top: 16px;
}

    .authResend form {
        margin: 0;
    }

.authResendInfo {
    margin-top: 12px;
    color: #746b67;
    font-size: 12px;
    text-align: center;
}

.authChangePhone { display: block; width: fit-content; min-height: 44px; margin: 20px auto 0; padding: 10px 14px; box-sizing: border-box; }

.authSteps {
    display: flex;
    margin: 0 0 38px;
    padding: 0;
    gap: 8px;
}

.authStep {
    height: 5px;
    flex: 1;
    background: #ddd8d5;
}

.authStepActive {
    background: #4c8fe0;
}

.authStepDone {
    background: #231916;
}

.authSecureInfo {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #ece8e5;
    color: #746b67;
    font-size: 12px;
    line-height: 1.6;
}

.authSecureIcon {
    flex: 0 0 auto;
    margin-top: 1px;
}

@media (max-width: 640px) {
    .authMain {
        padding: 35px 15px 70px;
    }

    .authCard {
        padding: 34px 24px;
    }

    .authCardHeader h1 {
        font-size: 28px;
    }
}
