.auth-page {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
    background: #f4f7fb;
    font-family: 'Inter', Arial, sans-serif;
}

.auth-page__marketing {
    flex: 1 1 50%;
    background: #FFFFFF;
    color: #182b49;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
}

.auth-page__form {
    flex: 1 1 50%;
    background: #F5F6FA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
}

.auth-card__logo {
    margin-bottom: 30px;
    text-align: center;
}

.auth-card__logo img {
    max-height: 90px;
}

.auth-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: #182b49;
    margin: 0 0 8px;
    text-align: center;
}

.auth-card__subtitle {
    color: #7a8699;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 30px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #45536b;
    margin-bottom: 8px;
}

.auth-field input[type="text"],
.auth-field input[type="tel"],
.auth-field input[type="password"] {
    width: 100%;
    height: 52px;
    border-radius: 10px;
    border: 1px solid #dde3ec;
    padding: 0 16px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fff;
}

.auth-field input:focus {
    outline: none;
    border-color: #15549a;
    box-shadow: 0 0 0 3px rgba(21, 84, 154, 0.12);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input[type="password"],
.auth-password-wrap input[type="text"] {
    padding-right: 44px;
}

.auth-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    color: #7a8699;
    cursor: pointer;
}

.auth-password-toggle:focus {
    outline: none;
}

.auth-phone-input {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    border: 1px solid #dde3ec;
    background: #fff;
    overflow: hidden;
}

.auth-phone-input:focus-within {
    border-color: #15549a;
    box-shadow: 0 0 0 3px rgba(21, 84, 154, 0.12);
}

.auth-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #45536b;
    background: #f4f7fb;
    border-right: 1px solid #dde3ec;
    white-space: nowrap;
}

.auth-phone-input input {
    flex: 1;
    height: 52px;
    border: none;
    padding: 0 16px;
    font-size: 16px;
    box-sizing: border-box;
    background: transparent;
    min-width: 0;
}

.auth-phone-input input:focus {
    outline: none;
}

.auth-field .validation-error-label {
    color: #e63946;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.auth-field__meta {
    text-align: right;
    margin: -4px 0 20px;
    font-size: 15px;
}

.auth-hint-text {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #7a8699;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 8px 0 0;
}

.auth-hint-text i {
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-field__meta a {
    color: #7a8699;
    text-decoration: underline;
}

.auth-field__meta a:hover {
    color: #15549a;
}

.auth-btn {
    width: 100%;
    height: 52px;
    border-radius: 10px;
    background: #2B4C8C;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-btn:hover {
    background: #0d3b73;
}

.auth-btn:disabled {
    background: #b7c3d6;
    cursor: not-allowed;
}

a.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.auth-card--center {
    text-align: center;
}

.auth-card__success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.auth-card__success-icon img {
    max-width: 100%;
    max-height: 100%;
}

.auth-card__footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #7a8699;
}

.auth-card__footer a {
    color: #7a8699;
    font-weight: 400;
    text-decoration: underline;
}

.auth-card__footer--accent a {
    color: #E30613;
}

/* Marketing carousel */
.auth-carousel {
    max-width: 380px;
}

.auth-carousel .item {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.auth-carousel__icon {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.auth-carousel__icon img {
    max-width: 100%;
    max-height: 100%;
}

.auth-carousel h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #182b49;
}

.auth-carousel p {
    font-size: 15px;
    line-height: 1.6;
    color: #5b6b85;
    margin: 0;
    max-width: 300px;
}

.auth-carousel .owl-pagination {
    text-align: center;
    margin-top: 36px;
}

.auth-carousel .owl-page span {
    background: #cdd6e5 !important;
}

.auth-carousel .owl-page.active span {
    background: #E30613 !important;
}

/* OTP input */
.otp-boxes {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-boxes input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid #dde3ec;
    box-sizing: border-box;
}

.otp-boxes input:focus {
    outline: none;
    border-color: #15549a;
    box-shadow: 0 0 0 3px rgba(21, 84, 154, 0.12);
}

.auth-card__phone-hint {
    text-align: center;
    color: #45536b;
    font-size: 14px;
    margin-bottom: 24px;
}

.otp-resend {
    text-align: center;
    font-size: 14px;
    color: #7a8699;
    margin-top: 18px;
}

.otp-resend button {
    background: none;
    border: none;
    color: #15549a;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.otp-resend button:disabled {
    color: #b7c3d6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .auth-page {
        flex-direction: column;
        min-height: auto;
    }

    .auth-page__marketing {
        display: none;
    }

    .auth-page__form {
        padding: 30px 20px;
        min-height: 100vh;
    }
}
/* Mobile onboarding overlay */
.mobile-onboarding {
    position: fixed;
    inset: 0;
    z-index: 2000000;
    background: #FFFFFF;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
}

.mobile-onboarding__skip {
    align-self: flex-end;
    background: none;
    border: none;
    color: #8A94A6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
}

.mobile-onboarding__slides {
    flex: 1;
    display: flex;
    align-items: center;
}

.mobile-onboarding__slides .item {
    display: flex;
    flex-direction: column;
    gap: 50px;

    margin-top: 50px;
    text-align: center;
    padding: 0 20px;
}

.mobile-onboarding__icon {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.mobile-onboarding__icon img {
    max-width: 100%;
    max-height: 100%;
}

.mobile-onboarding__slides h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mobile-onboarding__slides p {
    font-size: 16px;
    line-height: 150%;
    color: #8A94A6;
}

.mobile-onboarding__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
}

.mobile-onboarding__actions button.primary {
    width: 100%;
    height: 52px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    background: #2B4C8C;
    color: #FFFFFF;
    transition: background 0.2s ease;
}

.mobile-onboarding__actions button.primary.mobile-onboarding__continue--last {
    background: #E30613;
}

@media (min-width: 769px) {
    .mobile-onboarding {
        display: none !important;
    }
}
