/**
 * IValert Auth Pages - Registration & Checkout
 * High-quality auth flow styling
 * v1.1.0 - Accessibility improvements
 */

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #00c896);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    z-index: 9999;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ==========================================================================
   AUTH LAYOUT
   ========================================================================== */

.auth {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 50%, #0d1219 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.auth::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Glow accent */
.auth::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(0, 200, 150, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* ==========================================================================
   AUTH CONTAINER
   ========================================================================== */

.auth__container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

/* Single column on mobile, split on desktop */
@media (min-width: 1024px) {
    .auth__container {
        padding: 60px 40px;
    }
}

/* Centered variant - form only, no sidebar */
.auth--centered {
    align-items: center;
    justify-content: center;
}

.auth__container--centered {
    max-width: 480px;
    justify-content: center;
}

.auth__container--centered .auth__main {
    max-width: 100%;
    padding-right: 0;
}

/* ==========================================================================
   AUTH MAIN (Form Side)
   ========================================================================== */

.auth__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .auth__main {
        margin: 0;
        padding-right: 60px;
    }
}

/* ==========================================================================
   AUTH SIDEBAR (Visual Side)
   ========================================================================== */

.auth__sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .auth__sidebar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        padding-left: 60px;
        border-left: 1px solid rgba(255,255,255,0.08);
    }
}

/* ==========================================================================
   AUTH LOGO
   ========================================================================== */

.auth__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 40px;
}

.auth__logo-icon {
    color: var(--primary, #00c896);
}

/* ==========================================================================
   AUTH CARD
   ========================================================================== */

.auth__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
    .auth__card {
        padding: 40px;
    }
}

/* ==========================================================================
   AUTH HEADER
   ========================================================================== */

.auth__header {
    text-align: center;
    margin-bottom: 32px;
}

.auth__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 200, 150, 0.15);
    border: 1px solid rgba(0, 200, 150, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary, #00c896);
    margin-bottom: 16px;
}

.auth__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.auth__subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   AUTH FORM
   ========================================================================== */

.auth__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Row (for side-by-side fields) */
.auth__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .auth__form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Group */
.auth__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Labels */
.auth__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Inputs */
.auth__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: border-color 0.2s, background-color 0.2s;
}

.auth__input::placeholder {
    color: rgba(255, 255, 255, 0.5); /* WCAG AA compliant */
}

