:root {
  --bg: #0b1020;
  --panel: #0e152b;
  --panel-2: #111a33;
  --text: #e6e9f2;
  --muted: #9aa3b2;
  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, #0a0f1f 0%, #0b1020 60%, #0a0e1b 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.container-narrow { max-width: 760px; }

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid rgba(124,92,255,0.18);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.section-title {
  font-weight: 800;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aa3b2;             /* brighter for contrast */
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.btn-toggle {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  border-radius: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  transition: all .15s ease;
}
.btn-toggle:hover {
    width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  border-radius: 14px;
  margin-bottom: 10px;
     border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--text);
      transform: translateY(-1px); 
    }
.btn-toggle.active {
  background: linear-gradient(90deg, var(--ok), #34d399);
  color: #052e2b;
  border-color: transparent;
}

.form-select, .form-control {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px;
}

.badge-pill { border-radius: 999px; padding: 6px 10px; font-size: 0.85rem; background: rgba(124,92,255,0.15); color: #c7b8ff; }

.sticky-footer {
  position: sticky; bottom: 0;
  background: rgba(14,21,43,0.9); backdrop-filter: blur(6px);
  padding: 12px;
  border-top: 1px solid rgba(124,92,255,0.18);
}

hr.soft { border-color: rgba(255,255,255,0.12); opacity: .6; }

.segment { display: inline-flex; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; overflow: hidden; }
.segment button { background: rgba(255,255,255,0.04); color: var(--text); border: 0; padding: 8px 12px; }
.segment button.active { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0f1f; }

.small-muted { color: var(--muted); }
