/* ═══════════════════════════════════════════════════════════════
   egypt-pay.css — تنسيق الخطوة 3 (طريقة الدفع وتأكيد التحويل)
   يُحمَّل من partials/head.php بعد site.css.
   لا يلمس أي قاعدة قائمة — يضيف صنفًا/نمطًا لما لم يُنسَّق فقط.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. خيارات الدفع ── */
.pay-options{display:grid;gap:12px;margin:0 0 18px}
.pay-option{display:block;position:relative;padding:16px 18px;border:1.5px solid #e6eaf0;
  border-radius:14px;background:#fff;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s}
.pay-option:hover{border-color:#f3b9cc}
.pay-option.is-selected{border-color:var(--brand2);background:#fff8fa;
  box-shadow:0 6px 20px rgba(226,32,90,.10)}
.pay-option.is-disabled{cursor:not-allowed;opacity:.72;background:#fafbfc;border-style:dashed}
.pay-option input[type=radio]{position:absolute;opacity:0;width:0;height:0}
.pay-option-content{display:flex;align-items:center;justify-content:space-between;gap:14px}
.pay-option-meta{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.pay-option-meta b{font-size:15px;font-weight:800;color:var(--ink,#101828);line-height:1.5;
  display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pay-option-meta span{font-size:12.5px;color:#667085;line-height:1.6}
.pay-logo-img{height:38px;width:auto;max-width:120px;object-fit:contain;flex:0 0 auto;
  background:#fff;border-radius:8px;padding:2px}
/* شارة "غير متاحة مؤقتًا" */
.badge-soon-sm{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:.2px;
  color:#8a5b00;background:#fff4d6;border:1px solid #ffe0a3;border-radius:999px;
  padding:1px 8px;line-height:1.7;white-space:nowrap}
/* أيقونات البطاقات */
.card-icons-row{display:flex;gap:6px;flex:0 0 auto}
.card-pill{display:inline-flex;align-items:center;justify-content:center;height:26px;
  padding:0 9px;border-radius:6px;background:#f4f6f8;border:1px solid #e3e7ec;
  font-size:11px;font-weight:900;letter-spacing:.4px;color:#8a94a3}

/* ── 2. بطاقة حساب بنكك ── */
.bok-account-card{background:#fff;border:1px solid #e6eaf0;border-radius:16px;
  padding:18px;margin-top:4px;box-shadow:0 4px 18px rgba(16,24,40,.05)}
.bok-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;
  border-bottom:1px solid #eef1f5;margin-bottom:14px}
.bok-head img{height:30px;width:auto;object-fit:contain;flex:0 0 auto}
.bok-head h4{line-height:1.5}

/* تنبيه الإشعار */
.bok-alert-box{display:flex;align-items:flex-start;gap:9px;background:#fff9ec;
  border:1px solid #ffe6b8;border-radius:11px;padding:11px 13px;margin-bottom:14px;
  font-size:12.8px;line-height:1.7;color:#7a5210}
.bok-alert-box svg{flex:0 0 20px;color:#d97706;margin-top:1px}

/* شبكة بيانات التحويل */
.bok-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
@media(max-width:560px){.bok-details-grid{grid-template-columns:1fr}}
.bok-item{background:#fbfcfd;border:1px solid #eef1f5;border-radius:11px;padding:10px 13px;
  display:flex;flex-direction:column;gap:3px;min-width:0}
.bok-lbl{font-size:11.5px;font-weight:700;color:#8a94a3;letter-spacing:.2px}
.bok-val{font-size:14.5px;font-weight:800;color:var(--ink,#101828);line-height:1.6;
  overflow-wrap:anywhere}
/* رقم الحساب: بارز + زر نسخ */
.bok-acct-highlight{grid-column:1 / -1;background:#fff6f9;border-color:#fbcfdd}
.bok-acct-highlight > div{display:flex;align-items:center;justify-content:space-between;
  gap:10px;flex-wrap:wrap}
.bok-val-num{font-size:22px;font-weight:900;letter-spacing:1.6px;color:#c9085a;
  font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
.btn-copy-acct{display:inline-flex;align-items:center;gap:6px;background:#fff;
  border:1.5px solid #f3b9cc;color:#c9085a;border-radius:9px;padding:6px 11px;
  font-size:12px;font-weight:800;cursor:pointer;transition:.16s;font-family:inherit}
.btn-copy-acct:hover{background:#c9085a;border-color:#c9085a;color:#fff}
.btn-copy-acct.is-copied{background:#eafaf1;border-color:#a7e0bf;color:#15803d}

/* حقول المرسل والإيصال */
.bok-fields-group{padding-top:14px;border-top:1px dashed #e6eaf0}
.bok-fields-group .frow.one label{font-size:13.5px;font-weight:800;color:#101828;
  display:block;margin-bottom:7px}
.bok-fields-group input[type=text]{width:100%;height:48px;border:1.5px solid #e6eaf0;
  border-radius:11px;padding:0 14px;font-family:inherit;font-size:14.5px;color:#101828;
  background:#fff;transition:.16s}
.bok-fields-group input[type=text]:focus{outline:none;border-color:#e2205a;
  box-shadow:0 0 0 3px rgba(226,32,90,.14)}
.bok-fields-group .file-box{border-radius:12px;padding:20px 14px;background:#fdfefe}
.bok-fields-group .file-box svg{display:block;margin:0 auto 6px}
.bok-fields-group .file-tx{display:block;line-height:1.7}

/* ── 3. أزرار الخطوة والخطوات العلوية على الموبايل ── */
.step-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.step-nav .btn{flex:0 1 auto}
.btn-submit-order{flex:1 1 260px;justify-content:center;gap:8px}
@media(max-width:520px){
  .step-nav{flex-direction:column-reverse}
  .step-nav .btn,.btn-submit-order{width:100%}
  .um-stepper{flex-wrap:wrap;gap:6px;padding:10px 12px}
  .um-step .step-lbl{font-size:12px}
  .bok-val-num{font-size:19px;letter-spacing:1.2px}
  .pay-option-content{flex-wrap:wrap}
}

/* ── 4. إصلاح تجاوز الشبكة على الموبايل (386px داخل حاوية 350px) ── */
.um-grid{min-width:0}
.um-grid > *{min-width:0;max-width:100%}
@media(max-width:960px){
  .um-grid{grid-template-columns:minmax(0,1fr) !important;width:100% !important}
  .um-grid .fcard,.um-grid aside .fcard{width:100% !important;max-width:100% !important}
  .um-form-card{padding:18px 14px !important}
  .bok-account-card{padding:14px 12px}
  .pay-option{padding:13px 14px}
}

/* ── 5. زر الإرسال لا يتجاوز الشاشة على الموبايل ── */
@media (max-width:520px){
  .btn-submit-order{width:100%;max-width:100%;white-space:normal;line-height:1.7;
    padding-inline:14px;font-size:14.5px;word-break:break-word}
}
