:root {
  --survey-primary: #234f86;
  --survey-accent: #ff8f70;
  --survey-surface: #ffffff;
  --survey-muted: #5b6679;
  --survey-border: #e6e9f0;
  --survey-soft: #f3f7fb;
}

body.survey-body {
  background: radial-gradient(circle at 15% 20%, rgba(255, 210, 165, 0.4), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(126, 170, 255, 0.35), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ecf0f7 50%, #f9fbff 100%);
  min-height: 100vh;
  color: var(--survey-muted);
}

.survey-shell {
  max-width: 1400px;
  margin: 20 auto;
}

.brandless-header {
  background: linear-gradient(120deg, #1c3c73 0%, #3f6aa5 45%, #7cb5ff 100%);
  color: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(35, 79, 134, 0.18);
}

.brandless-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.25), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15), transparent 40%);
}

.brandless-header h1,
.brandless-header p {
  position: relative;
  z-index: 1;
}

.brandless-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.brandless-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brandless-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
}

.brandless-logout {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-visual img {
  max-height: 200px;
  object-fit: contain;
}

.section-card {
  background: var(--survey-surface);
  border-radius: 18px;
  border: 1px solid var(--survey-border);
  box-shadow: 0 10px 28px rgba(17, 35, 58, 0.08);
}

.section-card .card-header {
  background: #f9fbff;
  border-bottom: 1px solid var(--survey-border);
}

.question-card {
  border: 1px solid var(--survey-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 12px 28px rgba(13, 38, 76, 0.06);
}

.question-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.question-title .answered-chip {
  background: #e6f4ea;
  color: #1f7a3f;
  border: 1px solid #c7e7cf;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.option-table {
  width: 100%;
  text-align: center;
}

.option-table th,
.option-table td {
  padding: 8px;
}

.option-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 120px;
  min-height: 64px;
  padding: 0.75rem 1rem;
  background: #f1f4fb;
  color: #2b3950;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  font-weight: 700;
}

.option-pill .option-value {
  font-size: 1.2rem;
  letter-spacing: 0.6px;
}

.option-pill .option-text {
  font-size: 0.95rem;
  color: #4f5a6a;
}

.option-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(46, 74, 123, 0.18);
  border-color: rgba(255, 143, 112, 0.5);
}

.option-pill.is-selected {
  background: #1d5fa8;
  color: #fff;
  border-color: #103c74;
  box-shadow: 0 14px 24px rgba(16, 60, 116, 0.25);
}

.option-pill.is-selected .option-text {
  color: #eef4ff;
}

.answer-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #0fa36b;
  color: #fff;
  border-radius: 12px;
  padding: 0.2rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.answer-flag i {
  font-size: 0.9rem;
}

.section-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-toolbar .label {
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--survey-muted);
}

.section-toolbar .pill {
  background: #eff6ff;
  color: #234f86;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual img {
    max-height: 200px;
  }
}

.progress-steps .progress-step {
  border: 1px solid rgba(35, 79, 134, 0.12);
}

.question-meta {
  font-size: 0.95rem;
  color: #5d6b7e;
}

.questionnaire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.questionnaire-actions .btn {
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
}

.info-bite {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px solid #e8edf5;
  color: #41526a;
  font-weight: 700;
}

.info-bite i {
  color: #1d5fa8;
}
