/* ===== Bill pay page ===== */
body{background:#fff}
.bp-banner{position:relative;color:#fff;background:linear-gradient(rgba(0,40,150,.86),rgba(0,40,150,.86)),var(--banner-bg,none) center/cover;background-color:var(--secondary)}
.bp-banner .container{padding-top:80px;padding-bottom:110px}
.bp-banner .crumb{font-size:14px;color:#c9d5f7;margin-bottom:12px}
.bp-banner .crumb a{color:var(--primary)}
.bp-banner h1{font-size:48px;font-weight:800;letter-spacing:-.5px;line-height:1.15}
.bp-banner p{margin-top:22px;max-width:760px;font-size:18px;line-height:1.65;color:#dfe6fb}

.bp-banks h2,.bp-guide h2,.bp-card-pay h2{font-size:30px;font-weight:700;color:#4b5563;line-height:1.25}

/* Quick pay */
.bp-quick{scroll-margin-top:120px;margin-top:90px;display:grid;grid-template-columns:1fr 1fr;padding:72px 48px;border:1px solid #ecf3ff;border-radius:10px;background:linear-gradient(to top right,#fff 60%,#f6f9fe)}
.bp-quick-info{display:flex;flex-direction:column;gap:16px;padding-right:40px}
.bp-quick-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:#e8efff;color:var(--secondary)}
.bp-quick-icon svg{width:28px;height:28px}
.bp-quick h2{font-size:30px;font-weight:700;color:var(--secondary)}
.bp-quick-info p{max-width:92%;font-weight:500;color:#4a535f}
.bp-accepts{display:inline-flex;flex-wrap:wrap;align-items:center;gap:16px;align-self:flex-start;margin-top:8px;padding:12px 20px;border:1px solid #ecf3ff;border-radius:10px;background:#fff}
/* The bKash logo is a square file with wide margins, so a wide frame crops it to the artwork */
.bp-accept-bkash{display:block;width:96px;height:44px;object-fit:cover}
.bp-accept-methods{display:block;width:auto;height:52px}
.bp-quick-form{display:flex;flex-direction:column;justify-content:center;gap:16px;padding-left:48px;border-left:1px solid #ecf3ff}
.bp-quick-form label{font-weight:500;color:#4a535f}
.bp-field{display:flex;align-items:center;border:2px solid #ecf3ff;border-radius:10px;background:#fff;transition:border-color .2s}
.bp-field:focus-within{border-color:var(--secondary)}
.bp-field svg{flex:0 0 52px;width:20px;height:20px;padding:0 16px;box-sizing:content-box;color:var(--secondary);border-right:2px solid #ecf3ff}
.bp-field input{flex:1;min-width:0;border:none;outline:none;background:transparent;padding:13px 12px;font-family:inherit;font-size:15px;color:#111}
.bp-quick-form .btn{justify-content:center;margin-top:36px;padding:13px;border:none;border-radius:10px;font-family:inherit;font-size:15.5px;cursor:pointer}


/* bKash guide */
.bp-guide{padding-top:90px}
.bp-guide-card{margin-top:32px;padding:40px 44px;border:1px solid #fbe3ee;border-radius:16px;background:linear-gradient(to bottom right,#fff 55%,#fff4f9)}
.bp-guide-card.has-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:44px;align-items:center}
.bp-guide-body{min-width:0}
.bp-steps{list-style:none;display:grid;gap:14px}
.bp-step{position:relative;display:flex;align-items:flex-start;gap:16px;padding:16px 18px;border:1px solid #fbe3ee;border-radius:14px;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.bp-step:hover{border-color:#f5b3d0;box-shadow:0 12px 26px -16px rgba(226,19,110,.45);transform:translateX(3px)}
.bp-step:not(:last-child)::after{content:"";position:absolute;left:39px;top:100%;width:2px;height:14px;background:repeating-linear-gradient(#f2a3c6 0 3px,transparent 3px 6px)}
.bp-step-icon{flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#fde7f1;color:#e2136e;transition:background .2s,color .2s,box-shadow .2s}
.bp-step-icon svg{width:22px;height:22px}
.bp-step:hover .bp-step-icon,.bp-step.is-last .bp-step-icon{background:linear-gradient(135deg,#f0378a,#c8105f);color:#fff;box-shadow:0 8px 16px -8px rgba(226,19,110,.7)}
.bp-step p{padding-top:9px;line-height:1.65;color:#374151}
.bp-step b{font-weight:700;color:#e2136e}
.bp-guide-media{aspect-ratio:1/1;margin:0}
.bp-guide-media img{display:block;width:100%;height:100%;object-fit:contain}

/* "Can't pay?" button that opens the screenshot gallery */
.bp-help{display:flex;align-items:center;gap:16px;width:100%;margin-top:36px;padding:16px 20px;border:1.5px dashed #f2a3c6;border-radius:14px;background:#fff;font-family:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.bp-help:hover,.bp-help:focus-visible{border-style:solid;border-color:#e2136e;box-shadow:0 10px 24px -10px rgba(226,19,110,.35);transform:translateY(-1px);outline:none}
.bp-help-icon{flex:0 0 48px;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:#fde7f1;color:#e2136e}
.bp-help-icon svg{width:24px;height:24px}
.bp-help-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.bp-help-text strong{font-size:18px;font-weight:700;color:#111827}
.bp-help-text small{font-size:14px;color:#6b7280}
.bp-help-go{flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#e2136e;color:#fff;transition:transform .2s}
.bp-help-go svg{width:18px;height:18px}
.bp-help:hover .bp-help-go{transform:translateX(3px)}

/* Screenshot gallery popup */
.bp-gallery{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.bp-gallery[hidden]{display:none}
.bp-gallery-backdrop{position:absolute;inset:0;background:rgba(6,16,46,.72);backdrop-filter:blur(4px);animation:bpFade .25s ease}
.bp-gallery-box{position:relative;display:flex;flex-direction:column;width:min(980px,100%);max-height:100%;border-radius:16px;background:#fff;box-shadow:0 30px 60px -15px rgba(0,0,0,.45);overflow:hidden;animation:bpZoom .3s cubic-bezier(.2,.8,.3,1)}
.bp-gallery-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 20px;border-bottom:1px solid #f1f2f6}
.bp-gallery-count{font-size:14px;font-weight:600;color:#4b5563}
.bp-gallery-close{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:none;border-radius:50%;background:#f3f4f6;color:#374151;cursor:pointer;transition:background .2s}
.bp-gallery-close:hover{background:#e5e7eb}
.bp-gallery-close{font-size:26px;line-height:1;font-family:inherit}
.bp-gallery-close:focus:not(:focus-visible){outline:none}
.bp-gallery-stage{position:relative;min-height:0;flex:1;display:flex}
.bp-gallery-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.bp-gallery-track::-webkit-scrollbar{display:none}
.bp-gallery-slide{flex:0 0 100%;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;background:#f1f0f2}
.bp-gallery-slide img{display:block;width:100%;height:auto;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);object-fit:contain}
.bp-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:50%;background:rgba(255,255,255,.95);color:#e2136e;box-shadow:0 4px 14px rgba(0,0,0,.18);cursor:pointer;transition:opacity .2s,transform .2s}
.bp-gallery-nav:hover{transform:translateY(-50%) scale(1.06)}
.bp-gallery-nav:disabled{opacity:0;pointer-events:none}
.bp-gallery-nav svg{width:20px;height:20px}
.bp-gallery-nav.is-prev{left:12px}
.bp-gallery-nav.is-next{right:12px}
.bp-gallery-dots{display:flex;justify-content:center;gap:8px;padding:14px}
.bp-gallery-dots button{width:10px;height:10px;padding:0;border:none;border-radius:10px;background:#d1d5db;cursor:pointer;transition:width .25s,background .25s}
.bp-gallery-dots button.is-active{width:28px;background:#e2136e}
body.bp-gallery-open{overflow:hidden}
@keyframes bpFade{from{opacity:0}}
@keyframes bpZoom{from{opacity:0;transform:scale(.96)}}
@media(prefers-reduced-motion:reduce){.bp-gallery-backdrop,.bp-gallery-box{animation:none}.bp-gallery-track{scroll-behavior:auto}}

/* Card payment */
.bp-card-pay{margin-top:90px;padding:32px;border-radius:10px;background:#fff;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.bp-card-methods{display:block;width:100%;height:auto;margin-top:20px}
.bp-agree{display:flex;gap:12px;align-items:flex-start;margin-top:28px;font-size:17px;font-weight:500;line-height:1.6;color:#111827;cursor:pointer}
.bp-agree input{width:17px;height:17px;margin-top:6px;flex:0 0 17px;accent-color:var(--secondary);cursor:pointer}
.bp-agree a{color:#2563eb}
.bp-agree a:hover{text-decoration:underline}
.bp-pay-btn{margin-top:24px;padding:10px 32px;border-radius:10px;font-size:18px}
.bp-pay-btn.is-disabled{opacity:.45;pointer-events:none}

/* Bank transfer */
.bp-banks{padding:90px 20px 100px}
.bp-bank-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:40px}
.bp-bank{overflow:hidden;border-radius:10px;background:#fee2e2;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)}
.bp-bank-head{display:flex;align-items:center;gap:20px;padding:24px 28px}
.bp-bank-head img,.bp-bank-icon{flex:0 0 64px;width:64px;height:64px;border-radius:8px;object-fit:contain;background:#fff}
.bp-bank-icon{display:inline-flex;align-items:center;justify-content:center;color:#b91c1c}
.bp-bank-icon svg{width:32px;height:32px}
.bp-bank-head h3{font-size:22px;font-weight:600;color:#b91c1c}
.bp-bank-head p{margin-top:2px;font-size:12.5px;color:#dc2626}
.bp-bank dl{display:flex;flex-direction:column;gap:8px;padding:20px 28px 28px;background:#fff}
.bp-bank dl>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:#4b5563}
.bp-bank dd{display:flex;align-items:center;gap:10px}

.bp-copy{display:inline-flex;align-items:center;gap:5px;border:1px solid #dfe3ec;background:#fff;color:#555;font-family:inherit;font-size:12px;padding:3px 9px;border-radius:30px;cursor:pointer;transition:.2s}
.bp-copy svg{width:13px;height:13px}
.bp-copy:hover,.bp-copy.copied{border-color:var(--secondary);color:var(--secondary)}

@media(max-width:1000px){.bp-bank-grid{grid-template-columns:1fr 1fr}.bp-guide-card.has-media{display:flex;flex-direction:column;gap:28px}.bp-guide-media{order:-1;width:100%;max-width:340px;margin:0 auto}}
@media(max-width:768px){
  .bp-banner .container{padding-top:56px;padding-bottom:80px}.bp-banner h1{font-size:36px}.bp-banner p{font-size:16px}
  .bp-quick{grid-template-columns:1fr;gap:32px;margin-top:56px;padding:44px 28px}
  .bp-quick-info{padding-right:0}
  .bp-quick-form{padding:32px 0 0;border-left:none;border-top:1px solid #ecf3ff}
  .bp-guide{padding-top:56px}.bp-guide-card{padding:32px 28px}
  .bp-card-pay{margin-top:56px}
  .bp-banks{padding:56px 20px 64px}.bp-bank-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:620px){
  .bp-banner .container{padding-top:24px;padding-bottom:56px}.bp-banner h1{font-size:28px}.bp-banner p{margin-top:10px;font-size:14.5px}
  .bp-banks h2,.bp-guide h2,.bp-card-pay h2,.bp-quick h2{font-size:23px}
  .bp-quick{margin-top:32px;padding:28px 18px}
  .bp-quick-form .btn{margin-top:12px}
  .bp-card-pay{padding:22px 18px}.bp-agree{font-size:15px}.bp-pay-btn{width:100%;justify-content:center}
  .bp-guide-card{margin-top:22px;padding:24px 18px}.bp-step{gap:12px;padding:14px}.bp-step:not(:last-child)::after{left:33px}.bp-step-icon{flex-basis:38px;width:38px;height:38px;border-radius:10px}.bp-step-icon svg{width:19px;height:19px}.bp-step p{padding-top:7px;font-size:14.5px}
  .bp-help{gap:12px;margin-top:28px;padding:14px}.bp-help-icon{flex-basis:40px;width:40px;height:40px}.bp-help-text strong{font-size:16px}.bp-help-text small{font-size:12.5px}.bp-help-go{flex-basis:34px;width:34px;height:34px}
  .bp-gallery{padding:0}.bp-gallery-box{width:100%;height:100%;border-radius:0}.bp-gallery-stage{align-items:center;background:#f1f0f2}.bp-gallery-slide img{max-height:none}.bp-gallery-nav{width:38px;height:38px}.bp-gallery-nav.is-prev{left:6px}.bp-gallery-nav.is-next{right:6px}
  .bp-bank-head{padding:18px 20px}.bp-bank dl{padding:16px 20px 22px}
}
