.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #3A66A3;
}

.modal-content label {
  display: block;
  margin: 10px 0 5px;
  font-size: 14px;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #222;
  color: #fff;
}

.modal-submit {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #3A66A3;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal-submit:hover {
  background: #2c4f82;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  color: #aaa;
}

.modal-close:hover {
  color: #fff;
}

.modal-success {
  display: none;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}