/**
 * Signup page — layout overrides (shared styles in auth-pro.css).
 */

@media (min-width: 901px) {
    .auth-split.auth-split--signup {
        grid-template-columns: minmax(300px, 36%) 1fr;
    }

    .auth-split--signup .auth-split-brand,
    .auth-split--signup .auth-split-form {
        width: auto;
        max-width: none;
        -webkit-box-flex: initial;
        -ms-flex: initial;
        flex: initial;
    }
}

.auth-split--signup .auth-form-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0.25rem;
}

.auth-split--signup .auth-split-form {
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    overflow: hidden;
}

.auth-split--signup .auth-brand-content {
    max-width: 400px;
}

.auth-start-mode-hint--spaced {
    margin-top: 0.35rem;
    font-size: 0.72rem;
}

.auth-pro-grid--plan {
    margin-top: 0.5rem;
}

/* Billing / pay-with section — match compact auth-pro form */
.auth-pro-fieldset--billing {
    margin-bottom: 0.8rem;
}

.auth-pro-grid--billing {
    gap: 0.55rem;
}

.auth-page--signup .auth-signup-billing-toggle.pricing-billing-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0.22rem;
    background: #f1f5f9;
    border: none;
    border-radius: 11px;
    box-shadow: none;
}

.auth-page--signup .auth-signup-billing-toggle .pricing-billing-toggle-btn {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 9px;
    color: var(--auth-muted, #64748b);
}

.auth-page--signup .auth-signup-billing-toggle .pricing-billing-toggle-btn.active {
    background: var(--auth-navy, #1f3a5f);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.auth-page--signup .auth-signup-billing-toggle .pricing-save-badge {
    font-size: 0.58rem;
    padding: 0.1rem 0.35rem;
    margin-left: 0.2rem;
}

.auth-page--signup .auth-signup-currency.currency-smart-view {
    max-width: none;
    margin: 0;
}

.auth-page--signup .auth-signup-currency .currency-smart-bar {
    gap: 0;
}

.auth-page--signup .auth-signup-currency .currency-smart-bar-label {
    display: none;
}

.auth-page--signup .auth-signup-currency-wrap label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
}

.auth-page--signup .auth-signup-currency .currency-smart-trigger {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--auth-input-border, #d8dee6);
    border-radius: 10px;
    background: #fff;
    gap: 0.55rem;
}

.auth-page--signup .auth-signup-currency .currency-smart-trigger:hover,
.auth-page--signup .auth-signup-currency .currency-smart-trigger[aria-expanded="true"] {
    border-color: var(--auth-teal, #2f8f9d);
    box-shadow: 0 0 0 3px rgba(47, 143, 157, 0.12);
}

.auth-page--signup .auth-signup-currency .currency-smart-trigger-symbol {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    font-size: 0.88rem;
    background: rgba(47, 143, 157, 0.1);
    color: var(--auth-teal, #2f8f9d);
}

.auth-page--signup .auth-signup-currency .currency-smart-trigger-text strong {
    font-size: 0.86rem;
}

.auth-page--signup .auth-signup-currency .currency-smart-trigger-text span {
    font-size: 0.72rem;
}

.auth-page--signup .auth-signup-currency .currency-smart-chevron {
    font-size: 0.68rem;
}

.auth-page--signup .auth-signup-currency .currency-smart-footnote {
    display: none;
}

.auth-page--signup .auth-signup-billing-toggle {
    margin-top: 0;
}

.auth-page--signup .auth-signup-interval-wrap label {
    margin-bottom: 0.25rem;
    font-size: 0.76rem;
}

.auth-page--signup .auth-password-strength {
    margin-top: 0.2rem;
}

.auth-page--signup .auth-industry-banner {
    margin-bottom: 0.55rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
    border-radius: 8px;
    background: rgba(31, 58, 95, 0.05);
    border: 1px solid rgba(31, 58, 95, 0.08);
}

.auth-signup-success {
    text-align: center;
    padding: 0.75rem 0;
}

.auth-signup-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    /* Form first on mobile so "Create your workspace" is above the fold */
    .auth-split--signup .auth-split-form {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        padding: 0.85rem 0.85rem 1.5rem;
        overflow: visible;
    }

    .auth-split--signup .auth-split-brand {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        padding: 1.35rem 1.25rem 1.75rem;
    }

    .auth-split--signup .auth-form-shell {
        max-width: none;
        padding: 0;
    }

    .auth-split--signup .auth-pro-topbar {
        margin-bottom: 0.75rem;
    }

    .auth-split--signup .auth-brand-stats,
    .auth-split--signup .auth-split-link {
        display: none;
    }

    .auth-split--signup .auth-split-features li:nth-child(n+3) {
        display: none;
    }

    .auth-split--signup .auth-pro-brand h2,
    .auth-split--signup .auth-split-brand h2 {
        font-size: 1.35rem;
        margin: 0.55rem 0 0.4rem;
    }

    .auth-split--signup .auth-brand-content > p {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }

    .auth-split--signup .auth-pro-eyebrow,
    .auth-split--signup .auth-eyebrow {
        margin-top: 0.5rem;
    }

    .auth-split--signup .auth-card--signup {
        padding: 1.25rem 1.1rem 1.15rem;
    }
}

@media (min-width: 901px) and (max-height: 960px) {
    .auth-split--signup .auth-form-shell {
        -webkit-transform: scale(0.96);
        transform: scale(0.96);
        -webkit-transform-origin: center center;
        transform-origin: center center;
    }
}
