/* Legacy customer booking_form palette, scoped to this form. */
.hv-booking-form {
  --julife-accent: #e67e22;
  --julife-accent-hover: #d35400;
  --julife-accent-deep: #d35400;
  --julife-accent-rgb: 230 126 34;
  background: #fdfaf6 url("assets/background.png") center top / cover no-repeat fixed;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #5a4f44;
  font-size: 16px;
  line-height: 1.6;
}
.hv-booking-form .booking-container {
  position: relative;
  max-width: 850px;
  margin: 2.5rem auto;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(133, 111, 89, .2);
  overflow: visible;
}
.hv-booking-form .booking-header {
  background: linear-gradient(135deg, #e67e22, #d35400);
  padding: 2.5rem;
  border-radius: 24px 24px 0 0;
}
.hv-booking-form .booking-header h1 { font-size: 2.5rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, .2); }
.hv-booking-form .booking-header p { font-size: 1.1rem; margin: 0 0 1rem; }
.hv-booking-form .header-stamp-img-right { position: absolute; top: 80px; right: 0; width: 150px; z-index: 10; transform: translateX(50%) rotate(15deg); opacity: .9; pointer-events: none; }
.hv-booking-form .stamp-deco { position: absolute; width: 60px; z-index: 10; opacity: .8; pointer-events: none; }
/* Freeze the positions and angles from the user's open page on 2026-11-13. */
.hv-booking-form .stamp-deco-left-top { top: 31.6806%; left: 0; transform: translateX(-49.4775%) rotate(2.01154deg); }
.hv-booking-form .stamp-deco-left-bottom { top: 51.3517%; left: 0; transform: translateX(-47.8313%) rotate(-38.8287deg); }
/* JS aligns this leaf with the safety notice when that text is present. */
.hv-booking-form .stamp-deco-right-top { top: 20.4842%; right: 0; transform: translateX(46.4103%) rotate(8.61146deg); }
.hv-booking-form .stamp-deco-right-bottom { top: 62.8082%; right: 0; transform: translateX(41.6934%) rotate(-14.5105deg); }
.hv-booking-form .booking-form { padding: 2rem 2.5rem; }
.hv-booking-form .form-section { margin-bottom: 2.5rem; padding: 1.5rem; background: rgba(255, 255, 255, .5); border-radius: 16px; border-left: 5px solid var(--julife-accent); }
.hv-booking-form .form-section:focus-within { box-shadow: 0 4px 15px rgb(var(--julife-accent-rgb) / .15); }
.hv-booking-form .form-section h5 { color: var(--julife-accent-deep); font-size: 1.25rem; margin-bottom: 1.25rem; border: 0; padding: 0; }
.hv-booking-form .form-label { font-size: 1rem; font-weight: 500; color: #5a4f44; margin-bottom: .5rem; }
.hv-booking-form .form-control,
.hv-booking-form .form-select { min-height: 50px; border: 1px solid #ddd; border-radius: 10px; padding: .75rem 1rem; font-size: 1rem; background-color: #fff; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05); }
.hv-booking-form .form-select { padding-right: 2.5rem; }
.hv-booking-form .form-control:focus,
.hv-booking-form .form-select:focus { border-color: var(--julife-accent); box-shadow: 0 0 0 .25rem rgb(var(--julife-accent-rgb) / .25); }
.hv-booking-form .age-options { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.hv-booking-form .choice-option { min-height: 50px; padding: .75rem; border-width: 1px; border-radius: 8px; font-size: 1rem; font-weight: 400; }
.hv-booking-form .custom-option { min-height: 64px; border: 2px solid transparent; padding: 1rem; font-size: 1rem; box-shadow: 0 2px 5px rgba(0, 0, 0, .05); }
.hv-booking-form .choice-option:focus-visible,
.hv-booking-form .custom-option:focus-visible { outline: 3px solid var(--julife-accent); outline-offset: 2px; }
.hv-booking-form .custom-option:hover { border-color: var(--julife-accent); }
.hv-booking-form .custom-option.selected { border-color: var(--julife-accent-deep); }
/* Match the customer template: one full-width, centered card per period. */
.hv-booking-form #periods_container { grid-template-columns: minmax(0, 1fr); }
.hv-booking-form #periods_container .custom-option { min-width: 0; min-height: 84px; text-align: center; }
.hv-booking-form #periods_container h6 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .5rem; }
.hv-booking-form #periods_container .badge { max-width: 100%; margin-left: 0 !important; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.hv-booking-form .notice-section { padding: 1.5rem; margin-bottom: 2rem; }
.hv-booking-form .notice-section h6 { margin-bottom: .75rem; }
.hv-booking-form .notice-section ul,
.hv-booking-form .notice-section ol { margin: 0; padding-left: 1.5rem; }
.hv-booking-form .notice-section li { font-size: .95rem; margin-bottom: .5rem; }
.hv-booking-form .notice-section a { color: var(--julife-accent); }
.hv-booking-form small,
.hv-booking-form .form-check-label { font-size: .9rem; color: #665c52; }
.hv-booking-form .privacy-section { background: #fdfaf6; margin-top: 2rem; }
.hv-booking-form .btn-submit { background: linear-gradient(135deg, #e67e22, #d35400); min-height: 60px; border-radius: 12px; padding: 1rem 2rem; font-size: 1.1rem; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(211, 84, 0, .3); }
.hv-booking-form .btn-submit:hover { box-shadow: 0 8px 25px rgba(211, 84, 0, .4); }
.hv-booking-form .btn-submit:disabled { background: #ccc; box-shadow: none; }
.hv-booking-form .lang-btn { min-width: 0; min-height: 32px; padding: .2rem .8rem; font-size: .85rem; font-weight: 400; }
.hv-booking-form .lang-btn.active,
.hv-booking-form .lang-btn:hover { color: var(--julife-accent-deep); background: white; }
@media (max-width: 767px) {
  .hv-booking-form { background-image: url("assets/sky.png"), url("assets/grass.png"); background-size: 100% auto, 100% auto; background-position: center top, center bottom; background-attachment: scroll; }
  .hv-booking-form .booking-container { width: auto; min-height: 0; margin: 4rem 1rem; border-radius: 24px; }
  .hv-booking-form .booking-header { padding: 4rem 1.5rem 1.5rem; }
  .hv-booking-form .booking-header h1 { font-size: 2rem; }
  .hv-booking-form .booking-form { padding: 1.5rem; }
  .hv-booking-form .header-stamp-img-right, .hv-booking-form .stamp-deco { display: none; }
  .hv-booking-form .form-section { padding: 1rem; }
  .hv-booking-form .age-options,
  .hv-booking-form .relationship-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-booking-form .lang-btn { min-height: 44px; }
}
