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

.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; }
.auth-panel__glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 100% at 85% 15%, rgba(250,184,44,0.20), transparent 60%), radial-gradient(100% 100% at 15% 85%, rgba(91,124,255,0.18), transparent 60%); pointer-events: none; }

/* ---- Benefits checklist with sequential checkmark draw-in ---- */
.benefit-list { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.1rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.85rem; opacity: 0; animation: benefitIn 0.5s ease forwards; }
.benefit-item:nth-child(1) { animation-delay: 0.15s; }
.benefit-item:nth-child(2) { animation-delay: 0.35s; }
.benefit-item:nth-child(3) { animation-delay: 0.55s; }
.benefit-item:nth-child(4) { animation-delay: 0.75s; }
@keyframes benefitIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .benefit-item { opacity: 1; animation: none; } }
.benefit-item__check { width: 26px; height: 26px; border-radius: 50%; background: rgba(23,166,115,0.16); display: grid; place-items: center; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-item__check svg { width: 14px; height: 14px; color: var(--success); }
.benefit-item strong { display: block; color: var(--white); font-size: 0.96rem; }
.benefit-item span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }

/* ---- Form ---- */
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.auth-form { width: 100%; max-width: 400px; }
.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; }

/* ---- Password strength meter ---- */
.pw-meter { margin: -0.6rem 0 1.4rem; }
.pw-meter__bar { display: flex; gap: 0.3rem; margin-bottom: 0.6rem; }
.pw-meter__seg { height: 5px; flex: 1; border-radius: 3px; background: var(--border-strong); transition: background 0.3s ease; }
.pw-meter__label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); transition: color 0.3s ease; }
.pw-checklist { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.7rem; }
.pw-checklist li { list-style: none; display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); transition: color 0.2s ease; }
.pw-checklist li svg { width: 13px; height: 13px; color: var(--border-strong); transition: color 0.2s ease; flex-shrink: 0; }
.pw-checklist li.is-met { color: var(--text); }
.pw-checklist li.is-met svg { color: var(--success); }

.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; }
.auth-form__terms { font-size: 0.8rem; color: var(--muted); margin-top: 1.25rem; text-align: center; }
.auth-form__terms a { color: var(--muted); text-decoration: underline; }
