/* Modal backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

/* Modal container */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  padding: 20px 30px;
  width: 400px; /* fixed width or adjust as needed */
  height: 80vh;
  max-width: 190vw;
  z-index: 1001;
  /* No max-height and no scrolling */
  overflow: visible;
}


/* Modal header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

/* Close button */
.modal-header .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Form controls */
.modal form input[type="text"],
.modal form input[type="email"],
.modal form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical; /* only textarea resizable vertically */
}

/* Submit button */
.modal form button[type="submit"] {
  padding: 10px 20px;
  background-color: #28A645; /* blue */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal form button[type="submit"]:hover {
  background-color: #388E3C;
}
