/* شاشات الحجز المشتركة (الطيران والفنادق): البحث، النتائج، نافذة الحجز، المراجعة، الفاتورة، الدفع، والتقويم */
.fl-top { position: relative; overflow: hidden; padding: 34px 0 6px; }
.fl-glow { position: absolute; inset: -40% -10% auto; height: 520px; background: radial-gradient(ellipse at 30% 40%, rgba(46,124,246,0.20), transparent 60%), radial-gradient(ellipse at 75% 30%, rgba(20,195,142,0.16), transparent 55%); pointer-events: none; }
.fl-wrap { max-width: 960px; position: relative; }
.fl-body { padding-top: 10px; }
.fl-hero { text-align: center; margin-bottom: 24px; }
.fl-hero h1 { font-family: 'Cairo'; font-weight: 800; font-size: clamp(28px, 5vw, 40px); margin-bottom: 10px; }
.fl-hero p { color: var(--text-muted); font-size: 15.5px; max-width: 620px; margin: 0 auto; line-height: 1.8; }
.fl-search { display: grid; grid-template-columns: 2.2fr 1fr auto; gap: 12px; align-items: end; background: rgba(22,24,29,0.92); border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: 0 18px 50px -24px rgba(0,0,0,0.8); backdrop-filter: blur(6px); }
.fl-route-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.fl-field label, .fl-f > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 7px; }
.fl-field label svg { width: 16px; height: 16px; color: var(--teal); }
.fl-field select, .fl-f input, .fl-f select { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--white); padding: 13px 12px; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 700; }
.fl-f input, .fl-f select { font-weight: 400; }
.fl-field select:focus, .fl-f input:focus, .fl-f select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,195,142,0.12); }
.fl-datebox { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 13px 12px; font-size: 15px; font-weight: 700; min-height: 49px; }
.fl-datebox input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; padding: 0; border: none; }
.fl-datebox input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.fl-swap { width: 44px; height: 49px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--teal); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .2s, border-color .15s; }
.fl-swap:hover { border-color: var(--teal); }
.fl-swap:active { transform: rotate(180deg); }
.fl-swap svg { width: 20px; height: 20px; }
.fl-go { height: 49px; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; }
.fl-go svg { width: 18px; height: 18px; }
.fl-popular { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.fl-popular .lbl { color: var(--text-dim, #7E8594); font-size: 12.5px; align-self: center; }
.fl-popular button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(22,24,29,0.7); color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: 13px; transition: border-color .15s, color .15s; }
.fl-popular button:hover { border-color: var(--teal); color: var(--white); }
.fl-days { display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 14px; padding-bottom: 4px; scrollbar-width: none; }
.fl-days::-webkit-scrollbar { display: none; }
.fl-days button { flex: 1 0 84px; padding: 10px 8px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--white); cursor: pointer; font-family: inherit; text-align: center; line-height: 1.4; font-weight: 700; transition: border-color .15s; }
.fl-days button small { display: block; color: var(--text-muted); font-size: 11.5px; font-weight: 400; }
.fl-days button.on { border-color: var(--teal); background: linear-gradient(180deg, rgba(20,195,142,0.14), rgba(20,195,142,0.04)); }
.fl-days button:disabled { opacity: .35; cursor: default; }
.fl-results { min-height: 140px; }
.fl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.fl-bar .cnt { font-weight: 800; font-size: 16px; }
.fl-bar .cnt small { color: var(--text-muted); font-weight: 400; font-size: 13px; }
.fl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fl-chips button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: 13px; }
.fl-chips button.on { border-color: var(--teal); color: var(--teal); background: rgba(20,195,142,0.06); }
.fl-card { position: relative; display: grid; grid-template-columns: 1.15fr 1.7fr 1fr; gap: 18px; align-items: center; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; margin-bottom: 12px; transition: border-color .15s, transform .15s; }
.fl-card:hover { border-color: rgba(20,195,142,0.45); }
.fl-card.best { border-color: rgba(20,195,142,0.55); box-shadow: 0 10px 30px -18px rgba(20,195,142,0.6); }
.fl-badge { position: absolute; top: -10px; inset-inline-start: 18px; background: var(--gradient); color: #0B0C0E; font-size: 11.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.fl-air { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fl-logo { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: 'Cairo'; font-weight: 800; font-size: 15px; color: #0B0C0E; flex-shrink: 0; }
.fl-air .nm { font-weight: 800; font-size: 15.5px; }
.fl-air .sub { color: var(--text-muted); font-size: 12.5px; margin-top: 3px; }
.fl-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.fl-pt .tm { font-family: 'Cairo'; font-weight: 800; font-size: 24px; line-height: 1.1; direction: ltr; }
.fl-pt .ct { color: var(--text-muted); font-size: 12.5px; margin-top: 3px; white-space: nowrap; }
.fl-pt .ct b { color: var(--white); font-weight: 700; letter-spacing: .5px; }
.fl-pt.end { text-align: end; }
.fl-line { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 60px; }
.fl-line .ln { position: relative; width: 100%; height: 0; border-top: 2px dashed rgba(255,255,255,0.18); }
.fl-line .ln svg { position: absolute; top: -10px; left: 50%; width: 18px; height: 18px; margin-left: -9px; color: var(--teal); background: var(--bg-elevated); }
[dir="rtl"] .fl-line .ln svg { transform: scaleX(-1); }
/* أيقونتا الإقلاع والهبوط (من/إلى) تتجه مع اتجاه الصفحة */
[dir="rtl"] label[for="flFrom"] svg, [dir="rtl"] label[for="flTo"] svg { transform: scaleX(-1); }
.fl-line small { color: var(--teal); font-size: 11.5px; font-weight: 700; }
.fl-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fl-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.fl-meta svg { width: 13px; height: 13px; }
.fl-meta .warn { color: var(--amber, #E6B432); border-color: rgba(230,180,50,0.35); }
.fl-price { text-align: end; border-inline-start: 1px dashed var(--border); padding-inline-start: 18px; }
.fl-price .pr { font-family: 'Cairo'; font-weight: 900; font-size: 25px; line-height: 1.2; }
.fl-price .pr small { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.fl-price .per { color: var(--text-muted); font-size: 12px; margin-bottom: 10px; }
.fl-price .btn { padding: 11px 26px; width: 100%; }
.fl-skel { height: 112px; border-radius: 18px; margin-bottom: 12px; background: linear-gradient(90deg, var(--bg-elevated) 25%, rgba(255,255,255,0.05) 50%, var(--bg-elevated) 75%); background-size: 200% 100%; animation: flsk 1.2s infinite linear; }
@keyframes flsk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .fl-skel { animation: none; } .fl-swap:active { transform: none; } }
.fl-empty { text-align: center; color: var(--text-muted); padding: 38px 16px; background: var(--bg-elevated); border: 1px dashed var(--border); border-radius: 18px; line-height: 1.9; }
.fl-empty svg { width: 40px; height: 40px; color: var(--text-dim, #7E8594); margin-bottom: 8px; }
.fl-empty .btn { margin-top: 12px; }
.fl-note { color: var(--text-dim, #7E8594); font-size: 12.5px; text-align: center; margin-top: 16px; line-height: 1.8; }
.fl-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; }
.fl-overlay[hidden] { display: none; }
.fl-sheet { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 22px 22px 0 0; width: 100%; max-width: 660px; max-height: 92vh; overflow-y: auto; padding: 20px 18px 26px; }
@media (min-width: 700px) { .fl-overlay { align-items: center; } .fl-sheet { border-radius: 22px; padding: 22px 24px 26px; } }
.fl-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.fl-sheet-head h3 { font-family: 'Cairo'; font-weight: 800; font-size: 20px; }
.fl-x { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; line-height: 1; }
.fl-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.fl-summary .sub { grid-column: 1 / -1; color: var(--text-muted); font-size: 12.5px; border-top: 1px dashed var(--border); padding-top: 10px; }
.fl-steps { display: flex; gap: 10px; margin-bottom: 16px; }
.fl-steps > div { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; padding: 8px; border-bottom: 2px solid var(--border); color: var(--text-muted); }
.fl-steps i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.fl-steps .on { border-color: var(--teal); color: var(--white); font-weight: 700; }
.fl-steps .on i { background: var(--teal); border-color: var(--teal); color: #0B0C0E; }
.fl-counts { display: grid; gap: 10px; margin-bottom: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.fl-count { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.fl-stepper { display: flex; align-items: center; gap: 12px; }
.fl-stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--white); font-size: 18px; cursor: pointer; }
.fl-stepper button:hover { border-color: var(--teal); }
.fl-stepper b { min-width: 16px; text-align: center; }
.fl-pax { border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.fl-pax h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-bottom: 12px; }
.fl-pax h4 i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: rgba(20,195,142,0.14); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; }
.fl-pax h4 small { color: var(--text-muted); font-weight: 400; }
.fl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.fl-f { display: block; margin-bottom: 12px; }
.fl-f[hidden] { display: none; }
.fl-total { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 14px; font-size: 14px; }
.fl-total .row { display: flex; justify-content: space-between; padding: 4px 0; }
.fl-total .sum { border-top: 1px dashed var(--border); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 18px; }
.fl-wallet { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; cursor: pointer; }
.fl-wallet input { width: auto; }
.fl-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.fl-method { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 6px; cursor: pointer; background: var(--bg); font-weight: 700; font-size: 13px; line-height: 1.45; text-align: center; transition: border-color .15s, background .15s; }
.fl-method.on { border-color: var(--teal); background: rgba(20, 195, 142, 0.1); box-shadow: 0 0 0 1px var(--teal) inset; }
.fl-method img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.fl-pay-amount { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fl-pay-amount b { font-size: 19px; color: var(--teal); }
.fl-accounts { margin-bottom: 12px; }
.fl-acc { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.fl-acc span { direction: ltr; font-weight: 700; }
.fl-upload input { padding: 10px; }
.fl-info { background: rgba(20,195,142,0.08); border: 1px solid rgba(20,195,142,0.25); color: var(--teal); font-size: 13px; padding: 10px 12px; border-radius: 12px; margin-bottom: 12px; }
.fl-after { color: var(--text-muted); font-size: 12.5px; margin: 6px 0 12px; }
@media (max-width: 820px) {
  .fl-search { grid-template-columns: 1fr; }
  .fl-go { width: 100%; justify-content: center; }
}
@media (max-width: 680px) {
  .fl-top { padding-top: 24px; }
  .fl-card { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px 16px; }
  .fl-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: start; border-inline-start: none; border-top: 1px dashed var(--border); padding: 12px 0 0; }
  .fl-price .per { margin-bottom: 0; }
  .fl-price .btn { width: auto; }
  .fl-grid2 { grid-template-columns: 1fr; }
}
/* التقويم */
.fl-dp { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--white); padding: 13px 12px; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fl-dp:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,195,142,0.12); }
.fl-f .fl-dp { font-weight: 400; }
.amdp { position: absolute; z-index: 3000; background: #16181D; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 12px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); }
.amdp-head { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.amdp-head select { flex: 1; background: #0B0C0E; border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 10px; padding: 8px; font-family: inherit; font-size: 14px; }
.amdp-nav { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: #0B0C0E; color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
[dir="rtl"] .amdp-nav { transform: scaleX(-1); }
.amdp-week, .amdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.amdp-week span { font-size: 11.5px; color: #8B92A0; padding: 4px 0; }
.amdp-grid button { height: 36px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: #fff; cursor: pointer; font-family: inherit; font-size: 14px; }
.amdp-grid button:hover:not(:disabled) { background: rgba(20,195,142,0.12); }
.amdp-grid button.today { border-color: rgba(20,195,142,0.5); }
.amdp-grid button.sel { background: var(--teal, #14C38E); color: #0B0C0E; font-weight: 800; }
.amdp-grid button:disabled { color: #4a4f59; cursor: default; }
/* شعار شركة الطيران */
/* شعار الشركة الأصلي (PNG شفاف) بدون أي خلفية خلفه */
.fl-logo:not(.mono) { width: 56px; height: 44px; background: transparent; border-radius: 0; }
.fl-logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.fl-logo.light:not(.mono) { background: #fff; border-radius: 10px; padding: 4px; box-sizing: border-box; } /* شعارات غامقة (القطارات) تحتاج خلفية فاتحة */
.fl-logo.none { color: var(--text-muted); }
.fl-logo.none svg { width: 26px; height: 26px; }
.fl-logo.mono { background: linear-gradient(135deg, #2E7CF6, #14C38E); color: #0B0C0E; }
.fl-notices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fl-notices span { font-size: 11.5px; color: var(--amber, #E6B432); background: rgba(230,180,50,0.08); border: 1px solid rgba(230,180,50,0.3); border-radius: 8px; padding: 3px 8px; }
.fl-intro { text-align: center; color: var(--text-muted); padding: 34px 16px; border: 1px dashed var(--border); border-radius: 18px; }
.fl-intro svg { width: 44px; height: 44px; color: var(--teal); opacity: .8; margin-bottom: 8px; }
/* الخطوات */
.fl-steps > div { cursor: pointer; border-radius: 10px 10px 0 0; transition: background .15s; }
.fl-steps > div:hover { background: rgba(255,255,255,0.03); }
.fl-steps > .on { cursor: default; }
.fl-steps .done i { background: rgba(20,195,142,0.18); border-color: var(--teal); color: var(--teal); }
.fl-back { margin-top: 8px; }
.fl-ferr { display: block; color: var(--danger, #F0555A); font-size: 12px; margin-top: 5px; }
.fl-f.bad input, .fl-f.bad select { border-color: var(--danger, #F0555A); }
/* المراجعة */
.fl-rv { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.fl-rv h5 { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.fl-rv h5 button { background: none; border: none; color: var(--teal); cursor: pointer; font-family: inherit; font-size: 12.5px; }
.fl-rv table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fl-rv td, .fl-rv th { padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: start; }
.fl-rv th { color: var(--text-muted); font-weight: 400; width: 40%; }
.fl-rv tr:last-child td, .fl-rv tr:last-child th { border-bottom: none; }
.fl-paxrow { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; }
.fl-paxrow:last-child { border-bottom: none; }
.fl-paxrow b { grid-row: span 3; width: 26px; height: 26px; border-radius: 50%; background: rgba(20,195,142,0.14); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.fl-paxrow .nm { font-weight: 800; direction: ltr; text-align: start; }
.fl-paxrow .mt { color: var(--text-muted); font-size: 12.5px; }
.fl-terms { border: 1px solid rgba(230,180,50,0.35); background: rgba(230,180,50,0.05); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.fl-terms h4 { font-size: 14px; margin-bottom: 8px; color: var(--amber, #E6B432); }
.fl-terms ul { padding-inline-start: 18px; margin: 0 0 12px; display: grid; gap: 6px; }
.fl-terms li { font-size: 12.8px; color: var(--text-muted); line-height: 1.8; }
.fl-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.fl-agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: #14C38E; flex-shrink: 0; }
/* الفاتورة */
.fl-invoice { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.fl-inv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: linear-gradient(135deg, rgba(46,124,246,0.14), rgba(20,195,142,0.10)); border-bottom: 1px solid var(--border); }
.fl-inv-head b { font-size: 14px; }
.fl-inv-head small { color: var(--text-muted); font-size: 12px; }
.fl-inv-body { padding: 6px 14px 10px; }
.fl-inv-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed rgba(255,255,255,0.07); }
.fl-inv-row span:first-child { color: var(--text-muted); }
.fl-inv-row.minus span:last-child { color: var(--teal); }
.fl-inv-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--bg); }
.fl-inv-total span { font-weight: 700; }
.fl-inv-total b { font-family: 'Cairo'; font-weight: 900; font-size: 24px; }
.fl-inv-total b small { font-size: 13px; color: var(--text-muted); }
/* المحفظة */
.fl-wallet-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; background: var(--bg); }
.fl-wallet-card.on { border-color: var(--teal); background: rgba(20,195,142,0.06); }
.fl-wallet-ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(20,195,142,0.14); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fl-wallet-ic svg { width: 20px; height: 20px; }
.fl-wallet-txt { flex: 1; display: flex; flex-direction: column; }
.fl-wallet-txt small { color: var(--text-muted); font-size: 12.5px; }
.fl-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; cursor: pointer; }
.fl-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fl-switch span { position: absolute; inset: 0; border-radius: 999px; background: #2a2e36; transition: background .2s; }
.fl-switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.fl-switch input:checked + span { background: var(--teal); }
.fl-switch input:checked + span::after { transform: translateX(20px); }
[dir="rtl"] .fl-switch input:checked + span::after { transform: translateX(-20px); }
.fl-switch input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.fl-sec { font-size: 14px; margin: 4px 0 10px; }
/* التحويل اليدوي */
.fl-manual { border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 12px; display: grid; gap: 14px; }
.fl-mstep { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.fl-mstep > i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #0B0C0E; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.fl-mstep b { display: block; font-size: 14px; margin-bottom: 8px; }
.fl-pay-amount { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.fl-pay-amount span { color: var(--text-muted); font-size: 13px; }
.fl-pay-amount b { flex: 1; margin: 0; font-size: 18px; color: var(--teal); text-align: end; }
.fl-acc { background: var(--bg); }
.fl-hint { color: var(--text-muted); font-size: 12.5px; margin: -4px 0 10px; }
.fl-receipt { display: flex; gap: 12px; align-items: stretch; }
.fl-drop { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed rgba(20,195,142,0.45); border-radius: 14px; padding: 16px; cursor: pointer; color: var(--text-muted); font-size: 13px; text-align: center; transition: background .15s; }
.fl-drop:hover { background: rgba(20,195,142,0.05); }
.fl-drop svg { width: 26px; height: 26px; color: var(--teal); }
.fl-drop.has { border-style: solid; color: var(--white); }
.fl-sample { margin: 0; padding: 0; background: none; border: 0; cursor: zoom-in; text-align: center; color: var(--text-dim, #7E8594); font: inherit; font-size: 11px; }
.fl-sample img { display: block; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 4px; transition: transform .15s; }
.fl-sample:hover img, .fl-sample:focus-visible img { transform: scale(1.04); }
.fl-sample-dlg { margin: auto; border: 0; padding: 14px; border-radius: 18px; background: var(--bg-elevated, #16181D); text-align: center; max-width: calc(100vw - 32px); }
.fl-sample-dlg::backdrop { background: rgba(0, 0, 0, .7); }
.fl-sample-dlg img { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto 12px; border-radius: 14px; }
@media (max-width: 680px) { .fl-receipt { flex-direction: row; } }

/* هيكل متحرّك للسعر لحد ما يوصل الدقيق (خطوط تلمع؛ بدون حركة لمن يفضّل تقليلها) */
.am-skel { display: inline-block; width: 96px; height: 24px; border-radius: 8px; vertical-align: middle; background: linear-gradient(90deg, var(--bg-elevated-2) 25%, rgba(255,255,255,.09) 50%, var(--bg-elevated-2) 75%); background-size: 200% 100%; animation: amShimmer 1.3s ease-in-out infinite; }
.am-skel.sm { width: 56px; height: 12px; margin-top: 6px; }
@keyframes amShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .am-skel { animation: none; } }
.fl-card .btn[disabled] { opacity: .5; cursor: not-allowed; }
