 
/* Prevent background scroll when modal is open */
 

button {
  padding: 12px 24px;
  margin: 1rem;
  }

.footer {
  text-align: center;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  color: white;
  background-color: darkblue;
  border-top: 1px solid #e0e0e0;
}


  /* Button styles - changed CTA color to red (#b00020) */
  .openFormBtn {
    background-color: #b00020;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 20px 0 20px 0;
    cursor: pointer;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
  }
  .openFormBtn:hover,
  .openFormBtn:focus {
    background-color: #870015;
    outline: none;
  }

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

/* Scrollable modal */
.modal-content {
  background-color: darkblue;
  margin: 5% auto;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 520px;
  position: relative;
  text-align: left;
  max-height: 90vh;         /* Limits height */
  overflow-y: auto;         /* Enables scroll */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  font-weight: 500;
}

.closeBtn {
  position: absolute;
  right: 15px;
  top: 0;
  font-size: 2.5rem;
  cursor: pointer;
  color: yellow;
}

form input,
form select {
  width: 100%;
  padding: 14px;
  margin-top: 3px;
  margin-bottom: 18px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

form button {
  background: yellow;
  color: black;
  border: none; 
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background: white;
}

#responseMessage {
  margin-top: 10px;
  font-weight: bold;
}
