button {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

#popupForm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.form-container {
  border: 4px dotted rgb(206, 33, 70);
  background: #353433;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 750%;
  max-width: 600px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  color: rgb(31, 28, 28);
}

.form-container h2 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
  color: rgb(224, 220, 220);
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: rgb(226, 223, 223);
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #161515;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-container textarea {
  resize: vertical;
}

.form-container .submit-btn {
  width: 100%;
  background-color: #28a745;
  color: rgb(223, 219, 219);
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container .submit-btn:hover {
  background-color: #218838;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: rgb(236, 231, 231);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #e74c3c;
}

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

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #bbb; /* Warna border lebih soft */
  border-radius: 5px;
  background: #ececec; /* Abu-abu muda biar tidak terlalu putih */
  color: #333; /* Warna teks lebih gelap biar mudah dibaca */
}

input:focus,
textarea:focus {
  background: #e0e0e0; /* Warna sedikit lebih gelap saat fokus */
  border: 1px solid #db6c68; /* Highlight biru saat fokus */
  outline: none;
}
