.adhd-screening-test-wrap {
  --adhd-bg: linear-gradient(135deg, #f8fafc 0%, #ffffff 45%, #eef2ff 100%);
  --adhd-card: rgba(255, 255, 255, 0.92);
  --adhd-text: #0f172a;
  --adhd-muted: #475569;
  --adhd-border: #e2e8f0;
  --adhd-primary: #0f172a;
  --adhd-primary-2: #1e293b;
  --adhd-soft: #f8fafc;
  --adhd-warning-bg: #fff7ed;
  --adhd-warning-border: #fdba74;
  --adhd-warning-text: #9a3412;
  --adhd-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  --adhd-radius-xl: 28px;
  --adhd-radius-lg: 22px;
  --adhd-radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--adhd-text);
}

.adhd-screening-test-wrap * {
  box-sizing: border-box;
}

.adhd-screening-test-app {
  width: 100%;
}

.adhd-shell {
  width: 100%;
  background: var(--adhd-bg);
  border-radius: var(--adhd-radius-xl);
  padding: 24px;
  box-shadow: var(--adhd-shadow);
  overflow: hidden;
}

.adhd-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #fff;
  border-radius: var(--adhd-radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  transform: translateY(0);
  animation: adhd-fade-up .5s ease;
}

.adhd-badge,
.adhd-result-label,
.adhd-result-level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.adhd-badge {
  background: rgba(255,255,255,.12);
  margin-bottom: 16px;
}

.adhd-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.adhd-subtitle {
  margin: 14px 0 0;
  max-width: 920px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.7;
}

.adhd-info-row,
.adhd-category-grid,
.adhd-info-grid,
.adhd-metrics {
  display: grid;
  gap: 16px;
}

.adhd-info-row {
  grid-template-columns: 1.2fr .8fr;
  margin-bottom: 20px;
}

.adhd-alert {
  border-radius: var(--adhd-radius-lg);
  padding: 16px 18px;
  border: 1px solid var(--adhd-border);
  background: #fff;
  color: var(--adhd-muted);
  line-height: 1.7;
}

.adhd-alert-warning {
  background: var(--adhd-warning-bg);
  border-color: var(--adhd-warning-border);
  color: var(--adhd-warning-text);
}

.adhd-progress-card,
.adhd-category-card,
.adhd-question-card,
.adhd-interpretation,
.adhd-info-box {
  background: var(--adhd-card);
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.adhd-progress-card {
  border-radius: var(--adhd-radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.adhd-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.adhd-progress-bar {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.adhd-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f172a 0%, #475569 100%);
  transition: width .35s ease;
}

.adhd-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.adhd-category-card {
  border-radius: var(--adhd-radius-lg);
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.adhd-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.adhd-category-card.is-done {
  border-color: #94a3b8;
}

.adhd-category-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--adhd-text);
}

.adhd-category-count,
.adhd-question-hint,
.adhd-metric-sub,
.adhd-info-box-text,
.adhd-actions-hint {
  color: var(--adhd-muted);
  font-size: 14px;
  line-height: 1.6;
}

.adhd-starter,
.adhd-result-hero {
  border-radius: var(--adhd-radius-xl);
  padding: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  color: #fff;
  animation: adhd-fade-up .35s ease;
}

.adhd-starter-text {
  max-width: 800px;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
  margin: 0 0 18px;
}

.adhd-section {
  margin-bottom: 28px;
  animation: adhd-fade-up .35s ease;
}

.adhd-section-title {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--adhd-text);
}

.adhd-question-card {
  border-radius: var(--adhd-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.adhd-question-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.adhd-question-title {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 6px;
}

.adhd-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.adhd-option,
.adhd-btn {
  appearance: none;
  border: 1px solid var(--adhd-border);
  background: #fff;
  color: var(--adhd-text);
  cursor: pointer;
  border-radius: 16px;
  transition: all .2s ease;
  font-weight: 700;
}

.adhd-option {
  min-height: 54px;
  padding: 12px 14px;
  font-size: 14px;
}

.adhd-option:hover,
.adhd-btn:hover {
  transform: translateY(-1px);
}

.adhd-option:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.adhd-option.is-active {
  background: var(--adhd-primary);
  border-color: var(--adhd-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.adhd-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.adhd-btn {
  padding: 14px 20px;
  min-height: 50px;
  font-size: 15px;
}

.adhd-btn-primary {
  background: var(--adhd-primary);
  border-color: var(--adhd-primary);
  color: #fff;
}

.adhd-btn-primary:hover {
  background: var(--adhd-primary-2);
}

.adhd-btn-secondary:hover {
  background: #f8fafc;
}

.adhd-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.adhd-result-level {
  margin-left: 10px;
  background: rgba(34, 197, 94, .18);
  color: #dcfce7;
}

.adhd-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.adhd-metric {
  border-radius: var(--adhd-radius-lg);
  background: rgba(255,255,255,.08);
  padding: 18px;
}

.adhd-metric-label {
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.5;
}

.adhd-metric-value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 10px;
}

.adhd-metric-sub {
  color: rgba(255,255,255,.72);
  margin-top: 6px;
}

.adhd-interpretation {
  border-radius: var(--adhd-radius-xl);
  padding: 22px;
  margin-top: 18px;
  animation: adhd-fade-up .35s ease;
}

.adhd-interpretation-text {
  margin: 0 0 18px;
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px;
  line-height: 1.8;
  color: var(--adhd-muted);
}

.adhd-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adhd-info-box {
  border-radius: var(--adhd-radius-lg);
  padding: 18px;
}

.adhd-info-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--adhd-text);
  margin-bottom: 8px;
}

@keyframes adhd-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .adhd-info-row,
  .adhd-category-grid,
  .adhd-metrics,
  .adhd-info-grid {
    grid-template-columns: 1fr;
  }

  .adhd-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .adhd-shell {
    padding: 14px;
    border-radius: 22px;
  }

  .adhd-header,
  .adhd-starter,
  .adhd-result-hero,
  .adhd-interpretation {
    padding: 18px;
    border-radius: 20px;
  }

  .adhd-title {
    font-size: 28px;
  }

  .adhd-question-title {
    font-size: 16px;
  }

  .adhd-options {
    grid-template-columns: 1fr;
  }

  .adhd-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .adhd-btn {
    width: 100%;
  }
}
