/* ── RECRUIT EXTENSIONS ── */
/* Builds on top of shared.css. Same tokens, same voice — new components only. */

:root {
  --status-good: #7c9b7a;
  --status-warn: #b89456;
  --status-bad:  #9a5560;
  --seal-ring:   rgba(168, 188, 216, 0.35);
}

/* ── HERO ── */
.recruit-hero {
  padding: 7.5rem 1.5rem 3rem;
  text-align: center;
  max-width: 640px;
}
.recruit-hero .eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
  opacity: 0.7;
  margin-bottom: 0.9rem;
}
.recruit-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}
.recruit-hero p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--silver-dim);
}

/* ── TEAM PICKER ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  width: 100%;
  max-width: 920px;
  padding: 0 1.5rem;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
}
.team-card {
  background: rgba(168, 188, 216, 0.03);
  border: 1px solid rgba(168, 188, 216, 0.1);
  border-radius: 3px;
  padding: 1.6rem 1.4rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.team-card:hover { border-color: rgba(168, 188, 216, 0.25); }
.team-card.selected {
  border-color: var(--accent);
  background: rgba(168, 188, 216, 0.06);
}
.team-card .team-name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.team-card .team-desc {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  color: var(--silver-dim);
  line-height: 1.55;
}
.team-card .team-reqs {
  list-style: none;
  font-family: 'Crimson Pro', serif;
  font-size: 0.8rem;
  color: var(--silver-dim);
  opacity: 0.85;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.team-card .team-reqs li::before { content: '— '; opacity: 0.5; }

/* ── GATE CHECK ── */
.gate-panel {
  width: 100%;
  max-width: 520px;
  margin-top: 2.2rem;
  padding: 0 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.1rem;
  animation: riseIn 0.4s ease forwards;
}
.gate-panel.active { display: flex; }
.gate-title {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.gate-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(168, 188, 216, 0.03);
  border: 1px solid rgba(168, 188, 216, 0.08);
  border-radius: 3px;
}
.gate-row input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.gate-row label {
  font-family: 'Crimson Pro', serif;
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.5;
}
.gate-note {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--silver-dim);
  opacity: 0.75;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--silver);
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, opacity 0.25s;
  align-self: flex-start;
}
.btn-primary:hover { background: var(--white); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-secondary {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  background: transparent;
  border: 1px solid rgba(168, 188, 216, 0.25);
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.btn-secondary:hover { color: var(--white); border-color: var(--silver-dim); }

/* ── APPLICATION FORM ── */
.app-form {
  width: 100%;
  max-width: 600px;
  margin-top: 2.2rem;
  padding: 0 1.5rem 4rem;
  display: none;
  flex-direction: column;
  gap: 2.2rem;
  animation: riseIn 0.45s ease forwards;
}
.app-form.active { display: flex; }
.form-block {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.form-block-title {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(168, 188, 216, 0.1);
}
.q-group { display: flex; flex-direction: column; gap: 0.5rem; }
.q-label {
  font-family: 'Crimson Pro', serif;
  font-size: 0.98rem;
  color: var(--white);
  line-height: 1.5;
}
.q-help {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--silver-dim);
  opacity: 0.8;
}
.q-input, .q-textarea, .q-select {
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(168, 188, 216, 0.04);
  border: 1px solid rgba(168, 188, 216, 0.15);
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.2s;
}
.q-textarea { min-height: 110px; resize: vertical; }
.q-input:focus, .q-textarea:focus, .q-select:focus {
  outline: none;
  border-color: var(--accent);
}
.q-input::placeholder, .q-textarea::placeholder { color: rgba(138, 155, 184, 0.4); }
.q-error {
  border-color: var(--status-bad) !important;
  background: rgba(154, 85, 96, 0.06) !important;
  animation: errorPulse 0.4s ease;
}
@keyframes errorPulse {
  0%   { box-shadow: 0 0 0 0 rgba(154, 85, 96, 0.3); }
  100% { box-shadow: 0 0 0 4px rgba(154, 85, 96, 0); }
}

/* ── SUBMIT CONFIRMATION ── */
.submit-confirm {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 4rem 1.5rem;
  max-width: 480px;
  animation: fadeIn 0.5s ease forwards;
}
.submit-confirm.active { display: flex; }
.seal {
  width: 64px; height: 64px;
  border: 1px solid var(--seal-ring);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  position: relative;
}
.seal::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid var(--seal-ring);
  border-radius: 50%;
}
.submit-confirm h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--white);
}
.submit-confirm p {
  font-family: 'Crimson Pro', serif;
  color: var(--silver-dim);
  line-height: 1.6;
}
.case-id-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--seal-ring);
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

/* ── STATUS PILLS ── */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
}
.pill-submitted { background: rgba(168, 188, 216, 0.1); color: var(--silver-dim); }
.pill-claimed   { background: rgba(168, 188, 216, 0.14); color: var(--accent); }
.pill-review    { background: rgba(30, 52, 96, 0.5); color: var(--silver); }
.pill-accepted  { background: rgba(124, 155, 122, 0.16); color: var(--status-good); }
.pill-held      { background: rgba(184, 148, 86, 0.16); color: var(--status-warn); }
.pill-denied    { background: rgba(154, 85, 96, 0.16); color: var(--status-bad); }

