.auth-page {
    background: #f4f1eb;
}

.auth-shell {
    display: flex;
    min-height: 100vh;
}

.auth-visual {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 48px 48px 40px;
    background: var(--cnc-navy);
}

.auth-visual__orb,
.auth-visual__ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-visual__orb {
    opacity: 0.12;
    transform: translate(-50%, -50%);
}

.auth-visual__orb--flow {
    left: 15%;
    top: 22%;
    width: 120px;
    height: 120px;
    background: #7CA9BF;
}

.auth-visual__orb--surrendered {
    left: 62%;
    top: 14%;
    width: 140px;
    height: 140px;
    background: #8B7AB3;
}

.auth-visual__orb--organic {
    left: 38%;
    top: 48%;
    width: 160px;
    height: 160px;
    background: #7AAF84;
}

.auth-visual__orb--nowness {
    left: 10%;
    top: 62%;
    width: 180px;
    height: 180px;
    background: #B36E6E;
}

.auth-visual__orb--birthday {
    left: 68%;
    top: 58%;
    width: 200px;
    height: 200px;
    background: #C4895A;
}

.auth-visual__ring--large {
    right: -100px;
    bottom: -100px;
    width: 500px;
    height: 500px;
    border: 60px solid rgba(255,255,255,0.04);
}

.auth-visual__ring--small {
    right: -40px;
    bottom: -40px;
    width: 320px;
    height: 320px;
    border: 40px solid rgba(255,255,255,0.05);
}

.auth-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.auth-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    position: relative;
}

.auth-brand__mark::before,
.auth-brand__mark::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1.5px solid rgba(255,255,255,0.9);
    border-radius: 50%;
}

.auth-brand__mark::after {
    inset: 12px;
}

.auth-brand__wordmark {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.auth-quote-block {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.auth-quote {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: 30px;
    font-style: italic;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.auth-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-pill--flow { background: #7CA9BF; }
.auth-pill--surrendered { background: #8B7AB3; }
.auth-pill--organic { background: #7AAF84; }
.auth-pill--nowness { background: #B36E6E; }
.auth-pill--birthday { background: #C4895A; }

.auth-panel {
    width: 480px;
    flex: 0 0 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 56px;
    background: #fff;
    box-shadow: var(--shadow-panel);
}

.auth-panel__inner {
    width: 100%;
}

.auth-card {
    display: none;
    animation: authFadeUp 0.4s ease both;
}

.auth-card.is-active {
    display: block;
}

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

.auth-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--cnc-navy);
}

.auth-title--sent {
    font-size: 38px;
}

.auth-subtitle {
    margin: 0 0 32px;
    font-size: 15px;
    color: #888;
}

.auth-subtitle--sent {
    margin-bottom: 8px;
}

.auth-banner {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-banner--error {
    color: #7a1a1a;
    background: #fde8e8;
    border: 1px solid #f6caca;
}

.auth-banner--info {
    color: #2b3a4a;
    background: #f9f6f0;
    border: 1px solid #ece4d6;
}

.social-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.social-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid #e0dcd6;
    border-radius: 10px;
    background: #fff;
    color: var(--cnc-navy);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: not-allowed;
    opacity: 0.78;
}

.social-button__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.social-button__icon--google {
    color: #4285F4;
    background: rgba(66,133,244,0.08);
}

.social-button__icon--facebook {
    color: #1877F2;
    background: rgba(24,119,242,0.08);
    text-transform: lowercase;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #bbb;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #e5e1db;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(43,58,74,0.72);
}

.field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: var(--cnc-navy);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--cnc-navy);
    box-shadow: 0 0 0 3px rgba(43,58,74,0.08);
}

.form-field input.has-error {
    border-color: var(--cnc-danger);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 72px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8f8f8f;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength__bar {
    display: inline-flex;
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: #e5e1db;
    overflow: hidden;
    position: relative;
}

.password-strength__bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--strength-width, 20%);
    background: var(--strength-color, #e05c5c);
    border-radius: inherit;
    transition: width 0.18s ease, background 0.18s ease;
}

.password-strength__label {
    font-size: 12px;
    color: #777;
}

.field-error {
    margin: 0;
    font-size: 12px;
    color: var(--cnc-danger);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border-radius: 40px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-primary {
    border: 0;
    background: var(--cnc-navy);
    color: #fff;
}

.btn-secondary {
    border: 1.5px solid var(--cnc-border);
    background: #fff;
    color: var(--cnc-navy);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(43,58,74,0.55);
    font-size: 13px;
    cursor: pointer;
}

.link-button--strong {
    color: var(--cnc-navy);
    font-weight: 600;
    font-size: 14px;
}

.back-button {
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
}

.auth-helper-note,
.auth-legal-copy,
.auth-switch-copy,
.auth-email-sent {
    line-height: 1.6;
}

.auth-helper-note {
    margin: 0;
    font-size: 13px;
    color: #8a8a8a;
}

.auth-helper-note--sent {
    margin-bottom: 32px;
}

.auth-legal-copy {
    margin: 16px 0 0;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

.auth-legal-copy a {
    color: var(--cnc-navy);
}

.auth-switch-copy {
    margin: 24px 0 0;
    font-size: 14px;
    color: #888;
    text-align: center;
}

.auth-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: var(--cnc-accent);
    font-size: 32px;
}

.auth-email-sent {
    margin: 0 0 28px;
    font-size: 15px;
    font-weight: 700;
    color: var(--cnc-navy);
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .auth-shell {
        flex-direction: column;
    }

    .auth-visual {
        min-height: 340px;
    }

    .auth-panel {
        width: 100%;
        flex-basis: auto;
        box-shadow: none;
    }
}

@media (max-width: 680px) {
    .auth-visual {
        padding: 28px 24px 24px;
        min-height: 280px;
    }

    .auth-quote {
        font-size: 24px;
    }

    .auth-panel {
        padding: 40px 22px;
    }

    .form-grid--two {
        grid-template-columns: 1fr;
    }

    .auth-title,
    .auth-title--sent {
        font-size: 34px;
    }
}

/* Social-button anchor enabled state — 2026-05-08 */
a.social-button {
    cursor: pointer;
    opacity: 1;
}
a.social-button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}