:root {
  --mondrian-red: #d62828;
  --mondrian-blue: #003049;
  --mondrian-yellow: #f6d55c;
  --mondrian-cream: #f8f7f2;
  --mondrian-black: #0b0b0c;
  --text-primary: #182230;
}

body.survey-body {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(135deg, rgba(0, 48, 73, 0.05), rgba(214, 40, 40, 0.04)),
    var(--mondrian-cream);
  min-height: 100vh;
  color: var(--text-primary);
  font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
}

.survey-wrapper {
  max-width: 1600px;
}

.survey-card {
  border: 2px solid var(--mondrian-black);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.survey-card-header {
  background: linear-gradient(90deg, var(--mondrian-blue), #0f4a72);
  color: #fff;
  padding: 18px 22px;
  border-bottom: 3px solid var(--mondrian-yellow);
}

.survey-card-header .title-mark {
  background: var(--mondrian-yellow);
  color: var(--mondrian-black);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.survey-card-body {
  padding: 28px 24px 32px;
  background: linear-gradient(180deg, rgba(246, 213, 92, 0.08) 0%, transparent 20%),
    linear-gradient(90deg, rgba(214, 40, 40, 0.04) 0%, rgba(0, 48, 73, 0.04) 30%, transparent 65%),
    #fff;
}

.survey-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--mondrian-blue);
}

.survey-section-title::before {
  content: '';
  width: 10px;
  height: 32px;
  background: var(--mondrian-red);
  border-radius: 6px;
  box-shadow: 12px 0 0 var(--mondrian-yellow);
}

.info-tile {
  border: 2px solid var(--mondrian-black);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(0, 48, 73, 0.08), rgba(214, 40, 40, 0.06));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.info-tile .icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--mondrian-black);
  display: grid;
  place-items: center;
  color: var(--mondrian-blue);
  font-weight: 800;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.consent-box {
  border: 2px solid var(--mondrian-black);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.radio-css input[type='radio'] {
  position: absolute;
  opacity: 0;
}

.radio-css label,
.option-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 2px solid var(--mondrian-black);
  background: #fff;
  color: var(--text-primary);
  font-weight: 800;
  min-width: 90px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.radio-css input[type='radio']:checked + label,
.option-chip.active {
  background: var(--mondrian-yellow);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
}

.option-scale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.option-chip {
  width: 100%;
  justify-content: space-between;
  padding: 12px 14px;
}

.option-chip .option-value {
  font-size: 1.2rem;
  font-weight: 900;
}

.option-chip .option-text {
  font-size: 0.9rem;
  color: #2c3a4a;
}

.question-card {
  border: 2px solid var(--mondrian-black);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.question-label {
  background: var(--mondrian-blue);
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.question-context {
  color: #4c4c52;
  font-weight: 700;
}

.question-title {
  font-weight: 800;
  color: var(--mondrian-black);
  margin-bottom: 10px;
}

.question-card.needs-answer {
  border-color: var(--mondrian-red);
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.12);
}

.alert-required {
  border: 2px solid var(--mondrian-red);
  background: rgba(214, 40, 40, 0.08);
  color: var(--mondrian-black);
  font-weight: 800;
}

.missing-msg {
  font-weight: 700;
}

.submit-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-mondrian {
  background: var(--mondrian-red);
  color: #fff;
  border: 2px solid var(--mondrian-black);
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 14px;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-mondrian:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
  .survey-card-body {
    padding: 20px 16px 24px;
  }

  .question-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .option-chip {
    flex-direction: column;
    align-items: flex-start;
  }
}
