.paycal-paybox{
  border:1px solid #E3ECFA;
  border-radius:18px;
  padding:16px;
  margin:18px 0;
  background:#fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.paycal-paybox__header{
  padding:14px;
  border-radius:14px;
  background: linear-gradient(135deg, #0B2A4A, #1366D6);
  color:#fff;
}
.paycal-paybox__title{ font-size:18px; font-weight:800; }
.paycal-paybox__subtitle{ margin-top:6px; opacity:.95; color:#E6F4FF; }

.paycal-paybox__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:14px;
}
@media(max-width: 900px){
  .paycal-paybox__grid{ grid-template-columns:1fr; }
}

.paycal-row{ margin:8px 0; }
.paycal-label{ color:#64748B; margin-inline-end:6px; }
.paycal-value{ font-weight:800; color:#0F172A; }

.paycal-actions{ display:flex; gap:10px; margin:12px 0; flex-wrap:wrap; }
.paycal-btn{
  border:1px solid #E3ECFA;
  padding:10px 14px;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}
.paycal-btn--primary{
  border:none;
  color:#fff !important;
  background: linear-gradient(135deg, #1366D6, #23C5F2);
}

.paycal-note{
  margin-top:10px;
  padding:12px;
  border-radius:14px;
  background:#F5F9FF;
  border:1px solid #E3ECFA;
}

.paycal-timeline{
  margin-top:12px;
  display:grid;
  gap:8px;
  padding:12px;
  border-radius:14px;
  background:#F5F9FF;
  border:1px solid #E3ECFA;
}
.paycal-timeline__item{
  display:flex;
  align-items:center;
  gap:10px;
  color:#0F172A;
  font-weight:700;
}
.paycal-badge{
  width:26px;height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background: linear-gradient(135deg, #1366D6, #23C5F2);
  font-weight:900;
  flex:0 0 auto;
}

.paycal-tip{
  margin-top:10px;
  color:#0E4C8A;
  font-weight:800;
}

.paycal-qrwrap{
  min-height:240px;
  border-radius:16px;
  border:1px dashed #E3ECFA;
  background:#F5F9FF;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.paycal-muted{ color:#64748B; margin-top:10px; text-align:center; }

[data-paycal-debug],
.paycal-debug,
.paycal-api-response{
  display:none;
}

[data-paycal-hosted-checkout] pre,
[data-paycal-hosted-checkout] code,
.paycal-hosted-checkout pre,
.paycal-hosted-checkout code{
  display:none;
}

.paycal-payment-result{
  margin:20px auto;
  padding:18px;
  text-align:center;
  font-weight:800;
  color:#0F172A;
}
