/* ══════════════════════════════════════════════════════════════
   LOGIN PAGE — from login.html
   ══════════════════════════════════════════════════════════════ */

/* ── NAV (minimal) ── */
.login-nav { background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 64px; height: 72px; position: sticky; top: 0; z-index: 300; }
.nav-back { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--mid); text-decoration: none; transition: color .2s; }
.nav-back:hover { color: var(--accent); }
.nav-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── LAYOUT ── */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 72px); }

/* ── LEFT PANEL ── */
.auth-left { background: var(--accent); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 72px 64px; }
.auth-left-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&q=80'); background-size: cover; background-position: center; opacity: .18; }
.auth-left-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; }
.auth-left-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,24,32,.6) 0%, transparent 60%); }
.auth-left-top { position: relative; z-index: 1; }
.al-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 32px; }
.al-eyebrow::before { content: ''; width: 24px; height: 2px; background: rgba(255,255,255,.3); }
.al-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(38px,3.5vw,54px); font-weight: 600; line-height: 1.1; color: #fff; margin-bottom: 20px; letter-spacing: -.3px; }
.al-title i { font-style: italic; color: rgba(255,255,255,.55); }
.al-desc { font-size: 15px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.6); max-width: 380px; }

/* Benefits */
.al-benefits { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.al-benefit { display: flex; align-items: flex-start; gap: 14px; }
.al-benefit-icon { width: 36px; height: 36px; flex-shrink: 0; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.al-benefit-title { font-size: 13.5px; font-weight: 600; color: white; margin-bottom: 2px; }
.al-benefit-desc { font-size: 12.5px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Bottom stats */
.al-bottom { position: relative; z-index: 1; }
.al-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; gap: 0; }
.al-stat { padding-right: 24px; }
.al-stat + .al-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.als-n { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.als-n sup { font-size: 16px; color: rgba(255,255,255,.5); }
.als-l { font-size: 11.5px; color: rgba(255,255,255,.45); letter-spacing: .2px; }

/* ── RIGHT PANEL (form) ── */
.auth-right { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 64px 80px; }
.auth-form-wrap { width: 100%; max-width: 420px; }

/* Form header */
.form-header { margin-bottom: 32px; }
.form-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.form-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--accent2); }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,3vw,38px); font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 10px; }
.form-title i { font-style: italic; color: var(--accent); }
.form-subtitle { font-size: 14px; font-weight: 300; color: var(--mid); line-height: 1.7; }
.form-subtitle a { color: var(--accent2); font-weight: 500; text-decoration: none; }
.form-subtitle a:hover { text-decoration: underline; }

/* Benefit icon - FA size fix */
.al-benefit-icon i { font-size: 15px; color: rgba(255,255,255,.85); }

/* Form fields */
.field-group { margin-bottom: 20px; }
.auth-form-wrap label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.field-wrap { position: relative; }
.auth-form-wrap input[type=text],
.auth-form-wrap input[type=email],
.auth-form-wrap input[type=password] { width: 100%; padding: 12px 16px; font-size: 14px; font-family: 'Outfit', sans-serif; color: var(--ink); background: white; border: 1.5px solid var(--line); outline: none; transition: border-color .2s; appearance: none; }
.auth-form-wrap input:focus { border-color: var(--accent2); }
.auth-form-wrap input.error { border-color: var(--error); }
.auth-form-wrap input.success { border-color: var(--success); }
.field-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; cursor: pointer; user-select: none; transition: color .2s; }
.field-icon:hover { color: var(--accent); }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field-error { font-size: 12px; color: var(--error); margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* Checkbox */
.check-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.check-label { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.check-label input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.check-text { font-size: 13.5px; color: var(--mid); }
.forgot-link { font-size: 13px; font-weight: 500; color: var(--accent2); text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

/* Submit */
.btn-submit { width: 100%; padding: 14px; font-size: 14px; font-weight: 700; background: var(--accent); color: white; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: .3px; transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.btn-submit::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent 0%, rgba(255,255,255,.07) 50%, transparent 100%); transform: translateX(-100%); transition: transform .5s; }
.btn-submit:hover { background: #154360; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(27,79,114,.28); }
.btn-submit:hover::before { transform: translateX(100%); }
.btn-submit:active { transform: none; }

/* Bottom switch */
.auth-switch { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--mid); }
.auth-switch a { color: var(--accent2); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Flash error */
.login-flash { background: #fdf0ef; border: 1px solid #f5c6cb; padding: 12px 16px; font-size: 13px; color: #c0392b; margin-bottom: 20px; }

/* Animate in */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.auth-form-wrap { animation: fadeUp .5s ease both; }
.auth-left-top { animation: fadeUp .6s .1s ease both; }
.al-benefits { animation: fadeUp .6s .2s ease both; }
.al-bottom { animation: fadeUp .6s .3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; align-items: flex-start; min-height: calc(100vh - 72px); }
  .auth-form-wrap { max-width: 100%; }
}
@media (max-width: 480px) {
  .login-nav { padding: 0 16px; height: 60px; }
  .auth-right { padding: 32px 16px; }
  .form-title { font-size: 28px; }
  .btn-submit { padding: 13px; }
}
