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

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #008281, #1A4255);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  position: relative; /* for close button */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.6s ease;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s ease;
}

.close-button:hover {
  color: #1A4255;
}

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

h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 25px;
  font-size: 28px;
}

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

/* first definition from your inline CSS */
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #000000;
  font-weight: 600;
}

/* inputs */
.form-group input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  transition: box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #66a6ff;
}

.row {
  display: flex;
  gap: 15px;
}

.row input {
  flex: 1;
}

.gender-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.gender-options label {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.submit-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg,  #ff471d);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.submit-button:hover {
  background: linear-gradient(135deg, #1A4255);
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .row { flex-direction: column; }
}

/* Dropdown with Checkboxes */
.dropdown-checkbox {
  position: relative;
  z-index: 10;
}

.dropdown-checkbox-button {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: left;
  color: #333;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-checkbox-button::after {
  content: "▾";
  font-size: 16px;
  color: #666;
}

.dropdown-checkbox-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid #ddd;
  padding: 10px 12px;
  max-height: 180px;
  overflow-y: auto;
}

.dropdown-checkbox-content label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: normal;
  font-size: 14px;
  color: #333;
}

.dropdown-checkbox-content input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #66a6ff;
}

.dropdown-checkbox.open .dropdown-checkbox-content {
  display: block;
}

/* second label definition from your inline CSS (overrides the first) */
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #1A4255;
  font-weight: 600;
  line-height: 1.4;
  font-size: 15px;
}
