/* VA Claims Agent demo — sovereign operator UI */
.demo-shell.va-claims-shell { background: #0f172a; color: #f8fafc; }

.va-banner {
  background: linear-gradient(135deg, #1a2744 0%, #2d3a5c 45%, #3b5bdb 100%);
  padding: 56px 24px 48px;
  text-align: center;
}

.va-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.va-main { padding: 32px 0 72px; }

.va-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .va-layout { grid-template-columns: 1fr; }
}

.va-sidebar {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px;
}

.va-sidebar h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.va-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: #e2e8f0;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.va-nav-btn:hover { background: #0b1220; }

.va-nav-btn.active {
  background: #3b5bdb;
  border-color: #3b5bdb;
  color: #fff;
}

.va-panel {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.va-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #f8fafc;
}

.va-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.va-metric {
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 16px;
}

.va-metric span {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.va-metric strong {
  font-size: 1.4rem;
  color: #fff;
}

.va-table-wrap { overflow-x: auto; }

.va-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.va-table th,
.va-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #334155;
  text-align: left;
}

.va-table th {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.va-table tbody tr {
  cursor: pointer;
}

.va-table tbody tr:hover { background: #0b1220; }

.va-table tbody tr.selected { background: rgba(59, 91, 219, 0.2); }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pill.success { background: #064e3b; color: #6ee7b7; }
.pill.submitted { background: #1e3a8a; color: #93c5fd; }
.pill.pending { background: #374151; color: #d1d5db; }
.pill.manual_review { background: #78350f; color: #fcd34d; }
.pill.failed { background: #7f1d1d; color: #fca5a5; }

.va-timeline { list-style: none; margin: 0; padding: 0; }

.va-timeline li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  position: relative;
}

.va-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: #334155;
}

.va-timeline .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0d9488;
  margin-top: 4px;
}

.va-timeline .event-time {
  font-size: 0.75rem;
  color: #64748b;
}

.va-timeline .event-msg {
  color: #e2e8f0;
  font-size: 0.9rem;
}

.va-workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.va-workflow-step {
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.va-workflow-step strong {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
}

.va-workflow-step span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.va-dd214 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .va-dd214 { grid-template-columns: 1fr; }
}

.va-dd214 dt {
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.va-dd214 dd {
  color: #e2e8f0;
  margin: 0 0 10px;
}

.va-hidden { display: none !important; }

.disabled-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: #334155;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: not-allowed;
}
