/**
 * components.css — All shared UI components from insan-kelana-v8 prototype.
 * Match prototype naming (short abbreviations): .card, .btn, .pill, .mcard, .nbar, .field, .ph-*, etc.
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--card); border-radius: var(--r2);
  box-shadow: var(--shadow-sm); padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--g2);
}
.card-hero {
  background: linear-gradient(135deg, #0e8a7a, #0a3d52);
  color: #fff;
  border-radius: var(--r3); padding: 18px;
  margin-bottom: 14px;
}
.card-hero .pill { background: rgba(255,255,255,.2); color: #fff; }
.card-hero h1, .card-hero h2, .card-hero h3 { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS (prototype .btn system)
   ═══════════════════════════════════════════════════════════════════════════ */
.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-danger, .btn-success {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 18px;
  border-radius: var(--r);
  font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .15s;
  text-align: center; min-height: 42px;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:active { background: var(--primary-dark); }
.btn-primary:hover { color: #fff; text-decoration: none; }
.btn-secondary { background: var(--g1); color: var(--t1); border: 1.5px solid var(--g3); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-danger { background: var(--err); color: #fff; }
.btn-success { background: var(--ok); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12px; min-height: 32px; }
.btn-lg { padding: 14px 22px; font-size: 15px; min-height: 48px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════════════════
   PILLS / BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1.3;
}
.pill-ok, .pill.ok, .pill.primary { background: var(--ok-bg); color: var(--ok); }
.pill-warn, .pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill-err, .pill.err { background: var(--err-bg); color: var(--err); }
.pill-info, .pill.info { background: var(--info-bg); color: var(--info); }
.pill-neutral, .pill.neutral { background: var(--g1); color: var(--t2); }

/* Status-specific pills (booking lifecycle) */
.pill.status-pending_dp, .pill.status-pending_verification, .pill.status-pelunasan_due { background: var(--warn-bg); color: var(--warn); }
.pill.status-dp_paid, .pill.status-confirmed, .pill.status-fully_paid, .pill.status-checked_in, .pill.status-completed, .pill.status-aktif { background: var(--ok-bg); color: var(--ok); }
.pill.status-rejected, .pill.status-cancelled, .pill.status-suspended, .pill.status-keluar { background: var(--err-bg); color: var(--err); }
.pill.status-refunded { background: var(--info-bg); color: var(--info); }
.pill.status-pending { background: var(--warn-bg); color: var(--warn); }

/* ═══════════════════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.tabs {
  display: flex; gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--g2);
  overflow-x: auto;
}
.tab {
  padding: 7px 12px; border-radius: var(--r);
  background: var(--g1); color: var(--t2);
  font-size: 12px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.tab.on, .tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   NOTICE BARS / ALERTS
   ═══════════════════════════════════════════════════════════════════════════ */
.nbar, .alert {
  padding: 10px 12px; border-radius: var(--r2);
  font-size: 12px; display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 10px; line-height: 1.4;
}
.nbar.ok, .alert-ok { background: var(--ok-bg); color: #166534; border: 1px solid #86efac; }
.nbar.warn, .alert-warn { background: var(--warn-bg); color: #c2410c; border: 1px solid #fdba74; }
.nbar.info, .alert-info { background: var(--info-bg); color: #1e40af; border: 1px solid #93c5fd; }
.nbar.err, .alert-err { background: var(--err-bg); color: #991b1b; border: 1px solid #fca5a5; }
.nbar ul, .alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ═══════════════════════════════════════════════════════════════════════════
   MITRA CARD (prototype .mcard)
   ═══════════════════════════════════════════════════════════════════════════ */
.mcard {
  background: #fff; border-radius: var(--r2); overflow: hidden;
  margin-bottom: 12px; box-shadow: var(--shadow);
  border: 1.5px solid var(--g2);
  cursor: pointer; transition: transform .15s;
  display: block; text-decoration: none; color: inherit;
}
.mcard:hover { text-decoration: none; color: inherit; }
.mcard:active { transform: scale(.99); }
.mcard-img {
  height: 140px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.mcard-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}
.mcard-status {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
}
.mcard-body { padding: 12px 14px; }
.mcard-title { font-size: 15px; font-weight: 800; color: var(--t1); margin-bottom: 2px; }
.mcard-sub { font-size: 11px; color: var(--t3); margin-bottom: 8px; }
.mcard-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--g2); font-size: 11px; color: var(--t2); }
.mcard-rating { color: var(--accent); font-weight: 700; }
.mcard-price { font-weight: 800; color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   PHOTO PLACEHOLDERS (gradient-based, per mitra/kamar)
   ═══════════════════════════════════════════════════════════════════════════ */
.ph { position: relative; overflow: hidden; }
.ph-vm { background: linear-gradient(135deg, #0e7490, #0891b2 40%, #06b6d4 70%, #67e8f9); }
.ph-pt { background: linear-gradient(135deg, #134e4a, #0d9488 50%, #14b8a6); }
.ph-mh { background: linear-gradient(135deg, #064e3b, #059669 50%, #10b981); }
.ph-vp { background: linear-gradient(135deg, #1e3a5f, #1a7fa3 50%, #2e86c1); }
.ph-beach { background: linear-gradient(180deg, #fde68a 0%, #f59e0b 45%, #0ea5e9 55%, #0284c7 100%); }
.ph-snork { background: linear-gradient(135deg, #0284c7, #06b6d4 50%, #22d3ee); }
.ph-room { background: linear-gradient(135deg, #475569, #64748b 50%, #94a3b8); }
.ph-evt { background: linear-gradient(135deg, #7c2d12, #ea580c 50%, #f97316); }

/* Kamar-specific */
.ph-kamar-mel { background: linear-gradient(135deg, #0e7490, #0891b2); }
.ph-kamar-ken { background: linear-gradient(135deg, #15803d, #16a34a); }
.ph-kamar-maw { background: linear-gradient(135deg, #be185d, #ec4899); }
.ph-kamar-dah { background: linear-gradient(135deg, #7e22ce, #a855f7); }
.ph-kamar-ang { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.ph-kamar-ter { background: linear-gradient(135deg, #166534, #22c55e); }
.ph-kamar-cem { background: linear-gradient(135deg, #a16207, #eab308); }
.ph-kamar-mh1 { background: linear-gradient(135deg, #0c4a6e, #0284c7); }
.ph-kamar-mh2 { background: linear-gradient(135deg, #831843, #be185d); }
.ph-kamar-mh3 { background: linear-gradient(135deg, #6b21a8, #a855f7); }
.ph-kamar-mh4 { background: linear-gradient(135deg, #065f46, #10b981); }
.ph-kamar-mh5 { background: linear-gradient(135deg, #b45309, #d97706); }

/* ═══════════════════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════════════════ */
.field { margin-bottom: 14px; }
.field-lbl {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--t2); text-transform: uppercase; letter-spacing: .3px;
  margin-bottom: 5px;
}
.field-help { font-size: 11px; color: var(--t3); margin-top: 4px; }
.field-err { font-size: 11px; color: var(--err); margin-top: 4px; }

/* Map form label elements from our existing views */
.form-step { background: var(--card); padding: 14px; margin: 0 12px 12px; border-radius: var(--r2); box-shadow: var(--shadow-sm); border: 1px solid var(--g2); }
.form-step label { display: block; margin-bottom: 12px; font-size: 12px; color: var(--t2); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.form-step label input, .form-step label textarea, .form-step label select { margin-top: 4px; text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 14px; color: var(--t1); }
.step-title { font-size: 13px; font-weight: 800; margin: 0 0 10px; color: var(--t1); display: flex; align-items: center; gap: 8px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; }
.hint { display: block; font-size: 11px; color: var(--t3); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   CHAT FAB (WhatsApp CS floating button, prototype .chat-fab)
   ═══════════════════════════════════════════════════════════════════════════ */
.wa-float, .chat-fab {
  position: fixed;
  bottom: 90px;
  right: 16px;
  background: #25d366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
  cursor: pointer;
  z-index: 60;
  font-size: 26px;
  text-decoration: none;
  transition: transform .15s;
}
.wa-float:hover, .chat-fab:hover { transform: scale(1.05); color: #fff; text-decoration: none; }
.wa-float:active, .chat-fab:active { transform: scale(.95); }
.wa-float-label { display: none; }

/* On wider screens: pin chat-fab to inner-right of the 420px shell */
@media (min-width: 480px) {
  .wa-float, .chat-fab {
    right: max(16px, calc(50vw - var(--app-max-width) / 2 + 16px));
  }
}

/* Hide chat-fab on admin-style layouts */
body.admin-body .chat-fab,
body.mitra-body .chat-fab,
body.pemdes-body .chat-fab,
body.kapal-body  .chat-fab,
body.dkp-body    .chat-fab,
body.admin-body .wa-float,
body.mitra-body .wa-float,
body.pemdes-body .wa-float,
body.kapal-body  .wa-float,
body.dkp-body    .wa-float { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CALENDAR (prototype .cal)
   ═══════════════════════════════════════════════════════════════════════════ */
.cal { background: #fff; border-radius: var(--r2); padding: 12px; border: 1px solid var(--g2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav { width: 28px; height: 28px; border-radius: 6px; background: var(--g1); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dn { font-size: 10px; font-weight: 700; color: var(--t3); text-align: center; padding: 4px 0; }
.cal-d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; position: relative; border: 1.5px solid transparent; }
.cal-d.empty { cursor: default; opacity: .3; }
.cal-d.past { color: var(--t3); cursor: not-allowed; }
.cal-d.avail { background: #dcfce7; color: #166534; }
.cal-d.partial { background: #ffedd5; color: #c2410c; }
.cal-d.full { background: #fee2e2; color: #991b1b; cursor: not-allowed; }
.cal-d.blocked { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; text-decoration: line-through; }
.cal-d.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,138,122,.2); background: var(--primary) !important; color: #fff !important; }
.cal-lgd { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 10px; color: var(--t2); }
.cal-lgd div { display: flex; align-items: center; gap: 4px; }
.cal-lgd .dot { width: 10px; height: 10px; border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════════════════════
   OVERLAY / MODAL / SHEET (prototype .overlay + .sheet)
   ═══════════════════════════════════════════════════════════════════════════ */
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 100; display: flex; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.sheet { background: #fff; border-radius: 20px 20px 0 0; max-width: var(--app-max-width); width: 100%; margin: 0 auto; max-height: 85vh; overflow-y: auto; padding: 18px; transform: translateY(100%); transition: transform .25s; }
.overlay.on .sheet { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; background: var(--g3); border-radius: 2px; margin: 0 auto 12px; }

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST (prototype .toast)
   ═══════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%; transform: translateX(-50%);
  background: rgba(15,23,42,.95); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  z-index: 150; box-shadow: var(--shadow-lg);
  max-width: 85%; text-align: center;
  animation: toast-in .25s ease, toast-out .25s ease 4.5s forwards;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 20px); } }

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */
.row { display: flex; align-items: center; gap: 8px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.spacer { flex: 1; }
.center { text-align: center; }
.bold { font-weight: 700; }
.small { font-size: 11px; }
.muted { color: var(--t3); }
.primary-color { color: var(--primary); }
.danger-color { color: var(--err); }
.success-color { color: var(--ok); }
.sep { height: 1px; background: var(--g2); margin: 10px 0; }
.hidden { display: none !important; }
.flex { display: flex; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════
   LEGACY CLASSES (mappings from Phase 1-3 views to prototype names)
   Keeping old class names working + applying prototype styling on top
   ═══════════════════════════════════════════════════════════════════════════ */

/* Old .app-header → prototype .hdr (already done via base.css) */
/* But the old gradient-bg header at home/detail needs card-hero treatment */
.app-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 18px 16px;
  border-bottom-left-radius: var(--r3);
  border-bottom-right-radius: var(--r3);
  position: relative;
}
.app-header h1 { color: #fff; font-size: 18px; display: flex; align-items: center; gap: 8px; margin: 0; }
.app-header .tagline { font-size: 12px; opacity: .9; margin: 6px 0 0; }
.app-header .endorsers { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.app-header .pill { background: rgba(255,255,255,.18); color: #fff; border: 0; }
.app-header .meta-light { font-size: 11px; opacity: .85; margin: 6px 0 0; }
.app-header .back-btn-light { position: absolute; left: 12px; top: 18px; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.15); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 16px; }

/* Page header (secondary pages) */
.page-header {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  padding: 14px 16px;
  position: sticky; top: 0; z-index: 10;
  box-shadow: var(--shadow);
}
.page-header .back-btn {
  background: rgba(255,255,255,.15); color: #fff;
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 16px; flex-shrink: 0;
}
.page-header .back-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.page-header .title { flex: 1; min-width: 0; color: #fff; }
.page-header .title h1 { font-size: 15px; color: #fff; margin: 0; line-height: 1.2; }
.page-header .subtitle { font-size: 11px; color: rgba(255,255,255,.85); margin: 1px 0 0; }
.back-link { display: inline-block; font-size: 12px; color: var(--primary); margin-bottom: 6px; text-decoration: none; }

/* Quick stats (home) */
.quick-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.quick-stats .stat { background: var(--card); padding: 12px 8px; border-radius: var(--r); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--g2); }
.quick-stats .stat strong { display: block; font-size: 20px; color: var(--primary); font-weight: 800; }
.quick-stats .stat span { font-size: 10px; color: var(--t2); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }

.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }

/* Section title (between sections) */
.section-title {
  font-size: 13px; font-weight: 800;
  color: var(--t1); text-transform: uppercase; letter-spacing: .3px;
  margin: 18px 14px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title small { font-weight: 500; color: var(--t3); font-size: 11px; text-transform: none; letter-spacing: 0; }
.section-title a { color: var(--primary); text-decoration: none; }
.subsection { font-size: 13px; font-weight: 800; margin: 14px 12px 8px; text-transform: uppercase; letter-spacing: .3px; color: var(--t1); }

/* Mitra-card legacy (map to prototype mcard) */
.mitra-card-link { display: block; color: inherit; text-decoration: none; margin: 0 12px; }
.mitra-card-link:hover { text-decoration: none; }
.mitra-card { background: #fff; border-radius: var(--r2); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow); border: 1.5px solid var(--g2); }
.mitra-card .photo-placeholder { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 56px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; }
.mitra-card .body { padding: 12px 14px; }
.mitra-card .label { font-size: 15px; font-weight: 800; margin: 0 0 2px; color: var(--t1); }
.mitra-card .meta { font-size: 11px; color: var(--t3); margin-bottom: 6px; }
.mitra-card .tagline { font-size: 12px; color: var(--t2); margin-bottom: 8px; line-height: 1.45; }
.mitra-card .footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--t2); border-top: 1px dashed var(--g2); padding-top: 8px; }
.mitra-card .rating { color: var(--accent); font-weight: 800; }
.mitra-card .price strong { color: var(--primary); font-weight: 800; }

/* Paket card (villa detail) */
.paket-card { background: #fff; border-radius: var(--r2); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); border: 1px solid var(--g2); position: relative; }
.paket-badge { position: absolute; top: -7px; right: 12px; padding: 3px 10px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 10px; font-weight: 800; }
.paket-name { font-size: 15px; font-weight: 800; margin: 0 0 2px; color: var(--t1); }
.paket-meta { font-size: 11px; color: var(--t3); margin: 0 0 8px; }
.paket-price { font-size: 12px; margin: 0 0 10px; color: var(--t2); }
.paket-price strong { color: var(--primary); font-size: 18px; font-weight: 800; }
.paket-includes { list-style: none; padding: 0; margin: 0 0 10px; font-size: 11px; color: var(--t2); }
.paket-includes li { padding: 3px 0; border-bottom: 1px dashed var(--g1); }
.paket-includes li.more { color: var(--primary); font-weight: 700; border: 0; }

/* Kamar grid */
.kamar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kamar-card { background: #fff; padding: 10px; border-radius: var(--r); border: 1px solid var(--g2); }
.kamar-card .kamar-emoji { font-size: 22px; display: block; }
.kamar-card strong { font-size: 12px; font-weight: 800; display: block; margin-top: 2px; }
.kamar-card small { font-size: 10px; color: var(--t3); }
.kamar-card .kamar-keunikan { font-size: 10px; color: var(--t2); margin: 4px 0 0; line-height: 1.3; }

/* Addon row */
.addon-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #fff; border-radius: var(--r); margin-bottom: 6px; border: 1px solid var(--g2); }
.addon-row strong { display: block; font-size: 12px; font-weight: 700; }
.addon-row small { font-size: 11px; color: var(--t3); display: block; margin-top: 2px; }
.addon-price { font-size: 12px; color: var(--primary); font-weight: 800; white-space: nowrap; margin-left: 10px; }

/* Sticky CTA */
.sticky-cta { position: sticky; bottom: 70px; padding: 10px 12px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--g2); z-index: 40; margin: 0 -12px; }

/* Filter pills (horizontal scroll) */
.filter-pills { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; margin: 0 -12px 8px; background: #fff; border-bottom: 1px solid var(--g2); }
.filter-pills .pill { padding: 6px 12px; border-radius: 999px; background: var(--g1); border: 1.5px solid transparent; font-size: 12px; font-weight: 600; color: var(--t2); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.filter-pills .pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Explore tiles */
.explore-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; padding: 14px; border-radius: var(--r2); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); border: 1px solid var(--g2); }
.explore-tile:hover { border-color: var(--primary-light); text-decoration: none; }
.explore-tile.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.explore-tile .icon { font-size: 28px; }
.explore-tile strong { font-size: 13px; font-weight: 800; }
.explore-tile small { font-size: 10px; opacity: .85; }

/* Article row / card */
.article-row { display: flex; gap: 10px; align-items: center; padding: 10px; background: #fff; border-radius: var(--r); margin-bottom: 6px; text-decoration: none; color: inherit; border: 1px solid var(--g2); }
.article-row .article-icon { font-size: 24px; flex-shrink: 0; }
.article-row .article-meta strong { display: block; font-size: 12px; font-weight: 700; color: var(--t1); }
.article-row .article-meta span { font-size: 10px; color: var(--t3); }
.article-card { display: flex; gap: 10px; padding: 12px; background: #fff; border-radius: var(--r2); margin-bottom: 10px; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); border: 1px solid var(--g2); }
.article-card .article-icon-big { font-size: 40px; flex-shrink: 0; }
.article-card h3 { font-size: 13px; font-weight: 800; margin: 0 0 2px; }
.article-card .muted { font-size: 11px; color: var(--t2); margin: 0 0 4px; line-height: 1.4; }
.article-card small { font-size: 10px; color: var(--t3); }

/* Info list */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 7px 0; border-bottom: 1px dashed var(--g2); font-size: 12px; color: var(--t2); line-height: 1.5; }
.info-list li:last-child { border: 0; }

/* Detail rows */
.detail-rows { display: flex; flex-direction: column; gap: 4px; }
.detail-rows > div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--g2); font-size: 12px; }
.detail-rows > div:last-child { border: 0; }
.detail-rows span:first-child { color: var(--t3); }
.detail-rows strong { color: var(--t1); font-weight: 700; }

/* Footer */
.app-footer { text-align: center; font-size: 10px; color: var(--t3); padding: 14px; margin-top: 10px; line-height: 1.6; }

/* Info cards (home) */
.info-card { background: #fff; padding: 12px; border-radius: var(--r2); margin-bottom: 8px; border: 1px solid var(--g2); }
.info-card .card-title { font-size: 13px; font-weight: 800; margin-bottom: 4px; color: var(--t1); }
.info-card .card-text { font-size: 12px; color: var(--t2); margin: 0; line-height: 1.5; }

/* Trip card (open trip) */
.trip-card { display: flex; gap: 10px; padding: 10px; background: #fff; border-radius: var(--r2); margin-bottom: 8px; text-decoration: none; color: inherit; border: 1px solid var(--g2); }
.trip-card .trip-cover { font-size: 36px; flex-shrink: 0; align-self: center; }
.trip-card h3 { font-size: 13px; font-weight: 800; margin: 0 0 2px; }
.trip-card .muted { font-size: 11px; color: var(--t2); margin: 0 0 3px; }
.trip-card small { display: block; font-size: 10px; color: var(--t3); }
.trip-card .trip-price { display: block; margin-top: 4px; color: var(--primary); font-weight: 800; }

/* UMKM card */
.umkm-card { display: flex; gap: 10px; padding: 10px; background: #fff; border-radius: var(--r); margin-bottom: 6px; text-decoration: none; color: inherit; border: 1px solid var(--g2); align-items: center; }
.umkm-card > div:first-child { flex: 1; }
.umkm-card h3 { font-size: 13px; font-weight: 800; margin: 0 0 2px; }
.umkm-card p { font-size: 11px; color: var(--t2); margin: 0; }
.umkm-price { text-align: right; flex-shrink: 0; }
.umkm-price strong { color: var(--primary); display: block; font-size: 13px; font-weight: 800; }
.umkm-price small { color: var(--t3); font-size: 10px; }

/* POI row */
.poi-row { padding: 10px 12px; margin-bottom: 6px; background: #fff; border-radius: var(--r); border: 1px solid var(--g2); }
.poi-row strong { display: block; font-size: 12px; font-weight: 800; }
.poi-row p { font-size: 11px; color: var(--t2); margin: 2px 0 4px; }
.poi-row small { font-size: 10px; color: var(--t3); }

/* Booking success specific */
.success-card { text-align: center; padding: 18px; background: #fff; border-radius: var(--r2); box-shadow: var(--shadow-sm); }
.success-icon { font-size: 56px; margin-bottom: 8px; }
.success-message { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.kode-display { background: var(--g1); padding: 12px; border-radius: var(--r); margin: 12px 0; }
.kode-display small { display: block; font-size: 10px; color: var(--t3); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.kode-display h2 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 800; color: var(--primary-dark); margin: 4px 0 0; }
.kode-display .kode-pendek { font-family: ui-monospace, monospace; color: var(--t3); font-size: 11px; margin-top: 4px; display: block; }
.qr-display { padding: 14px 0; }
.qr-display #qrcode { display: inline-block; padding: 8px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.qr-display small { display: block; margin-top: 6px; color: var(--t3); font-size: 10px; }

.price-summary > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; border-bottom: 1px dashed var(--g2); }
.price-summary > div:last-child { border: 0; }
.price-summary .total-row { border-top: 1px solid var(--g3); border-bottom: none; font-size: 14px; font-weight: 800; padding-top: 8px; margin-top: 4px; }
.price-summary .dp-row { color: var(--ok); font-weight: 700; }

.pay-card { background: #fefce8; border: 1px solid #fde68a; padding: 14px; border-radius: var(--r2); margin-bottom: 10px; }
.pay-card p { font-size: 12px; line-height: 1.5; margin: 0 0 8px; }
.bank-info-selected { background: #fff; padding: 12px; border-radius: var(--r); margin: 8px 0; border: 1px dashed var(--g3); }
.bank-info-selected .rek-no { font-family: ui-monospace, monospace; font-size: 16px; color: var(--primary-dark); font-weight: 800; user-select: all; }

.copy-btn { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--primary-light); color: var(--primary-dark); border: 1px solid var(--primary); border-radius: var(--r); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .15s; margin-left: 6px; }
.copy-btn:hover { background: var(--primary); color: #fff; }
.copy-btn.copied { background: var(--ok); color: #fff; border-color: var(--ok); }

.qris-display { background: #fff; padding: 14px; border-radius: var(--r2); text-align: center; border: 2px dashed var(--primary); margin: 8px 0; }
.qris-display img { max-width: 260px; width: 100%; display: block; margin: 8px auto; }
.qris-display small { display: block; margin-top: 4px; color: var(--t3); font-size: 11px; }

/* Booking form specifics */
.paket-radios { display: flex; flex-direction: column; gap: 8px; }
.paket-radio { display: flex; gap: 10px; padding: 12px; border: 1.5px solid var(--g2); border-radius: var(--r); cursor: pointer; margin: 0 !important; }
.paket-radio.selected { border-color: var(--primary); background: rgba(14,138,122,.05); }
.paket-radio input { margin-top: 2px; flex-shrink: 0; }
.paket-radio-body strong { display: block; font-size: 13px; font-weight: 800; }
.paket-radio-body .meta { display: block; font-size: 10px; color: var(--t3); margin-top: 1px; text-transform: none; font-weight: 400; letter-spacing: 0; }
.paket-radio-body .price { display: block; font-size: 14px; color: var(--primary); font-weight: 800; margin-top: 4px; }

.addon-list { display: flex; flex-direction: column; gap: 6px; }
.addon-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--g2); border-radius: var(--r); cursor: pointer; margin: 0 !important; background: #fff; }
.addon-check input { flex-shrink: 0; }
.addon-check > span { flex: 1; text-transform: none; letter-spacing: 0; font-weight: 400; }
.addon-check strong { display: block; font-size: 12px; font-weight: 800; }
.addon-check small { font-size: 10px; color: var(--t3); }

.bayar-radios { display: flex; flex-direction: column; gap: 6px; }
.bayar-radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--g2); border-radius: var(--r); cursor: pointer; margin: 0 !important; background: #fff; text-transform: none; letter-spacing: 0; font-weight: 400; }
.bayar-radio input { flex-shrink: 0; }
.bayar-radio strong { display: block; font-size: 12px; font-weight: 800; }
.bayar-radio small { font-size: 10px; color: var(--t3); }

.price-preview { background: linear-gradient(135deg, var(--primary-light), #fff); margin: 0 12px 12px; padding: 14px; border-radius: var(--r2); border: 1px solid var(--primary-light); }
.price-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; }
.price-row.total { border-top: 1px solid rgba(15,23,42,.15); padding-top: 8px; margin-top: 6px; font-size: 14px; font-weight: 800; }
.price-row.dp { color: var(--ok); font-weight: 800; }
.price-row.pelunasan { color: var(--t2); font-size: 11px; }

.manifest-row { margin-bottom: 8px; }
.blocked-info { margin-top: 6px; font-size: 11px; }
.blocked-info summary { color: var(--warn); cursor: pointer; }
.blocked-info ul { margin: 6px 0 0; padding-left: 18px; }

/* Booking detail meta */
.lead { font-size: 13px; color: var(--t1); font-weight: 500; margin: 0 0 6px; line-height: 1.5; }
.highlights { list-style: none; padding: 0; margin: 0; }
.highlights li { padding: 6px 0; border-bottom: 1px dashed var(--g2); font-size: 12px; color: var(--t2); line-height: 1.5; }
.highlights li:last-child { border: 0; }

.muted-center { text-align: center; color: var(--t3); padding: 20px 12px; font-size: 12px; }

/* Cek booking */
.cek-form { background: var(--card); padding: 14px; border-radius: var(--r2); border: 1px solid var(--g2); }
.cek-form label { display: block; margin-bottom: 10px; font-size: 11px; color: var(--t2); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.cek-form label input { margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--t1); text-transform: none; letter-spacing: normal; }

/* Account (customer) */
.akun-hero { text-align: center; padding: 24px 12px; }
