body {
  font-family: Arial, sans-serif; #009999;
  background: #f9f9f9;
  margin: 0;
  padding: 1rem;
}

.survey-container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.mrSingle,.mrMultiple{height: 25px; width: 25px; vertical-align:middle;color: #000;}

/* Question text */
.mrEdit{
	font-weight: 300;
  margin-bottom: 0.5rem;
  color:#005bbb;
}
.mrErrorText{
	font-size: .75rem;
	font-weight: 300; color:#ce4b51;
}
.mrQuestionText{
    
   font-weight: 600;
   margin-bottom: 0.5rem;
   color:#005bbb;
}
.question {
  margin-bottom: 1.5rem;
  display: flex;
  color:#005bbb;
  flex-direction: column;
  gap: 0.6rem;
}
.question-text {
  font-weight: 600;
  margin-bottom: 0.5rem; 
}

/* Response options */
.response-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Label styling for radio/checkbox */
.response-options label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.response-options label:hover {
  background-color: #f0f0f0;
}

/* Hide default radio/checkbox */
.response-options input[type="radio"],
.response-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #007bff;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

/* Radio checked */
.response-options input[type="radio"]:checked::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: #007bff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

/* Checkbox checked */
.response-options input[type="checkbox"] {
  border-radius: 4px;
}
.response-options input[type="checkbox"]:checked::before {
  content: '✔';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #007bff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Keypad for numeric questions
input[type="number"] {
  font-size: 1.2rem;
  padding: 0.8rem;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

/* Navigation container */
#mrNavigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

/* Base button style */
#mrNavigation input,
#mrNavigation button {
  flex: 1;
  padding: 1.2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  min-height: 56px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
#mrNavigation input:active,
#mrNavigation button:active {
  transform: scale(0.97);
}

/* Previous button */
.mrPrev input,
#mrPrevButton {
  background-color: #6c757d;
  color: #fff;
}
.mrPrev input:hover,
#mrPrevButton:hover {
  background-color: #495057;
}

/* Next button */
.mrNext input,
#mrNextButton {
  background-color: #007bff;
  color: #fff;
}
.mrNext input:hover,
#mrNextButton:hover {
  background-color: #0056b3;
}

/* Finish button */
.mrFinish input,
#mrFinishButton {
  background-color: #28a745;
  color: #fff;
}
.mrFinish input:hover,
#mrFinishButton:hover {
  background-color: #1e7e34;
}

/* Mobile stacking */
@media (max-width: 600px) {
  
  #mrNavigation input,
  #mrNavigation button {
    width: 100%;
    font-size: 1.3rem;
    padding: 0rem;
  }
}