/* ── Auth Pages Shared CSS ─────────────────────────────────── */
:root {
  --navy:    #0b1f3a;
  --navy2:   #122952;
  --teal:    #0d7c7c;
  --teal-lt: #14a8a8;
  --gold:    #c9953a;
  --gold-lt: #e8b65a;
  --cream:   #f5f0e8;
  --white:   #ffffff;
  --gray:    #6b7a8d;
  --gray-lt: #e8edf4;
  --red:     #c0392b;
  --green:   #27ae60;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(11,31,58,.08);
  --shadow-md: 0 8px 32px rgba(11,31,58,.14);
  --shadow-lg: 0 20px 60px rgba(11,31,58,.20);
  --radius: 12px;
  --trans: .3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--navy); background: var(--cream); min-height: 100vh; }
a { text-decoration: none; color: inherit; }

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy2) 50%, #0d3d5a 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 60px; position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute; width: 400px; height: 400px;
  background: rgba(13,124,124,.12); border-radius: 50%; top: -100px; right: -100px;
}
.auth-left::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: rgba(201,149,58,.08); border-radius: 50%; bottom: -80px; left: -60px;
}
.auth-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 52px; position: relative; z-index: 2; }
.auth-logo-icon { width: 44px; height: 44px; background: var(--teal); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; }
.auth-logo-text { font-family: var(--font-serif); font-size: 1.3rem; color: white; line-height: 1.1; }
.auth-logo-text span { font-size: .65rem; font-family: var(--font-sans); font-weight: 300; opacity: .6; display: block; letter-spacing: .1em; }
.auth-left-content { position: relative; z-index: 2; }
.auth-left-tag { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 14px; }
.auth-left h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: white; line-height: 1.2; margin-bottom: 16px; }
.auth-left h2 em { font-style: italic; color: var(--teal-lt); }
.auth-left p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin-bottom: 36px; max-width: 360px; }
.auth-feature-list { display: flex; flex-direction: column; gap: 14px; }
.auth-feature { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .85rem; }
.auth-feature i { color: var(--teal-lt); font-size: .85rem; }
.auth-right {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 48px 40px; overflow-y: auto;
}
.auth-form-wrap {
  width: 100%; max-width: 480px;
}
.auth-tabs {
  display: flex; background: var(--gray-lt); border-radius: 50px; padding: 4px;
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1; padding: 10px 20px; border-radius: 50px; border: none; background: transparent;
  font-family: var(--font-sans); font-size: .88rem; font-weight: 500; cursor: pointer;
  color: var(--gray); transition: all var(--trans);
}
.auth-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.auth-title { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 6px; }
.auth-subtitle { color: var(--gray); font-size: .88rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .02em; }
label span.req { color: var(--red); margin-left: 2px; }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: .9rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px 12px 40px; border: 1.5px solid var(--gray-lt);
  border-radius: 8px; font-family: var(--font-sans); font-size: .9rem; color: var(--navy);
  background: var(--white); transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,124,124,.1); }
input.error { border-color: var(--red); }
.no-icon-input { padding-left: 14px !important; }
select { padding-left: 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a8d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.captcha-box {
  display: flex; align-items: center; gap: 12px; background: var(--gray-lt);
  border: 1.5px solid var(--gray-lt); border-radius: 8px; padding: 12px 14px;
  margin-bottom: 18px;
}
.captcha-question { font-size: .88rem; font-weight: 600; color: var(--navy); min-width: 90px; font-family: monospace; background: var(--white); padding: 8px 12px; border-radius: 6px; }
.captcha-input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--gray-lt); border-radius: 6px; font-size: .9rem; outline: none; transition: border-color var(--trans); }
.captcha-input:focus { border-color: var(--teal); }
.btn-submit {
  width: 100%; padding: 14px; background: var(--teal); color: white; border: none;
  border-radius: 50px; font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all var(--trans); display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--teal-lt); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,124,124,.35); }
.btn-submit.gold { background: var(--gold); }
.btn-submit.gold:hover { background: var(--gold-lt); box-shadow: 0 6px 24px rgba(201,149,58,.35); }
.auth-switch { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--gray); }
.auth-switch a { color: var(--teal); font-weight: 600; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: .85rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.alert-error { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.25); color: var(--red); }
.alert-success { background: rgba(39,174,96,.08); border: 1px solid rgba(39,174,96,.25); color: var(--green); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--gray); font-size: .8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-lt); }
.password-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray); cursor: pointer; padding: 0; font-size: .9rem; }
.field-hint { font-size: .75rem; color: var(--gray); margin-top: 4px; }
.section-divider { border: none; border-top: 1px solid var(--gray-lt); margin: 20px 0; }
.form-section-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; margin-top: 4px; }
/* Responsive */
@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 32px 20px; }
}
