/* Reset & color */
.jpc-osp * { box-sizing: border-box; }
.jpc-osp { --gold:#A58220; font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; max-width:560px; }
.jpc-osp button { cursor:pointer; background:#fff; border:2px solid var(--gold); color:var(--gold); font-weight:600; border-radius:14px; padding:14px 18px; line-height:1; }
.jpc-osp button:disabled { opacity:.45; cursor:not-allowed; }
.jpc-osp .jpc-osp-title { font-size:30px; font-weight:800; color:var(--gold); margin:8px 0 18px; }

/* Row hari */
.jpc-osp .jpc-osp-day-row { display:grid; grid-template-columns:1fr 1fr 1fr 72px; gap:18px; align-items:start; margin-bottom:24px; }
.jpc-osp .jpc-osp-day { display:grid; gap:8px; place-items:start; border-radius:16px; padding:16px; }
.jpc-osp .jpc-osp-day .l1 { font-size:22px; }
.jpc-osp .jpc-osp-day .l2 { font-size:20px; font-weight:700; }
.jpc-osp .jpc-osp-day.active { background:var(--gold); color:#fff; }

/* Calendar icon & labels */
.jpc-osp .jpc-osp-cal-wrap { display:grid; place-items:center; gap:6px; }
.jpc-osp .jpc-osp-cal-btn { width:72px; height:72px; display:grid; place-items:center; padding:0; border-radius:12px; }
.jpc-osp .jpc-osp-cal-btn svg { width:28px; height:28px; }
/* two-line labels (day above month) */
.jpc-osp .jpc-osp-cal-labels { display:grid; place-items:center; line-height:1.05; }
.jpc-osp .jpc-osp-cal-day { color:var(--gold); font-weight:900; font-size:22px; }
.jpc-osp .jpc-osp-cal-month { color:var(--gold); font-weight:800; font-size:16px; }

/* Dropdown jam */
.jpc-osp .jpc-osp-select-label { color:var(--gold); font-size:32px; font-weight:900; margin-bottom:10px; }
.jpc-osp .jpc-osp-dd-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; border-radius:10px; padding:18px; }
.jpc-osp .jpc-osp-dd { margin-top:14px; border:2px solid var(--gold); border-radius:14px; padding:18px; }
.jpc-osp .group-title { font-size:28px; font-weight:800; color:var(--gold); margin:6px 0 12px; }
.jpc-osp .group-slots { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:18px; }
.jpc-osp .jpc-osp-time { width:100%; border-radius:10px; padding:16px; font-size:24px; font-weight:800; }
.jpc-osp .jpc-osp-time.selected, .jpc-osp .jpc-osp-time:hover { background:var(--gold); color:#fff; }

/* CTA */
.jpc-osp .jpc-osp-cta { margin-top:18px; }
.jpc-osp .jpc-osp-submit { width:100%; background:var(--gold); color:#fff; border-color:var(--gold); font-size:28px; border-radius:10px; }

/* Popup Kalender (di dalam container) */
.jpc-osp .jpc-osp-popup { position:fixed; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.25); z-index:999999; }
.jpc-osp .jpc-osp-popin { background:#fff; width:340px; border:2px solid var(--gold); border-radius:16px; padding:12px; }
.jpc-osp .jpc-osp-pophead { display:grid; grid-template-columns:40px 1fr 40px 40px; gap:6px; align-items:center; margin-bottom:8px; }
.jpc-osp .jpc-osp-pophead button { padding:8px; border-radius:10px; }
.jpc-osp .jpc-osp-popmonth { text-align:center; font-weight:800; color:var(--gold); }
.jpc-osp .jpc-osp-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.jpc-osp .jpc-osp-grid .dow { text-align:center; font-weight:700; color:var(--gold); font-size:12px; }
.jpc-osp .jpc-osp-grid .cells { grid-column:1 / -1; display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.jpc-osp .jpc-osp-grid .cell { padding:10px 0; border:2px solid var(--gold); border-radius:10px; background:#fff; color:var(--gold); font-weight:700; }
.jpc-osp .jpc-osp-grid .cell.disabled { opacity:.4; }
.jpc-osp .jpc-osp-grid .empty { background:transparent; border:0; }

/* Responsif */
@media (max-width:520px){
  .jpc-osp .jpc-osp-day-row { grid-template-columns:1fr 1fr; }
  .jpc-osp .jpc-osp-cal-wrap { grid-column:2/3; justify-self:end; }
  .jpc-osp .group-slots { grid-template-columns:1fr; }
  .jpc-osp .jpc-osp-title { font-size:24px; }
  .jpc-osp .jpc-osp-select-label { font-size:24px; }
  .jpc-osp .jpc-osp-time { font-size:20px; }
  .jpc-osp .jpc-osp-submit { font-size:22px; }
}
