/* ==========================================================================
   Login page — unique page-specific components.
   Design blueprint: the actual form fields will be Ultimate Member's
   shortcode output, restyled to match this exact look.
   ========================================================================== */
body.auth-body { overflow-x: hidden; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .auth-split { grid-template-columns: 1fr; } }

/* ---- Left panel: animated dashboard preview teaser ---- */
.auth-panel { position: relative; background: var(--bg-alt); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) { .auth-panel { min-height: 280px; padding-bottom: 3rem; } }
.auth-panel__brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2.5rem; }
.auth-panel__brand img { height: 32px; width: 32px; }
.auth-panel__brand span { font-weight: 700; font-size: 1.1rem; color: var(--white); }
.auth-panel__heading { position: relative; z-index: 2; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 16ch; margin-bottom: 0.75rem; }
.auth-panel__sub { position: relative; z-index: 2; color: var(--muted); max-width: 34ch; margin-bottom: 2.5rem; }

.dash-preview { position: relative; z-index: 2; border: 1px solid var(--border-strong); border-radius: var(--radius); background: rgba(16,21,44,0.75); backdrop-filter: blur(6px); padding: 1.25rem; max-width: 380px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }
.dash-preview__row { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--border); opacity: 0; animation: dashRowIn 0.5s ease forwards; }
.dash-preview__row:last-child { border-bottom: none; }
.dash-preview__row:nth-child(1) { animation-delay: 0.2s; }
.dash-preview__row:nth-child(2) { animation-delay: 0.4s; }
.dash-preview__row:nth-child(3) { animation-delay: 0.6s; }
@keyframes dashRowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.dash-preview__name { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.dash-preview__service { font-size: 0.76rem; color: var(--muted); font-family: var(--font-mono); margin-top: 0.15rem; }
.dash-preview__badge { font-family: var(--font-mono); font-size: 0.68rem; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap; }
.dash-preview__badge--progress { background: rgba(91,124,255,0.16); color: #8FA4FF; }
.dash-preview__badge--review { background: rgba(250,184,44,0.16); color: var(--orange); }
.dash-preview__badge--live { background: rgba(23,166,115,0.16); color: var(--success); position: relative; }
.dash-preview__badge--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--success); margin-right: 0.4rem; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .dash-preview__row { opacity: 1; animation: none; } .dash-preview__badge--live::before { animation: none; } }

.auth-panel__glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 100% at 15% 85%, rgba(91,124,255,0.22), transparent 60%), radial-gradient(100% 100% at 85% 15%, rgba(250,184,44,0.16), transparent 60%); pointer-events: none; }

/* ---- Right panel: the form itself ---- */
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.auth-form { width: 100%; max-width: 380px; }
.auth-form__eyebrow { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.auth-form h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-top: 0.5rem; margin-bottom: 2rem; }

.field-float { position: relative; margin-bottom: 1.4rem; }
.field-float input { width: 100%; padding: 1.15rem 1.1rem 0.5rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-solid); color: var(--white); font-size: 1rem; font-family: var(--font-sans); }
.field-float input:focus { outline: none; border-color: var(--orange); }
.field-float label { position: absolute; left: 1.1rem; top: 1.15rem; color: var(--muted); font-size: 1rem; pointer-events: none; transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease; }
.field-float input:focus + label,
.field-float input:not(:placeholder-shown) + label { top: 0.45rem; font-size: 0.72rem; color: var(--orange); }
.field-float input::placeholder { color: transparent; }

.field-toggle { position: absolute; right: 1rem; top: 1.05rem; background: none; border: none; color: var(--muted); cursor: pointer; padding: 0.2rem; }
.field-toggle svg { width: 19px; height: 19px; }

.auth-form__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: 0.88rem; }
.auth-form__row a { color: var(--muted); }
.auth-form__row a:hover { color: var(--orange); }
.auth-form .btn { width: 100%; justify-content: center; }
.auth-form__switch { text-align: center; margin-top: 1.75rem; font-size: 0.92rem; color: var(--muted); }
.auth-form__switch a { color: var(--white); font-weight: 600; }
