body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  margin-bottom: 20px;
}

#surveyContainer {
  width: 100%;
  max-width: none;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
  #surveyContainer .sv-question__title {
    font-size: 1.125rem; /* ~18px */
    line-height: 1.4;
  }
  #surveyContainer .sv-question__content {
    font-size: 1rem; /* ~16px */
  }
  #surveyContainer .sv-button-group__item {
    font-size: 1rem; /* ~16px */
    min-height: 48px; /* Larger tap target for mobile */
    padding: 0.75rem;
  }
  #surveyContainer input[type="text"],
  #surveyContainer textarea {
    font-size: 1rem; /* ~16px */
    padding: 0.5rem;
  }
}

#surveyCreator {
  border: 1px solid #ddd;
  padding: 20px;
}

#surveyList {
  list-style: none;
  padding: 0;
}

#surveyList li {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #eee;
}

#surveyList button, #createSurveyBtn, #backBtn, #applyJsonBtn, #saveSurveyBtn {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}

#surveyList button:hover, #createSurveyBtn:hover, #backBtn:hover, #applyJsonBtn:hover, #saveSurveyBtn:hover {
  background-color: #0056b3;
}

#editorLayout {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

#surveyCreator {
  width: 50%;
}

#jsonEditorContainer {
  width: 50%;
  display: flex;
  flex-direction: column;
}

#jsonEditor {
  height: 500px;
  resize: vertical;
  font-family: monospace;
  padding: 10px;
  border: 1px solid #ddd;
}

#editorButtons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}