/* ============================================================
   event-center-booking.css - OHTCC Event Center Booking Form
   ============================================================ */

.event-booking-wrap {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 16px;
}

.event-booking-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: #fff8e1;
  border: 1px solid #f5c97a;
  border-left: 4px solid #cc4e00;
  border-radius: 8px;
  padding: 16px 20px;
  color: #3a1a00;
  line-height: 1.6;
}

.event-booking-intro p {
  margin: 0 0 8px;
}

.event-booking-intro p:last-child {
  margin-bottom: 0;
}

.event-booking-intro i {
  color: #cc4e00;
  margin-right: 6px;
}

.required-note {
  color: #666;
  font-size: .84rem;
  margin: 0 0 6px;
}

.required-note span,
.form-label span,
.event-policy-ack strong {
  color: #dc3545;
}

.header-box {
  background: linear-gradient(180deg, #cc4e00, #b04600);
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 13px 20px;
  border-radius: 8px 8px 0 0;
}

.header-box i {
  margin-right: 6px;
}

.form-card {
  background: #fff;
  border: 1px solid #e0c89a;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 24px 28px 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.form-label {
  color: #3a1a00;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-control,
.form-select {
  border: 1.5px solid #d4b896;
  border-radius: 8px;
  color: #333;
  font-size: .97rem;
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
  border-color: #cc4e00;
  box-shadow: 0 0 0 3px rgba(204,78,0,.15);
  outline: none;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.field-error {
  border-color: #dc3545 !important;
}

.error-msg {
  color: #dc3545;
  display: none;
  font-size: .8rem;
  margin-top: 4px;
}

.error-msg.show {
  display: block;
}

#otherEventWrap {
  display: none;
}

.event-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-checkbox-grid label,
.event-policy-ack label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e0c89a;
  border-radius: 8px;
  background: #fffdf5;
  color: #3a1a00;
  cursor: pointer;
  font-weight: 650;
  padding: 11px 12px;
}

.event-checkbox-grid input,
.event-policy-ack input {
  margin-top: 4px;
}

.event-policy-ack {
  background: #f0faf5;
  border: 1px solid #a8d8be;
  border-left: 4px solid #2f6b4f;
  border-radius: 8px;
  padding: 12px;
}

.event-policy-ack label {
  border: none;
  background: transparent;
  padding: 0;
}

.event-submit-error {
  display: none;
  max-width: 820px;
  margin: 8px auto 0;
  border: 1px solid #dc3545;
  border-left: 4px solid #dc3545;
  border-radius: 8px;
  background: #fff5f5;
  color: #842029;
  font-weight: 700;
  padding: 12px 16px;
}

.btn-event-submit,
.btn-event-reset,
.btn-modal-close {
  align-items: center;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.02rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 12px 34px;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-event-submit {
  background: linear-gradient(135deg, #ff9800, #ffeb3b);
  border: none;
  color: #7a0c10;
}

.btn-event-reset {
  background: #fff;
  border: 2px solid #cc4e00;
  color: #7a0c10;
}

.btn-event-submit:hover,
.btn-event-reset:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

#successModal {
  align-items: center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 9999;
}

#successModal.show {
  display: flex;
}

.modal-inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  max-width: 500px;
  overflow: hidden;
  width: 100%;
}

.modal-top {
  background: linear-gradient(135deg, #cc4e00, #b04600);
  padding: 28px 32px 20px;
  text-align: center;
}

.modal-top .emoji {
  font-size: 3rem;
  margin-bottom: 8px;
}

.modal-top h3 {
  color: #fff;
  margin: 0;
}

.modal-body-inner {
  color: #3a1a00;
  line-height: 1.6;
  padding: 22px 28px 26px;
  text-align: center;
}

.modal-body-inner a {
  color: #cc4e00;
  font-weight: 700;
}

.btn-modal-close {
  background: #cc4e00;
  border: none;
  color: #fff;
  margin-top: 12px;
}

.text-muted i {
  color: #cc4e00;
}

@media (max-width: 576px) {
  .event-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 20px 18px 22px;
  }

  .btn-event-submit,
  .btn-event-reset {
    width: 100%;
  }
}
