/*
  File: assets/styles.css
  Path: /assets/styles.css
  Rel/Ver: JV-v0.01
  Notes: Shared styling for rep intake and request received pages.
  Date: 2026-04-13
*/
:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-2: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: #334155;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --good: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

.narrow-wrap { max-width: 920px; }
.center-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 20px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: bold;
}

.brand-name {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.1;
}

.brand-sub {
  font-size: 14px;
  color: var(--muted);
}

.shell {
  display: grid;
  gap: 24px;
  align-items: start;
}

.two-col {
  grid-template-columns: 1.02fr 1.18fr;
}

.panel {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-inner { padding: 28px; }

.hero-panel h1,
.panel h1 {
  margin: 0 0 14px 0;
  font-size: 38px;
  line-height: 1.08;
}

.hero-panel p,
.lead {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px 0;
}

.badge {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.steps {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.compact-steps { margin-top: 20px; }

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: bold;
}

.step h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-panel-head {
  padding: 22px 28px 0 28px;
}

.form-panel-head h2 {
  margin: 0;
  font-size: 24px;
}

.form-panel-head p {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.helper {
  margin: 18px 28px 0 28px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.good-box {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: #d1fae5;
}

.request-form {
  padding: 20px 28px 28px 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field.full { grid-column: 1 / -1; }
.field.half { grid-column: span 1; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.req { color: #fca5a5; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder { color: #7c8ba0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.field textarea { resize: vertical; min-height: 120px; }

.status-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.03);
}

.status-box.hidden { display: none; }
.status-box.success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.22);
}
.status-box.warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.22);
}
.status-box.error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
}

.status-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: bold;
  color: #dcfce7;
}

.status-box.warning .status-title { color: #fde68a; }
.status-box.error .status-title { color: #fecaca; }

.status-text,
.status-box p {
  margin: 0;
  line-height: 1.5;
  font-size: 15px;
}

.form-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.split-actions { justify-content: flex-start; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: #082f49;
}

.btn-primary:hover { background: var(--accent-hover); color: white; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.2);
}

.btn-secondary:hover { background: rgba(255,255,255,0.04); }

.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fde68a;
  font-size: 14px;
  line-height: 1.5;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.detail-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.detail-value {
  font-size: 16px;
  line-height: 1.4;
}

.mono {
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 14px;
  word-break: break-all;
}

.form-foot,
.tiny,
.foot {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-foot { margin: 0 28px 28px 28px; }
.foot { margin-top: 18px; padding: 10px 4px 30px 4px; text-align: center; }

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .hero-panel h1, .panel h1 { font-size: 32px; }
}

@media (max-width: 700px) {
  .wrap { padding: 16px; }
  .panel-inner,
  .form-panel-head,
  .request-form { padding-left: 20px; padding-right: 20px; }
  .helper, .form-foot { margin-left: 20px; margin-right: 20px; }
  .field-grid, .details-grid { grid-template-columns: 1fr; }
  .field.half, .field.full { grid-column: 1 / -1; }
  .hero-panel h1, .panel h1 { font-size: 28px; }
  .brand-name { font-size: 22px; }
}
