:root {
  --survey-font-size: 20px;
  --survey-question-size: 22px;
  --survey-title-size: 28px;
}

html,
body {
  font-size: var(--survey-font-size);
  line-height: 1.8;
  color: #212529;
  background: #f4f6f8;
}

.page-container {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.survey-card {
  border-radius: 1rem;
}

.survey-title {
  font-size: var(--survey-title-size);
  font-weight: 700;
  line-height: 1.4;
}

.landing-text,
.progress-hint,
.section-header {
  font-size: var(--survey-question-size);
}

.question-label {
  font-size: var(--survey-question-size);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.question-number {
  margin-right: 0.25rem;
}

.required-mark {
  color: #dc3545;
}

.optional-mark {
  color: #6c757d;
  font-size: 0.95em;
  font-weight: 500;
}

.question-card {
  padding: 1.25rem;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  background: #fff;
}

.question-card.question-highlight {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.15);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.options-list .option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.35rem 0;
  padding-left: 0;
  margin: 0;
}

.options-list .form-check-input {
  float: none;
  position: static;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.3rem 0 0 0;
  flex-shrink: 0;
}

.options-list .form-check-label {
  font-size: var(--survey-font-size);
  line-height: 1.6;
  padding-left: 0;
  margin: 0;
  cursor: pointer;
  flex: 1;
}

.validation-modal-message {
  font-size: var(--survey-question-size);
  line-height: 1.7;
  white-space: pre-wrap;
}

.section-divider {
  border-top: 2px solid #0d6efd;
  padding-top: 1rem;
}

.section-header {
  color: #0d6efd;
  font-weight: 600;
}

.submit-bar {
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, #f4f6f8 30%);
  padding: 1.5rem 0 0.5rem;
  margin-top: 1rem;
}

.draft-status {
  color: #198754;
  font-size: 1rem;
  min-height: 1.5rem;
}

.draft-status.error {
  color: #dc3545;
}

.age-input {
  max-width: 280px;
}

.admin-login-form {
  max-width: 420px;
}

.admin-stat-card {
  padding: 1.25rem;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  background: #fff;
}

.admin-question-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-answer-list {
  padding-left: 1.25rem;
}

@media (max-width: 576px) {
  :root {
    --survey-font-size: 19px;
    --survey-question-size: 21px;
    --survey-title-size: 26px;
  }

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