* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f8fafc;
  color: #1e293b;
}

.form-header {
  background: #2563EB;
  color: #fff;
  padding: 16px 20px;
  text-align: center;
}

.form-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

#surveyContainer {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 8px;
}

/* SVG icons size fix */
.sv-svg-icon,
svg.sd-svg-icon {
  width: 24px !important;
  height: 24px !important;
}

/* ===== Dropdown styling ===== */
.sd-dropdown {
  min-height: 44px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 0 12px !important;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sd-dropdown:hover,
.sd-dropdown:focus-within {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1) !important;
}

.sd-dropdown__value {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  font-size: 16px !important;
  color: #1e293b !important;
}

.sd-dropdown__hint-prefix,
.sd-dropdown__hint-suffix {
  color: #94a3b8 !important;
  font-size: 16px !important;
}

/* Dropdown arrow icon */
.sd-dropdown__clean-btn svg,
.sd-dropdown svg.sd-svg-icon {
  width: 18px !important;
  height: 18px !important;
  color: #64748b !important;
}

/* Dropdown popup list */
.sv-popup .sv-list__item {
  padding: 10px 16px !important;
  font-size: 15px !important;
}

.sv-popup .sv-list__item:hover,
.sv-popup .sv-list__item--selected {
  background: #eff6ff !important;
  color: #2563EB !important;
}

/* ===== Submit button ===== */
.sd-btn--action {
  background-color: #2563EB !important;
  color: #fff !important;
  min-height: 48px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.sd-btn--action:hover {
  background-color: #1d4ed8 !important;
}

/* Navigation buttons */
.sd-btn {
  min-height: 44px !important;
  font-size: 15px !important;
  border-radius: 6px !important;
}

/* Progress bar */
.sd-progress {
  background-color: #e2e8f0 !important;
}

.sd-progress__bar {
  background-color: #2563EB !important;
}

/* Input fields */
.sd-input {
  font-size: 16px !important;
  min-height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
}

.sd-input:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1) !important;
}

/* Checkbox/Radio SVG fix */
.sd-item__decorator svg,
.sd-checkbox__svg,
.sd-radio__svg {
  width: 20px !important;
  height: 20px !important;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .sd-body {
    padding: 12px 4px !important;
  }
  .sd-page__title {
    font-size: 18px !important;
  }
}
