/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* SHOW STATE */
.modal-overlay.active {
  display: flex;
}

/* MODAL CONTAINER */
.modal-container {
  background: #111; /* Chimney black */
  color: #fff;
  width: 100%;
  max-width: 520px;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  position: relative;
  animation: modalFadeUp 0.4s ease;
}

/* ANIMATION */
@keyframes modalFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* HEADINGS */
.modal-container h2 {
  text-align: center;
  color: #e10600; /* Mr. Chimney red */
  margin-bottom: 8px;
}

.modal-subtext {
  text-align: center;
  margin-bottom: 25px;
  font-size: 15px;
  opacity: 0.9;
}

/* FORM ELEMENTS */
.modal-container input,
.modal-container select,
.modal-container textarea {
  width: 100%;
  padding: 13px;
  margin-bottom: 14px;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
}

.modal-container input::placeholder,
.modal-container textarea::placeholder {
  color: #aaa;
}

/* CTA BUTTON */
.modal-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e10600, #b80000);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(225,6,0,0.4);
}

/* STATUS MESSAGE */
#form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
}
