/* ==========================================================
   Englishshikha — Payment modal (compact) + Payment logos
   ক্রয় ফর্ম ছোট (স্ক্রল ছাড়া), পেমেন্ট লোগো সব জায়গায়।
   ========================================================== */

/* ---- লোগো (সব জায়গায়) ---- */
img.pl{display:block;height:24px;width:auto;max-width:100%;object-fit:contain;border-radius:0}
.mchips span{background:#fff;padding:4px 10px;min-height:32px;gap:6px;border:1px solid #e8ecf6;border-radius:8px}
.mchips span img.pl{height:20px}
.mchips span em{font-style:normal;font-size:12.5px;font-weight:700;color:#3a4560}
body.nv .nv-pay{padding:7px 14px;min-height:42px;background:#fff;border:1px solid #eeecf6;gap:8px}
body.nv .nv-pay::before{display:none}
body.nv .nv-pay img{height:26px;width:auto;display:block;border-radius:0}
body.nv .nv-pay em{font-style:normal;font-weight:700;font-size:14px;color:#3c4262}

/* ---- ক্রয় ফর্ম (ছোট, স্ক্রল-মুক্ত, সব ডিভাইসে) ---- */
.pm{padding:clamp(6px,2vh,16px)}
.pm .pm-box{width:min(440px,100%);max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior:contain}
.pm .pm-box::-webkit-scrollbar{display:none;width:0;height:0}
.pm .pm-prog,.pm .pm-note,.pm .pm-step{display:none!important}

/* হেডার */
.pm .pm-head{min-height:54px;box-sizing:border-box;padding:clamp(9px,1.8vh,13px) 52px clamp(9px,1.8vh,13px) 14px!important;gap:10px!important;flex-wrap:nowrap!important;align-items:center}
.pm .pm-head::after{display:none}
.pm .pm-ic{width:34px!important;height:34px!important;font-size:15px!important;flex:none}
.pm .pm-head>div:nth-child(2){min-width:0!important;flex:1}
.pm .pm-head small{font-size:11.5px;line-height:1.3}
.pm .pm-head h3{font-size:14.5px!important;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.pm .pm-amt{width:auto!important;padding:3px 10px!important;flex:none;text-align:right!important}
.pm .pm-amt small{font-size:10.5px}
.pm .pm-amt b{font-size:18px!important}
.pm .pm-x{top:11px!important;right:10px!important;translate:none;width:32px!important;height:32px!important;font-size:14px!important}
.pm .pm-body{padding:clamp(9px,1.8vh,14px) 14px clamp(10px,2vh,16px)!important;gap:clamp(6px,1.3vh,10px)!important}

/* মাধ্যম বাছাই */
.pm .pm-methods{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
.pm .pm-m{padding:6px 3px 5px!important;gap:3px!important;border-radius:10px!important;border-width:1.5px!important;align-content:center}
.pm .pm-m img.pl{height:22px;width:auto;max-width:80%}
.pm .pm-m .nm{font-size:11.5px;font-weight:700;color:#3a4560;line-height:1.2}
.pm .pm-m.on{border-color:var(--c)!important}
.pm .pm-m.on::after{width:15px!important;height:15px!important;font-size:9px!important;right:3px!important;top:3px!important}
.pm .pm-m:hover{transform:none}

/* নম্বর ও নির্দেশ */
.pm .pm-inst{padding:8px 10px!important;border-radius:10px!important}
.pm .pm-inst::after{display:none}
.pm .pm-ih{display:flex;align-items:center;gap:8px;font-size:12px;margin:0}
.pm .pm-ih img.pl-h{height:18px}
.pm .pm-ih small{margin-left:auto;padding:1px 9px;font-size:11px}
.pm .pm-num{margin:6px 0 5px!important;padding:5px 6px 5px 11px!important;border-radius:8px!important}
.pm .pm-num span{font-size:clamp(16px,5vw,19px)!important;letter-spacing:.02em}
.pm .pm-num button{padding:5px 11px!important;font-size:12.5px!important}
.pm .pm-hint{font-size:12.5px;line-height:1.5;color:#38435d;margin:0}

/* ফর্ম: নাম এক সারিতে, নম্বর ও TrxID পাশাপাশি */
.pm .pm-form{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px!important;border:0!important;padding:0!important}
.pm .pm-form .pf{gap:3px;min-width:0}
.pm .pm-form .pf-name,.pm .pm-or-h,.pm .pm-err,.pm .pm-submit{grid-column:1/-1}
.pm .pm-form .pf>span{font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ইনপুট ঠিক করা: আইকনের জায়গা ধরে রাখা + ১৬px (iPhone জুম বন্ধ) */
.pm .pf .in{position:relative;display:block}
.pm .pf .in>i{display:block;left:12px!important;font-size:13px!important;line-height:1}
.pm .pf .in input{display:block;width:100%;min-width:0;height:clamp(36px,5.6vh,42px);padding:0 10px 0 34px!important;font-size:16px!important;line-height:normal;border-width:1.5px;-webkit-appearance:none;appearance:none}
.pm .pf .in input::placeholder{font-size:14px}
.pm .pm-or-h{font-size:12px;line-height:1.4;color:#5a6479;text-align:center;margin:0}
.pm .pm-or-h b{color:#0b4aa8}
.pm .pm-err{padding:6px 10px!important;font-size:12.5px!important;line-height:1.45;border-radius:8px}
.pm .pm-submit{padding:0 14px!important;min-height:clamp(38px,6vh,44px);font-size:15px!important}
.pm .pm-login-t{font-size:14.5px;line-height:1.7;color:#38435d;margin:0 0 2px}
.pm .pm-body>.btn.wide{margin-top:2px}

/* মোবাইল: নিচ থেকে ওঠা শিট */
@media(max-width:560px){
  .pm{padding:0!important;align-items:flex-end}
  .pm .pm-box{width:100%;max-height:100vh;max-height:100dvh;padding-bottom:env(safe-area-inset-bottom,0)}
  .pm .pm-head{padding-left:12px!important}
  .pm .pm-body{padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:400px){
  .pm .pm-amt{display:none}
  .pm .pm-m .nm{font-size:10.5px}
  .pm .pm-form .pf>span{font-size:12px}
}
/* কম উচ্চতা: আরও ঘন */
@media(max-height:620px){
  .pm .pm-head small{display:none}
  .pm .pm-ih small{display:none}
  .pm .pm-m img.pl{height:19px}
  .pm .pm-m .nm{display:none}
  .pm .pm-hint{font-size:12px;line-height:1.4}
}
/* ল্যান্ডস্কেপ/ছোট-উচ্চতা স্ক্রিন: দুই কলাম, কোনো স্ক্রল নেই */
@media(max-height:560px) and (min-width:620px){
  .pm .pm-box{width:min(760px,100%)}
  .pm .pm-body{display:grid!important;grid-template-columns:1fr 1fr;align-items:start;column-gap:14px!important}
  .pm .pm-methods{grid-column:1}
  .pm #pmInst{grid-column:1}
  .pm .pm-form{grid-column:2;grid-row:1/span 2}
  .pm .pm-m .nm{display:block}
}
@media(max-height:380px){
  .pm .pm-hint,.pm .pm-or-h{display:none}
  .pm .pm-m .nm{display:none}
}
