/* =====================================================================
   Notion Chat — Auth pages
   ===================================================================== */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .auth-shell { grid-template-columns: 1.1fr 1fr; }
}

/* Hero "night" band — the single dark island */
.auth-hero {
    background: var(--color-secondary);
    color: #fff;
    padding: var(--space-xxl) var(--space-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 240px;
}
@media (min-width: 900px) {
    .auth-hero { padding: var(--space-xxl) clamp(40px, 6vw, 96px); }
}
.auth-hero__inner { position: relative; z-index: 2; max-width: 520px; }
.auth-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    line-height: var(--lh-display-2);
    letter-spacing: var(--ls-display-2);
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.auth-hero p {
    font-size: var(--fs-body-md);
    color: rgba(255,255,255,0.82);
    line-height: var(--lh-body-md);
}

/* Glowing sticker constellations */
.auth-hero::before, .auth-hero::after {
    content: "";
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(1px);
    opacity: .9;
}
.auth-hero::before {
    width: 160px; height: 160px;
    background: radial-gradient(circle at 30% 30%, var(--accent-pink), transparent 70%);
    top: -40px; right: -20px;
}
.auth-hero::after {
    width: 240px; height: 240px;
    background: radial-gradient(circle at 50% 50%, var(--accent-sky), transparent 70%);
    bottom: -80px; left: -40px;
    opacity: .55;
}
.auth-stickers { display: flex; gap: var(--space-sm); margin-top: var(--space-lg); position: relative; z-index: 2; }
.auth-stickers span {
    width: 40px; height: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.stk-purple { background: var(--accent-purple); }
.stk-pink   { background: var(--accent-pink); }
.stk-orange { background: var(--accent-orange); }
.stk-teal   { background: var(--accent-teal); }
.stk-green  { background: var(--accent-green); }
.stk-sky    { background: var(--accent-sky); }

/* Form side */
.auth-form-wrap {
    background: var(--color-canvas-soft);
    padding: var(--space-xxl) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-surface);
    border: 1px solid var(--color-hairline);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-1);
}
.auth-card__brand {
    display: flex; align-items: center; gap: var(--space-xs);
    font-weight: 700; letter-spacing: var(--ls-heading-3);
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-heading-3);
}
.auth-card__brand-mark {
    width: 28px; height: 28px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
}
.auth-card h2 {
    font-size: var(--fs-heading-1);
    font-weight: 700;
    letter-spacing: var(--ls-heading-1);
    margin-bottom: var(--space-xs);
    line-height: 1.1;
}
.auth-card__subtitle {
    color: var(--color-ink-muted);
    margin-bottom: var(--space-lg);
}
.auth-card__footer {
    margin-top: var(--space-lg);
    text-align: center;
    color: var(--color-ink-muted);
    font-size: var(--fs-caption);
}
.auth-card__footer a { font-weight: 500; }

.form-flash {
    background: rgba(221,91,0,0.08);
    border: 1px solid rgba(221,91,0,0.25);
    color: var(--accent-orange-deep);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--fs-caption);
    margin-bottom: var(--space-md);
}
.form-flash--ok {
    background: rgba(26,174,57,0.08);
    border-color: rgba(26,174,57,0.25);
    color: #117a29;
}
