body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #FAF5E8;
  margin: 0;
  min-height: 100vh;
}

.quiz-box, #quiz {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(64, 127, 193, 0.10);
  max-width: 520px;
  margin: 48px auto;
  padding: 36px 32px 28px;
  border: 3px solid #E49A48;
}

h2 {
  color: #D9781F;
  letter-spacing: 1px;
}

.question {
  margin-top: 32px;
}

.answers label {
  display: block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #F2DDB2;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.answers input[type="radio"]:checked + span {
  font-weight: bold;
}

.answers input[type="radio"] {
  accent-color: #407FC1;
}

button {
  margin-top: 28px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #D9781F 60%, #EBBB7A 100%);
  color: #fff;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(67, 174, 85, 0.08);
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background: linear-gradient(90deg, #744C99 40%, #43AE55 100%);
  transform: translateY(-2px) scale(1.03);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #ccc !important;
  color: #888;
  border: 1.5px solid #bbb;
}

#result {
  background: #EBBB7A;
  border-radius: 10px;
  margin-top: 28px;
  padding: 22px 18px;
  text-align: center;
  color: #2E2631;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(116, 76, 153, 0.10);
}

#result b {
  color: #407FC1;
}

.result-main-title {
  font-size: 2rem;
  font-weight: bold;
  color: #D9781F;
  margin-bottom: 16px;
  text-shadow: 0px 2px 8px #F2DDB2;
}

.result-details {
  font-size: 1.09rem;
  color: #2E2631;
  margin-bottom: 8px;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.prop-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 5px;
}

.prop-label {
  min-width: 145px;
  text-align: right;
  font-weight: bold;
  color: #407FC1;
  display: inline-block;
  margin-right: 12px;
}

.prop-value {
  flex: 1;
  text-align: left;
  display: inline-block;
  color: #333;
}

.multiple-results-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.result-group-title {
  font-size: 1.17rem;
  font-weight: bold;
  color: #744C99;
  margin-bottom: 10px;
  text-align: center;
}

.result-card {
  background: #F2DDB2;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(67, 174, 85, 0.07);
  padding: 18px 16px;
  margin-bottom: 0;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  border: 2.2px solid #407FC1;
}

.result-card .result-main-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #407FC1;
}

@media (max-width: 640px) {
  .quiz-box, #quiz {
    padding: 16px 4vw 12px;
    max-width: 94vw;
  }
  h2 {
    font-size: 20px;
  }
  #result {
    font-size: 17px;
    padding: 16px 10px;
  }
  .result-card {
    padding: 12px 5vw;
    max-width: 98vw;
  }
}