.auth__input:focus {
    outline: none;
    border-color: var(--primary, #00c896);
    background: rgba(255, 255, 255, 0.08);
}

.auth__input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Input error state */
.auth__input--error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   PASSWORD INPUT WITH TOGGLE
   ========================================================================== */

.auth__password-wrap {
    position: relative;
}

.auth__password-wrap .auth__input {
    padding-right: 50px;
}

.auth__password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.auth__password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.auth__password-toggle:focus {
    outline: 2px solid var(--primary, #00c896);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   PASSWORD STRENGTH METER
   ========================================================================== */

.auth__password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.auth__strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: background-color 0.3s;
}

.auth__strength-bar.active.weak {
    background: #ef4444;
}

.auth__strength-bar.active.medium {
    background: #f59e0b;
}

.auth__strength-bar.active.strong {
    background: var(--primary, #00c896);
}

.auth__strength-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

/* ==========================================================================
   FORM ERROR MESSAGE
   ========================================================================== */

.auth__error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
}

/* ==========================================================================
   CHECKBOX / TERMS
   ========================================================================== */

.auth__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth__checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary, #00c896);
    cursor: pointer;
}

.auth__checkbox:focus {
    outline: 2px solid var(--primary, #00c896);
    outline-offset: 2px;
}

.auth__checkbox-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.auth__checkbox-label a {
    color: var(--primary, #00c896);
    text-decoration: none;
}

.auth__checkbox-label a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   AUTH BUTTON
   ========================================================================== */

.auth__submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #0a0f1a;
    background: var(--primary, #00c896);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth__submit:hover:not(:disabled) {
    opacity: 0.9;
}

.auth__submit:active:not(:disabled) {
    transform: scale(0.98);
}

.auth__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading spinner in button */
.auth__submit .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(10, 15, 26, 0.3);
    border-top-color: #0a0f1a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   AUTH FOOTER LINKS
   ========================================================================== */

.auth__footer {
    text-align: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.auth__footer a {
    color: var(--primary, #00c896);
    font-weight: 600;
    text-decoration: none;
}

.auth__footer a:hover {
    text-decoration: underline;
}

.auth__toggle-plan {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6); /* WCAG AA compliant */
    font-size: 0.85rem;
    text-align: center;
}

.auth__toggle-plan a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ==========================================================================
   TRUST INDICATORS
   ========================================================================== */

.auth__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.auth__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.auth__trust-item svg {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   SIDEBAR CONTENT
   ========================================================================== */

.auth__testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.auth__testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px 0;
    font-style: italic;
}

.auth__testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth__testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #00c896), #00a67e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.auth__testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth__testimonial-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.auth__testimonial-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Features List */
.auth__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.auth__feature-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(0, 200, 150, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #00c896);
}

/* ==========================================================================
   CHECKOUT-SPECIFIC STYLES
   ========================================================================== */

/* Progress Steps */
.auth__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.auth__step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.auth__step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.auth__step--completed .auth__step-number {
    background: var(--primary, #00c896);
    border-color: var(--primary, #00c896);
    color: #0a0f1a;
}

.auth__step--completed {
    color: var(--primary, #00c896);
}

.auth__step--active .auth__step-number {
    border-color: var(--primary, #00c896);
    color: var(--primary, #00c896);
}

.auth__step--active {
    color: #fff;
}

.auth__step-divider {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.auth__step-divider--completed {
    background: var(--primary, #00c896);
}

/* Plan Selection */
.auth__plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.auth__plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.auth__plan:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.auth__plan--selected {
    border-color: var(--primary, #00c896);
    background: rgba(0, 200, 150, 0.08);
}

.auth__plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth__plan-check {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background-color 0.2s;
}

.auth__plan--selected .auth__plan-check {
    background: var(--primary, #00c896);
    border-color: var(--primary, #00c896);
}

.auth__plan-check svg {
    width: 12px;
    height: 12px;
    color: #0a0f1a;
    opacity: 0;
    transition: opacity 0.2s;
}

.auth__plan--selected .auth__plan-check svg {
    opacity: 1;
}

.auth__plan-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.auth__plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth__plan-name {
    font-weight: 600;
    color: #fff;
}

.auth__plan-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth__plan-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.auth__plan-period {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.auth__plan-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 10px;
    background: var(--primary, #00c896);
    color: #0a0f1a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Order Summary */
.auth__summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.auth__summary-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.auth__summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth__summary-row:last-child {
    border-bottom: none;
}

.auth__summary-label {
    color: rgba(255, 255, 255, 0.6);
}

.auth__summary-value {
    font-weight: 500;
    color: #fff;
}

.auth__summary-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    padding-top: 16px;
}

.auth__summary-total .auth__summary-label {
    font-weight: 600;
    color: #fff;
}

.auth__summary-total .auth__summary-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.auth__savings {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--primary, #00c896);
    text-align: center;
}

/* PayPal Container */
.auth__paypal {
    margin-bottom: 24px;
}

.auth__paypal-loading {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* Trust Badges for Checkout */
.auth__guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 640px) {
    .auth__guarantees {
        grid-template-columns: 1fr;
    }
}

.auth__guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.auth__guarantee-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #00c896);
}

.auth__guarantee-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Back Link */
.auth__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.auth__back:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Security Footer */
.auth__security {
    text-align: center;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth__security-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth__terms {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

.auth__terms a {
    color: var(--primary, #00c896);
    text-decoration: none;
}

/* Alert Messages */
.auth__alert {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth__alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.auth__alert--warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #fcd34d;
}

.auth__alert--success {
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.2);
    color: var(--primary, #00c896);
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 767px) {
    /* Auth container - tighter padding */
    .auth__container {
        padding: 24px 16px;
    }

    /* Logo smaller on mobile */
    .auth__logo {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    /* Card - reduced padding */
    .auth__card {
        padding: 20px;
        border-radius: 12px;
    }

    /* Header - smaller text */
    .auth__header {
        margin-bottom: 24px;
    }

    .auth__title {
        font-size: 1.5rem;
    }

    .auth__subtitle {
        font-size: 0.9rem;
    }

    /* Form gaps */
    .auth__form {
        gap: 16px;
    }

    /* Inputs - ensure 16px for iOS zoom prevention */
    .auth__input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom */
        border-radius: 8px;
    }

    /* Labels */
    .auth__label {
        font-size: 0.8rem;
    }

    /* Password toggle - ensure touch target */
    .auth__password-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    /* Checkbox - larger touch target */
    .auth__checkbox {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .auth__checkbox-label {
        font-size: 0.85rem;
    }

    /* Submit button - ensure touch target */
    .auth__submit {
        padding: 14px 20px;
        min-height: 48px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    /* Trust indicators - stack on very small screens */
    .auth__trust {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .auth__trust-item {
        font-size: 0.7rem;
    }

    /* Progress steps - compact */
    .auth__progress {
        gap: 4px;
        margin-bottom: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth__step {
        font-size: 0.75rem;
        gap: 4px;
    }

    .auth__step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .auth__step-divider {
        width: 20px;
    }

    /* Plan cards - better mobile layout */
    .auth__plan {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .auth__plan-content {
        width: 100%;
        gap: 12px;
    }

    .auth__plan-check {
        width: 20px;
        height: 20px;
    }

    .auth__plan-info {
        flex: 1;
    }

    .auth__plan-name {
        font-size: 0.95rem;
    }

    .auth__plan-desc {
        font-size: 0.75rem;
    }

    .auth__plan-price {
        font-size: 1.1rem;
        width: 100%;
        text-align: right;
        margin-top: -8px;
    }

    .auth__plan-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -6px;
        right: 10px;
    }

    /* Order summary */
    .auth__summary {
        padding: 16px;
        border-radius: 10px;
    }

    .auth__summary-title {
        font-size: 0.75rem;
    }

    .auth__summary-row {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    .auth__summary-total .auth__summary-value {
        font-size: 1.1rem;
    }

    /* Guarantees - single column */
    .auth__guarantees {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .auth__guarantee {
        flex-direction: row;
        text-align: left;
        padding: 12px;
    }

    .auth__guarantee-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    /* Sidebar testimonial (if visible) */
    .auth__testimonial {
        padding: 20px;
        margin-bottom: 20px;
    }

    .auth__testimonial-quote {
        font-size: 1rem;
    }

    /* Features list */
    .auth__features {
        gap: 12px;
    }

    .auth__feature {
        font-size: 0.9rem;
    }

    /* Footer links */
    .auth__footer {
        font-size: 0.85rem;
    }

    /* Back link */
    .auth__back {
        font-size: 0.8rem;
    }

    /* Security footer */
    .auth__security {
        font-size: 0.75rem;
    }

    .auth__terms {
        font-size: 0.7rem;
    }
}

/* Extra small screens (320px) */
@media (max-width: 360px) {
    .auth__container {
        padding: 16px 12px;
    }

    .auth__card {
        padding: 16px;
    }

    .auth__title {
        font-size: 1.35rem;
    }

    .auth__plan {
        padding: 12px;
    }

    .auth__progress {
        gap: 2px;
    }

    .auth__step span:not(.auth__step-number) {
        display: none; /* Hide text labels, show only numbers */
    }
}
