* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f7f6;
  color: #333;
  line-height: 1.6;
  padding: 20px 10px;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Header Image */
.form-header {
  width: 100%;
  background-color: #1b4d3e;
}

.header-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Intro Box */
.intro-box {
  padding: 25px 20px;
  background-color: #fcfdfc;
  border-bottom: 2px solid #e2ece9;
}

.intro-box h2 {
  color: #1b4d3e;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.intro-box .subtitle {
  color: #555;
  font-weight: 600;
  margin-bottom: 15px;
}

.intro-content p, .intro-content ul {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.intro-content ul {
  padding-left: 20px;
}

.intro-content .deadline {
  color: #c0392b;
  font-weight: bold;
  background-color: #fdf0ed;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
}

/* Form Styles */
form {
  padding: 20px;
}

.form-section {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9fbfb;
  border-radius: 8px;
  border: 1px solid #e5ede9;
}

.form-section h3 {
  font-size: 1.1rem;
  color: #1b4d3e;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.required {
  color: #e74c3c;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: #1b4d3e;
  box-shadow: 0 0 0 2px rgba(27, 77, 62, 0.15);
}

select:disabled {
  background-color: #eee;
  cursor: not-allowed;
}

.hint {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

/* Radio Cards */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.radio-card {
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.radio-card:hover {
  background: #f0f7f4;
}

/* Buttons */
.btn-submit {
  width: 100%;
  background-color: #1b4d3e;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #143a2f;
}

.btn-submit:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

/* Footer */
.form-footer {
  text-align: center;
  padding: 15px;
  background-color: #1b4d3e;
  color: #ffffff;
  font-size: 0.85rem;
}

/* Modal / Pop-up Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-card h3 {
  margin-bottom: 12px;
  color: #1b4d3e;
}

.modal-card ul {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 0.9rem;
}

.modal-card hr {
  margin: 12px 0;
  border: none;
  border-top: 1px solid #eee;
}

.btn-modal-close {
  margin-top: 20px;
  width: 100%;
  background-color: #1b4d3e;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}