/* ===================================================
   MISSION MODI — AUTH & VERIFY PAGES
   Member Login + Verify ID Card. Themed to the site.
   =================================================== */
:root {
  --saffron: #FF6700; --saffron-light: #FF8C2E; --saffron-dark: #E55B0E;
  --saffron-deep: #C7480A; --green: #138808; --navy: #002F6C; --gold: #FFB300;
  --ink: #1a1d27; --muted: #6b7280; --soft: #9aa1ad; --line: #e6e8ee;
}
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.auth {
  font-family: 'Roboto','Hind',sans-serif; color: var(--ink);
  background: #f4f6fb; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
h1,h2,h3,h4 { font-family: 'Oswald','Roboto',sans-serif; font-weight: 600; line-height: 1.15; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* top mini bar */
.auth-top {
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.auth-top .brand { display:flex; align-items:center; gap:11px; }
.auth-top .brand img { width: 40px; height: 40px; border-radius: 50%; }
.auth-top .brand b { font-family:'Oswald'; font-size: 17px; color: var(--ink); }
.auth-top .brand b span { color: var(--saffron); }
.auth-top .back { font-size: 13.5px; color: var(--muted); display:inline-flex; align-items:center; gap:8px; }
.auth-top .back:hover { color: var(--saffron); }

/* ====== LOGIN SPLIT ====== */
.auth-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 20px 60px; }
.auth-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(16,24,40,.14); border: 1px solid var(--line);
}
.auth-aside {
  position: relative; color: #fff; padding: 44px 40px;
  background:
    linear-gradient(150deg, rgba(199,72,10,.92), rgba(255,103,0,.86) 55%, rgba(255,179,0,.86)),
    url('https://images.unsplash.com/photo-1635438747567-8244074a3180?w=1200&q=80') center/cover;
  display: flex; flex-direction: column;
}
.auth-aside::after { content:''; position:absolute; inset:0; background: radial-gradient(circle at 30% 90%, rgba(0,0,0,.35), transparent 60%); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .logo { width: 60px; height: 60px; border-radius: 50%; background:#fff; padding: 4px; margin-bottom: 22px; }
.auth-aside h2 { font-size: 30px; margin-bottom: 12px; text-shadow: 0 3px 14px rgba(0,0,0,.25); }
.auth-aside p { font-size: 14.5px; color: rgba(255,255,255,.92); line-height: 1.65; margin-bottom: 26px; max-width: 360px; }
.auth-aside ul { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.auth-aside li { display:flex; align-items:center; gap: 12px; font-size: 14px; }
.auth-aside li i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display:grid; place-items:center; font-size: 14px; flex-shrink:0; }

.auth-form { padding: 46px 44px; display:flex; flex-direction: column; }
.auth-form .eyebrow { font-family:'Oswald'; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--saffron); margin-bottom: 8px; }
.auth-form h1 { font-size: 28px; color: var(--ink); margin-bottom: 6px; }
.auth-form .lead { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }

.a-fld { display:flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.a-fld label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.a-input { position: relative; }
.a-input i { position:absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--soft); font-size: 14px; }
.a-input input {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 16px 0 42px; font-size: 14px; color: var(--ink); background:#fff;
  transition: border-color .2s, box-shadow .2s;
}
.a-input input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(255,103,0,.12); }
.a-input .toggle { left: auto; right: 14px; cursor: pointer; }
.a-row { display:flex; align-items:center; justify-content: space-between; margin: 4px 0 22px; font-size: 13px; }
.a-row label { display:flex; align-items:center; gap: 7px; color: var(--muted); cursor: pointer; }
.a-row a { color: var(--saffron); font-weight: 600; }

.a-btn {
  width: 100%; height: 50px; border-radius: 12px; font-weight: 700; font-size: 15px;
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-light)); color:#fff;
  box-shadow: 0 12px 28px rgba(255,103,0,.32); transition: transform .15s, box-shadow .2s;
}
.a-btn:hover { transform: translateY(-2px); }
.a-btn.ghost { background:#fff; color: var(--ink); border: 1px solid var(--line); box-shadow:none; }
.a-btn.ghost:hover { border-color: var(--saffron); color: var(--saffron); }

.a-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.a-alt a { color: var(--saffron); font-weight: 600; }
.a-sep { display:flex; align-items:center; gap: 14px; color: var(--soft); font-size: 12px; margin: 22px 0; }
.a-sep::before, .a-sep::after { content:''; flex:1; height:1px; background: var(--line); }

.a-note { font-size: 12px; color: var(--soft); background:#f7f8fb; border:1px dashed var(--line); border-radius: 10px; padding: 10px 13px; margin-bottom: 20px; }
.a-note b { color: var(--muted); }
.a-msg { font-size: 13px; padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; display:none; }
.a-msg.show { display:block; }
.a-msg.err { background:#fdecec; color:#c0392b; }
.a-msg.ok { background:#e7f7ea; color:#138808; }

/* ====== VERIFY PAGE ====== */
.verify-wrap { max-width: 720px; margin: 0 auto; padding: 50px 20px 70px; }
.verify-head { text-align:center; margin-bottom: 30px; }
.verify-head .badge-ic { width: 66px; height: 66px; border-radius: 18px; margin: 0 auto 16px; display:grid; place-items:center; color:#fff; font-size: 26px; background: linear-gradient(135deg, var(--saffron), var(--gold)); box-shadow: 0 14px 30px rgba(255,103,0,.3); }
.verify-head h1 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.verify-head p { font-size: 14px; color: var(--muted); }

.verify-box { background:#fff; border:1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 16px 44px rgba(16,24,40,.08); }
.verify-form { display:flex; gap: 12px; }
.verify-form .a-input { flex: 1; }
.verify-form input { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.verify-form .a-btn { width: auto; padding: 0 28px; flex-shrink: 0; }
.verify-hint { font-size: 12.5px; color: var(--soft); margin-top: 14px; text-align:center; }
.verify-hint code { background:#f1f3f7; padding: 2px 8px; border-radius: 6px; color: var(--saffron-dark); font-weight:600; cursor:pointer; }

/* result card */
.id-result { margin-top: 26px; }
.id-card {
  border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(16,24,40,.16);
  border: 1px solid var(--line); background:#fff; max-width: 460px; margin: 0 auto;
  opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s;
}
.id-card.show { opacity: 1; transform: none; }
.id-top {
  background: linear-gradient(120deg, var(--saffron-deep), var(--saffron) 60%, var(--saffron-light));
  color:#fff; padding: 16px 20px; display:flex; align-items:center; gap: 12px;
}
.id-top img { width: 38px; height: 38px; border-radius: 50%; background:#fff; padding:2px; }
.id-top .t { line-height: 1.15; }
.id-top .t b { font-family:'Oswald'; font-size: 15px; display:block; }
.id-top .t span { font-size: 10.5px; opacity:.9; letter-spacing: 1px; text-transform: uppercase; }
.id-top .verified { margin-left:auto; font-size: 11.5px; background: rgba(255,255,255,.2); padding: 5px 11px; border-radius: 100px; display:inline-flex; align-items:center; gap:6px; }
.id-body { padding: 22px 20px; display:flex; gap: 18px; }
.id-photo { width: 92px; height: 110px; border-radius: 12px; flex-shrink:0; background: linear-gradient(135deg,var(--saffron),var(--gold)); color:#fff; display:grid; place-items:center; font-family:'Oswald'; font-size: 34px; font-weight: 700; }
.id-info { flex:1; display:grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.id-info .it { display:flex; flex-direction: column; }
.id-info .it.full { grid-column: 1 / -1; }
.id-info .it small { font-size: 10.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.id-info .it b { font-size: 14px; color: var(--ink); font-weight: 600; }
.id-foot { padding: 12px 20px; border-top: 1px dashed var(--line); display:flex; align-items:center; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.id-status { font-size: 11.5px; font-weight:700; padding: 4px 12px; border-radius: 100px; }
.id-status.active { background:#e7f7ea; color:#138808; }

.not-found { margin-top: 24px; text-align:center; padding: 28px; border-radius: 14px; background:#fdecec; color:#c0392b; display:none; }
.not-found.show { display:block; }
.not-found i { font-size: 30px; margin-bottom: 10px; }
.not-found b { display:block; font-size: 16px; margin-bottom: 4px; }
.not-found span { font-size: 13px; color: #a8442f; }

.auth-foot { text-align:center; font-size: 12.5px; color: var(--soft); padding: 24px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 820px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-aside { padding: 34px 30px; }
  .auth-aside ul { margin-top: 22px; }
  .auth-aside h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .auth-top { padding: 0 16px; }
  .auth-top .brand b { font-size: 15px; }
  .auth-wrap { padding: 22px 14px 40px; }
  .auth-form { padding: 30px 22px; }
  .auth-aside { padding: 28px 22px; }
  .verify-wrap { padding: 30px 14px 50px; }
  .verify-box { padding: 18px; }
  .verify-form { flex-direction: column; }
  .verify-form .a-btn { width: 100%; height: 48px; }
  .id-body { flex-direction: column; align-items:center; text-align:center; }
  .id-info { text-align: left; }
}
