* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f6f9;
  color: #333;
  line-height: 1.6;
  padding: 20px 10px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.banner {
  width: 100%;
  height: auto;
  display: block;
}

.content {
  padding: 24px 20px;
}

h1 {
  font-size: 20px;
  color: #1b4332;
  margin-bottom: 16px;
  text-align: center;
}

.announcement {
  background-color: #e8f5e9;
  border-left: 4px solid #2d6a4f;
  padding: 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 24px;
  white-space: pre-line;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #2b2b2b;
}

label .required {
  color: #d9534f;
}

label .optional {
  font-size: 12px;
  color: #666;
  font-weight: normal;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

select:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.section-divider {
  border-top: 1px solid #eee;
  margin: 24px 0 18px 0;
}

.btn-submit {
  width: 100%;
  background-color: #2d6a4f;
  color: #ffffff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #1b4332;
}

.btn-submit:disabled {
  background-color: #a5d6a7;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.thank-you-card {
  text-align: center;
  padding: 30px 20px;
}

.thank-you-card h2 {
  color: #2d6a4f;
  margin-bottom: 10px;
}

.summary-box {
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  margin: 20px 0;
  font-size: 14px;
}

.summary-item {
  margin-bottom: 8px;
}

.summary-item strong {
  color: #1b4332;
}
/* --- Custom Modal CSS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #ffffff;
  padding: 26px 24px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease-out;
}

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

.modal-box h3 {
  color: #2d6a4f;
  margin-bottom: 14px;
  font-size: 20px;
}

.modal-box p {
  font-size: 15px;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.5;
}
