body {
  font-family: 'Kanit', sans-serif;
  background: url("bg.png") no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  color: #fce4f9;
  box-sizing: border-box;
}

.banner img {
  width: 100%;
  display: block;
  max-height: 200px;
  object-fit: cover;
}

.form-container {
  max-width: 500px;
  margin: 60px auto 30px auto;
  background-color: rgba(28, 28, 28, 0.88);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(255, 94, 207, 0.15);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ff5ecf;
  font-size: 1.6rem;
}

input, select, textarea, button {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  margin-top: 4px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #222;
  color: #fce4f9;
}

textarea {
  resize: vertical;
}

button {
  margin-top: 20px;
  background-color: #ff5ecf;
  color: #1c1c1c;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ff89e0;
}

.flashes {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  background: #2c2c2c;
  color: #fff;
  font-size: 0.95rem;
  border-left: 4px solid #ff5ecf;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  background: rgba(255, 94, 207, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.checkbox-item:hover {
  transform: scale(1.02);
  background-color: rgba(255, 94, 207, 0.18);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff5ecf;
  cursor: pointer;
}

.popup {
  background-color: #2c2c2c;
  color: #ffdef4;
  box-shadow: 0 0 15px rgba(255, 94, 207, 0.1);
  padding: 10px;
  border-radius: 10px;
  border-left: 4px solid #ff5ecf;
}

.emoji-bounce {
  font-size: 2rem;
  animation: bounce 1.2s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.form-banner img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 94, 207, 0.3);
}

.footer-credit {
  text-align: center;
  margin-top: 30px;
  padding: 10px;
  color: #ffb5e5;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.footer-credit a {
  color: #ff5ecf;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #fff;
  text-shadow: 0 0 6px #ff5ecf;
}

input[type="text"] {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255,94,207,0.1);
}

input[type="text"]::placeholder {
  color: #ffc3ec;
}

input[type="text"]:focus {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 94, 207, 0.3);
  color: #fff;
}

.btn-dark {
  width: 100%;
  background-color: #3a283a;
  color: white;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-dark:hover {
  background-color: #5e3d5e;
}
