
/* quiz.css */
#mm-quiz-root {
  max-width: 700px;
  margin: auto;
  font-family: sans-serif;
  text-align: left;
}

.mm-progress {
  height: 10px;
  background: #eee;
  border-radius: 5px;
  margin-bottom: 20px;
}

.mm-progress-bar {
  height: 100%;
  background: linear-gradient(to right, #E9A82C, #752847);
  width: 0;
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
}

.mm-question h2,
.mm-final-form h2 {
  color: #B27C16;
  text-align: left;
}

/* Force side-by-side layout voor laatste stap */
.mm-final-form {
  display: block;
  width: 100%;
}

/* Zorg ervoor dat de quiz container de juiste breedte heeft */
#mm-quiz-root {
  max-width: 1000px;
  margin: auto;
  font-family: sans-serif;
  text-align: left;
}

.mm-options {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
  text-align: left;
}

.mm-option p {
  margin: 0 0 5px;
  font-weight: bold;
  color: #421727;
}

.mm-option select {
  width: 100%;
  padding: 5px;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #752847;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #421727;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: #752847;
  box-shadow: 0 0 0 2px rgba(117, 40, 71, 0.2);
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 30px;
  display: block;
}

select option {
  padding: 8px;
  background-color: white;
  color: #333;
}

.mm-error {
  color: red;
  margin-bottom: 15px;
}

.mm-radio-group {
  display: flex;
  gap: 15px;
  margin: 5px 0 15px 0;
  align-items: center;
  flex-wrap: wrap;
}

.mm-radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

/* Demographics form styling */
.mm-demographics-form {
  max-width: 500px;
  margin: 0 auto;
}

.mm-demographics-form .category-label {
  font-weight: bold;
  color: #421727;
  margin-bottom: 8px;
  display: block;
  font-size: 1rem;
}

.mm-demographics-form .category-container {
  margin-bottom: 25px;
}

.mm-demographics-form .mm-radio-group {
  margin: 0 0 0 0;
  gap: 12px;
}

.mm-demographics-form .mm-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: normal;
  color: #333;
  font-size: 0.95rem;
}

.mm-demographics-form input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.mm-demographics-form input[type="radio"] + span {
  color: #333;
  font-weight: normal;
}