/* ── STATUS PAGE ── */
.status-shell {
  width: 100%;
  max-width: 540px;
  padding: 0 1.5rem 4rem;
}
.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.4);
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s;
}
.discord-btn:hover { background: rgba(88, 101, 242, 0.28); }

.case-card {
  border: 1px solid rgba(168, 188, 216, 0.1);
  border-radius: 3px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.case-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.case-card-head .cid {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--silver);
  letter-spacing: 0.05em;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Crimson Pro', serif;
  font-size: 0.88rem;
  color: var(--silver-dim);
  opacity: 0.5;
}
.timeline-step.done { opacity: 1; color: var(--silver); }
.timeline-step .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(168, 188, 216, 0.25);
  flex-shrink: 0;
}
.timeline-step.done .dot { background: var(--accent); }

/* ── REVIEWER QUEUE ── */
.queue-shell {
  width: 100%;
  max-width: 920px;
  padding: 0 1.5rem 4rem;
}
.queue-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.queue-tab {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
  background: transparent;
  border: 1px solid rgba(168, 188, 216, 0.15);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.queue-tab.active { color: var(--white); border-color: var(--accent); }

.queue-table {
  width: 100%;
  border-collapse: collapse;
}
.queue-table th {
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  opacity: 0.7;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(168, 188, 216, 0.1);
}
.queue-table td {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  color: var(--silver);
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid rgba(168, 188, 216, 0.05);
  vertical-align: middle;
}
.queue-table tr:hover td { background: rgba(168, 188, 216, 0.02); }
.row-actions { display: flex; gap: 0.5rem; }
.row-actions button {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(168, 188, 216, 0.2);
  color: var(--silver-dim);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  cursor: pointer;
}
.row-actions button:hover { color: var(--white); border-color: var(--silver-dim); }
.row-actions button.accept:hover { color: var(--status-good); border-color: var(--status-good); }
.row-actions button.deny:hover { color: var(--status-bad); border-color: var(--status-bad); }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  color: var(--silver-dim);
  opacity: 0.7;
}

/* ── DEMO BANNER (removed once backend is wired) ── */
.demo-banner {
  width: 100%;
  text-align: center;
  font-family: 'Crimson Pro', serif;
  font-size: 0.78rem;
  color: var(--status-warn);
  background: rgba(184, 148, 86, 0.08);
  border-bottom: 1px solid rgba(184, 148, 86, 0.2);
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 2;
}

/* ── ACCOUNT INDICATOR (in the nav) ── */
.auth-indicator {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0.7rem;
  margin-left: 0.3rem;
  border-left: 1px solid rgba(168, 188, 216, 0.12);
}
.auth-indicator .auth-name {
  font-family: 'Crimson Pro', serif;
  font-size: 0.78rem;
  color: var(--silver-dim);
  white-space: nowrap;
}
.auth-indicator .auth-logout {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.auth-indicator .auth-logout:hover { color: var(--status-bad); }
@media (max-width: 640px) {
  .auth-indicator { border-left: none; padding: 0.85rem 2rem 0; margin-left: 0; }
}

/* ── LEADERSHIP TEAM TOGGLES ── */
.team-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(168, 188, 216, 0.03);
  border: 1px solid rgba(168, 188, 216, 0.1);
  border-radius: 3px;
}
.team-toggle-row .team-toggle-name {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.team-toggle-row button {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid rgba(168, 188, 216, 0.2);
  background: transparent;
  color: var(--silver-dim);
  transition: color 0.2s, border-color 0.2s;
}
.team-toggle-row button.open-action:hover { color: var(--status-good); border-color: var(--status-good); }
.team-toggle-row button.close-action:hover { color: var(--status-bad); border-color: var(--status-bad); }

/* ── ANSWERS MODAL ── */
.answers-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 31, 0.82);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.answers-modal {
  position: relative;
  background: var(--navy-mid);
  border: 1px solid rgba(168, 188, 216, 0.15);
  border-radius: 4px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.2rem 2rem;
}
.answers-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--silver-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.answers-close:hover { color: var(--white); }
.answers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}
.answers-head .cid {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.answers-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 0.88rem;
  color: var(--silver-dim);
  margin-bottom: 1.6rem;
}
.answers-block-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.6rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(168, 188, 216, 0.1);
}
.answers-block-title:first-of-type { margin-top: 0; }
.answers-qa { margin-bottom: 1.1rem; }
.answers-q {
  font-family: 'Crimson Pro', serif;
  font-size: 0.88rem;
  color: var(--silver-dim);
  font-style: italic;
  margin-bottom: 0.3rem;
}
.answers-a {
  font-family: 'Crimson Pro', serif;
  font-size: 0.97rem;
  color: var(--white);
  line-height: 1.55;
  white-space: pre-wrap;
}
.answers-a.empty { color: var(--silver-dim); font-style: italic; opacity: 0.6; }
.answers-decision-note {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(168, 188, 216, 0.1);
  font-family: 'Crimson Pro', serif;
  font-size: 0.88rem;
  color: var(--silver-dim);
}
