/* Booking form for "Pesan Sekarang / Book Now" (js/pesan.js). Self-contained: the homepage
   doesn't load tokens.css, so the brand colours are written out here. */
html.pesan-open { overflow: hidden; }
.pesan-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 26, 18, 0.6);
}
.pesan-overlay[hidden], .pesan-overlay [hidden] { display: none !important; }
.pesan-dialog {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #FDFAF6; color: #2A2A2A; border-radius: 4px; padding: 32px 28px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.5; text-align: left;
}
.pesan-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px;
  border: 0; background: transparent; color: #666; font-size: 28px; line-height: 1; cursor: pointer;
}
.pesan-close:hover { color: #1A2E1F; }
.pesan-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: #A85A35; margin: 0 0 6px; }
.pesan-title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 32px; font-weight: 600; line-height: 1.1;
  color: #1A2E1F; margin: 0 0 16px; padding-right: 32px;
}
.pesan-summary { background: #F7F3EE; border-left: 3px solid #C4704A; padding: 14px 16px; margin: 0 0 20px; font-size: 14px; }
.pesan-scope { font-weight: 500; color: #1A2E1F; }
.pesan-rooms { display: flex; align-items: center; gap: 12px; margin: 10px 0 2px; }
.pesan-step {
  width: 44px; height: 44px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 2px;
  background: #fff; color: #1A2E1F; font-size: 20px; line-height: 1; cursor: pointer;
}
.pesan-step:disabled { opacity: 0.35; cursor: default; }
.pesan-count { min-width: 96px; text-align: center; font-weight: 500; }
.pesan-unit-hint { font-size: 12px; color: #666; margin-top: 6px; }
.pesan-unit-hint a { color: #1A2E1F; }
.pesan-investor { font-size: 12px; color: #2C4A32; margin-top: 6px; }
.pesan-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.pesan-amount { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; color: #A85A35; white-space: nowrap; }
.pesan-note { font-size: 12px; color: #666; margin-top: 4px; }
.pesan-form { margin: 0; }
.pesan-field { display: block; margin: 0 0 14px; font-size: 13px; font-weight: 500; color: #2A2A2A; }
.pesan-field input:not([type="checkbox"]) {
  display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-size: 16px; font-weight: 400; color: #2A2A2A;
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 2px;
}
.pesan-field input:focus { outline: 2px solid #C4704A; outline-offset: 1px; }
.pesan-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: #666; }
.pesan-err { display: none; margin-top: 4px; font-size: 12px; font-weight: 400; color: #B3261E; }
.pesan-field.has-error input:not([type="checkbox"]) { border-color: #B3261E; }
.pesan-field.has-error .pesan-err { display: block; }
.pesan-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.pesan-agree input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #1A2E1F; }
.pesan-agree a { color: #1A2E1F; }
.pesan-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pesan-submit {
  display: block; width: 100%; min-height: 50px; padding: 14px 20px; box-sizing: border-box;
  border: 0; border-radius: 2px; background: #1A2E1F; color: #fff; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0.3px; text-align: center; text-decoration: none;
}
.pesan-submit:hover { background: #2C4A32; color: #fff; }
.pesan-submit:disabled { opacity: 0.65; cursor: wait; }
.pesan-secure { margin: 10px 0 0; font-size: 12px; color: #666; text-align: center; }
.pesan-wa { display: block; margin-top: 14px; padding: 6px 0; font-size: 13px; color: #1A2E1F; text-align: center; }
.pesan-alert { margin: 0 0 14px; padding: 12px 14px; font-size: 13px; color: #5C3B00; background: #FFF4E5; border: 1px solid #F0C27B; }
.pesan-fb-body { margin: 0 0 20px; color: #444; }
@media (max-width: 480px) {
  .pesan-overlay { align-items: flex-end; padding: 0; }
  .pesan-dialog { max-width: none; max-height: 92vh; border-radius: 12px 12px 0 0; padding: 28px 20px 20px; }
  .pesan-title { font-size: 28px; }
}
