/* gochill.css */

#gochill-form {
  max-width: 960px;
  margin: 40px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  color: #3f1f1f;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#gochill-form h3 {
  margin-top: 0;
  color: #d56e2a;
  font-size: 26px;
}

#gochill-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #3f1f1f;
}

#gochill-form .field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

#gochill-form .field-row .field {
  flex: 1;
  min-width: 200px;
}

#gochill-form input,
#gochill-form button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
  margin-top: 6px;
}

#gochill-form input:focus {
  border-color: #d56e2a;
  outline: none;
}

#gochill-form button {
  background-color: #d56e2a;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
  border: none;
}

#gochill-form button:hover {
  background-color: #bf5d1e;
}

#gochill-form-message {
  max-width: 960px;
  margin: 20px auto;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

#gochill-form-message .success {
  color: #155724;
  background-color: #d4edda;
  padding: 15px;
  border-radius: 8px;
}

#gochill-form-message .error {
  color: #721c24;
  background-color: #f8d7da;
  padding: 15px;
  border-radius: 8px;
}

.step {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  background: #ffffff;
  border: 2px solid #d56e2a33;
  border-radius: 12px;
  padding: 20px;
  margin-top: 60px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  animation: fadeIn 0.4s ease-in-out;
  position: relative;
}

.quiz-option {
  display: block;
  padding: 12px;
  margin: 10px 0;
  background: #ffe8dc;
  border: 1px solid #f2cbb8;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
  color: #3f1f1f;
}

.quiz-option:hover {
  background: #ffd7be;
}

.quiz-feedback {
  font-weight: bold;
  margin-top: 10px;
  color: #3f1f1f;
  animation: fadeIn 0.3s ease-in-out;
}

.quiz-timer {
  position: absolute;
  top: 0;
  right: 0;
  background: #d56e2a;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  animation: fadeIn 0.5s ease-in-out;
  z-index: 10;
}

.quiz-step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.quiz-step-buttons button {
  flex: 1;
}

/* Checkbox switch visual */
.gochill-checkbox-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #3f1f1f;
}

.gochill-checkbox-switch input[type="checkbox"] {
  width: 42px;
  height: 22px;
  appearance: none;
  background-color: #ccc;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

.gochill-checkbox-switch input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.gochill-checkbox-switch input[type="checkbox"]:checked {
  background-color: #d56e2a;
}

.gochill-checkbox-switch input[type="checkbox"]:checked::before {
  transform: translateX(20px);
}