/* ==== Umum ==== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #e8f5e9, #ffffff);
}

/* ==== Kartu Utama ==== */
.card {
  border: none;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 100, 0, 0.08);
}

.card-body {
  border-radius: 12px;
}

/* ==== Judul Form ==== */
.card-title {
  color: #1e4620;
  font-weight: 600;
  font-size: 1.5rem;
  border-left: 5px solid #2e7d32;
  padding-left: 12px;
}

/* ==== Label dan Input ==== */
.form-label {
  font-weight: 500;
  color: #2e7d32;
}

.form-select,
.form-control {
  border-radius: 6px;
  border: 1px solid #c8e6c9;
  background-color: #f1f8e9;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-select:focus,
.form-control:focus {
  border-color: #43a047;
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* ==== Radio Button ==== */
.form-check-input {
  accent-color: #388e3c;
}

.form-check-label {
  color: #33691e;
}

/* ==== Blok Pertanyaan ==== */
#questionList .border {
  border: 1px solid #c8e6c9 !important;
  background-color: #f9fff9;
  padding: 1rem;
  border-radius: 8px;
}

#questionList h6 {
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  border-bottom: 2px solid #a5d6a7;
  padding-bottom: 4px;
}

/* ==== Textarea ==== */
textarea.form-control {
  resize: vertical;
  min-height: 80px;
  background-color: #f1f8e9;
}

/* ==== Error Box ==== */
/*#errorBox {
  padding: 10px 15px;
  background-color: #fbe9e7;
  border: 1px solid #ffccbc;
  color: #d84315;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: none;
}*/

/* Override .alert-danger dengan warna hijau */
.alert-danger {
  color: #2e7d32; /* Hijau gelap */
  background-color: #d0f0c0; /* Hijau sangat muda, lembut */
  border-color: #a5d6a7; /* Hijau pastel untuk border */
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.2);
}

/* Styling list di dalam alert */
.alert-danger ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

/* List item */
.alert-danger li {
  margin-bottom: 0.3rem;
}

/* ==== Tombol ==== */
.btn-primary {
  background-color: #2e7d32;
  border-color: #2e7d32;
  font-weight: 500;
  border-radius: 6px;
}

.btn-primary:hover {
  background-color: #1b5e20;
  border-color: #1b5e20;
}

.btn-link {
  color: #388e3c;
  text-decoration: none;
}

.btn-link:hover {
  color: #1b5e20;
  text-decoration: underline;
}

/* ==== Footer text ==== */
small.text-muted {
  color: #4e944f !important;
}

/* ==== Responsif Tambahan ==== */
/*@media (max-width: 576px) {
  .card-title {
    font-size: 1.25rem;
  }

  .form-check-label {
    font-size: 0.9rem;
  }
}*/
