/* Minimal modal to match dashboard modals (no radius, light header/footer) */

/* Overlay + centering (same pattern as dashboard) */
.modal {
  display: none;
  position: fixed;
  z-index: 11000; /* on top of everything */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}

/* Dialog size close to your profile/api modals */
#contactModal .modal-dialog {
  width: 90vw;
  max-width: 600px;
  margin: 1.75rem auto;
}

/* Card look identical to dashboard */
#contactModal .modal-content {
  border-radius: 0 !important;
  border: 1px solid #dee2e6;
  box-shadow: none;
  background: #fff;
}

/* Header / footer like in dashboard */
#contactModal .modal-header,
#contactModal .modal-footer {
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* Typography + controls consistency */
#contactModal .modal-title {
  font-weight: 600;
}
#contactModal .form-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
#contactModal .form-control,
#contactModal .btn {
  border-radius: 0 !important;
}

/* Buttons match */
#contactModal .btn-primary {
  background: #0d6efd;
  border-color: #0d6efd;
}
#contactModal .btn-secondary {
  background: #6c757d;
  border-color: #6c757d;
}

/* Validation */
#contactModal .is-invalid {
  border-color: #dc3545;
}
#contactModal .invalid-feedback {
  display: block;
  font-size: 0.875rem;
}

/* Hide honeypot */
#contact-website.d-none {
  display: none !important;
}
