/* ================================================================
   Auth Pages — Split-Screen Layout
   Used by: login, register, verify, passwords/email, passwords/reset
   ================================================================ */

/* ── Split wrapper ── */
.auth-split {
    display: flex;
    min-height: calc(100vh - 140px);
}

/* ── Left: Branding panel ── */
.auth-brand {
    display: none;
    width: 42%;
    padding: 60px 48px;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .auth-brand { display: flex; }
}

/* Variant colours */
.auth-brand.variant-rose {
    background: linear-gradient(145deg, #be185d 0%, #e11d48 55%, #f97316 100%);
}
.auth-brand.variant-violet {
    background: linear-gradient(145deg, #7c3aed 0%, #db2777 60%, #e11d48 100%);
}

.auth-brand::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.auth-brand-content { position: relative; z-index: 1; }

.auth-brand h1 {
    font-size: 2.1rem; font-weight: 800; color: #fff;
    line-height: 1.2; margin: 0 0 12px;
}
.auth-brand > .auth-brand-content > p {
    color: rgba(255,255,255,.8); font-size: .95rem;
    line-height: 1.7; margin: 0 0 32px;
}

.auth-feature {
    display: flex; align-items: center;
    gap: 14px; margin-bottom: 18px;
}
.auth-feature-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(255,255,255,.15); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.auth-feature-icon svg { width: 22px; height: 22px; color: #fff; }
.auth-feature-text strong { display: block; color: #fff; font-size: .92rem; font-weight: 600; }
.auth-feature-text span   { color: rgba(255,255,255,.75); font-size: .8rem; }

.auth-brand-badge {
    margin-top: 36px;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px; padding: 8px 18px;
    color: #fff; font-size: .82rem; font-weight: 600;
}

.auth-stat-row { display: flex; gap: 16px; margin-top: 36px; }
.auth-stat {
    flex: 1; text-align: center;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px; padding: 14px 10px;
}
.auth-stat strong { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; }
.auth-stat span   { font-size: .72rem; color: rgba(255,255,255,.75); }

/* ── Right: Form panel ── */
.auth-form-panel {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 24px;
    background: #fdf2f8;
    overflow-y: auto;
}
.auth-form-box { width: 100%; max-width: 460px; }

/* ── Account-switch CTA (replaces plain text link) ── */
.auth-switch-cta {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff;
    border: 1.5px solid #f9a8d4;
    border-radius: 14px;
    padding: 10px 14px 10px 16px;
    margin-bottom: 26px;
    gap: 12px;
}
.auth-switch-cta .switch-label {
    font-size: .83rem; color: #6b7280; line-height: 1.35;
}
.auth-switch-cta .switch-label strong {
    display: block; color: #1f2937; font-weight: 700; font-size: .88rem;
}
.auth-switch-btn {
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 8px 16px;
    background: linear-gradient(135deg, #db2777, #e11d48);
    color: #fff; font-weight: 700; font-size: .82rem;
    border-radius: 9px; text-decoration: none;
    transition: .2s; flex-shrink: 0;
}
.auth-switch-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.auth-switch-btn svg  { width: 14px; height: 14px; }

/* Register variant — violet gradient */
.auth-switch-btn.violet {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

/* ── Page heading ── */
.auth-kicker {
    font-size: .8rem; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; margin: 0 0 5px;
}
.auth-kicker.rose   { color: #db2777; }
.auth-kicker.violet { color: #7c3aed; }

.auth-page-title    { font-size: 1.65rem; font-weight: 800; color: #1f2937; margin: 0 0 20px; }

/* ── Inputs ── */
.auth-input-group { margin-bottom: 14px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-grid-2 { grid-template-columns: 1fr; } }

.auth-input-group label {
    display: block; font-size: .82rem; font-weight: 600;
    color: #374151; margin-bottom: 5px;
}
.auth-input-wrap  { position: relative; }
.auth-input-wrap svg {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%);
    width: 17px; height: 17px; color: #9ca3af; pointer-events: none;
}
.auth-input {
    width: 100%; padding: 10px 12px 10px 38px;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    font-size: .9rem; color: #1f2937; background: #fff;
    transition: .2s; outline: none; box-sizing: border-box;
}
.auth-input:focus  { border-color: #db2777; box-shadow: 0 0 0 3px #fce7f380; }
.auth-input.error  { border-color: #ef4444; }
.auth-error { font-size: .75rem; color: #ef4444; margin-top: 4px; }
.auth-hint  { font-size: .72rem; color: #9ca3af; margin-top: 3px; }

/* ── Submit button ── */
.auth-submit {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, #db2777, #e11d48);
    color: #fff; font-weight: 700; font-size: .95rem;
    border: none; border-radius: 10px; cursor: pointer;
    transition: .2s; margin-top: 2px;
}
.auth-submit.violet {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}
.auth-submit:hover {
    opacity: .92; transform: translateY(-1px);
    box-shadow: 0 6px 20px #db277740;
}

/* ── Remember row ── */
.auth-remember {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px; font-size: .83rem;
}
.auth-remember label { display: flex; align-items: center; gap: 8px; color: #374151; cursor: pointer; }
.auth-remember a     { color: #db2777; font-weight: 600; text-decoration: none; }
.auth-remember a:hover { text-decoration: underline; }

/* ── Divider ── */
.auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 16px 0; color: #9ca3af; font-size: .83rem;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: #e5e7eb;
}

/* ── Google button ── */
.auth-google {
    width: 100%; display: flex; align-items: center;
    justify-content: center; gap: 10px; padding: 11px;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151; font-weight: 600;
    font-size: .88rem; cursor: pointer; transition: .2s; text-decoration: none;
}
.auth-google:hover { border-color: #db2777; background: #fdf2f8; }

/* ── Terms ── */
.auth-terms {
    font-size: .78rem; color: #6b7280; margin: 12px 0;
}
.auth-terms a { color: #db2777; font-weight: 600; text-decoration: none; }

/* ── Trust strip ── */
.auth-trust {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid #e5e7eb; text-align: center;
}
.auth-trust span {
    display: inline-flex; align-items: center; gap: 16px;
    color: #9ca3af; font-size: .75rem;
}
