.auth-screen {
    align-items: center;
    justify-content: center;
    padding: 32px 16px 48px;
}

.auth-register {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.auth-card {
    max-width: 560px;
}

.auth-header-cta {
    text-decoration: none;
}

.auth-country-note {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 600;
}

.auth-country-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-country-pill {
    min-width: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 14px;
    background: #ede9fe;
    color: var(--dark-p);
    font-size: 15px;
    font-weight: 800;
    border: 1.5px solid rgba(124, 58, 237, 0.16);
}

.auth-ltr-content {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.auth-country-select {
    appearance: none;
    cursor: pointer;
    flex: 1;
}

.auth-phone-input {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.auth-phone-row {
    align-items: stretch;
}

.auth-inline-hint {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.auth-register-note {
    margin: 2px 0 0;
    color: var(--primary);
    font-weight: 800;
}

.auth-otp-input {
    text-align: center;
    letter-spacing: 0.45em;
    font-size: 24px;
    font-weight: 800;
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.auth-submit {
    margin-top: 12px;
}

.auth-entry-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: center;
    margin: 8px 0 4px;
}

.auth-entry-switch__note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.auth-entry-switch__link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.auth-entry-switch__link:hover {
    text-decoration: underline;
}

.message {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.preview-message {
    color: #7c2d12;
    background: #fef3c7;
}

.error-message {
    color: #be123c;
    background: #ffe4e6;
}

.success-message {
    color: #047857;
    background: #d1fae5;
}

.btn-primary[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .auth-country-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-country-pill {
        width: 100%;
    }

    .auth-submit {
        position: sticky;
        bottom: 12px;
        z-index: 5;
        box-shadow: 0 14px 28px rgba(124, 58, 237, 0.18);
    }
}

@media (max-width: 480px) {
    .auth-screen {
        padding: 20px 12px 36px;
    }

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

    .auth-otp-input {
        font-size: 20px;
        letter-spacing: 0.35em;
    }
}
