/* هشدار قیمتی — مودال و دکمه‌ی زنگ (رنگ‌ها از متغیرهای خود سایت؛ سازگار با حالت شب/روز) */
.gb-alert-btn svg{width:20px;height:20px}
html.gba-lock{overflow:hidden}
.gba-overlay{position:fixed;inset:0;z-index:9999;background:rgba(10,14,24,.55);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.gba-overlay[hidden]{display:none}
.gba-modal{width:100%;max-width:420px;max-height:90vh;overflow:auto;background:var(--card,#fff);color:var(--text,#0f172a);border:1px solid var(--line,rgba(15,23,42,.1));border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.35);direction:rtl}
.gba-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.gba-head h3{margin:0;font-size:1rem;display:flex;align-items:center;gap:8px}
.gba-head h3 svg{width:20px;height:20px;color:var(--brand,#1c7df0)}
.gba-x{border:0;background:var(--bg2,rgba(0,0,0,.06));color:inherit;width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}
.gba-body{padding:4px 18px 18px}
.gba-l{display:block;font-size:.78rem;color:var(--muted,#64748b);margin:10px 0 6px}
.gba-l select,.gba-l input{display:block;width:100%;margin-top:6px;height:46px;border-radius:12px;border:1px solid var(--line,rgba(15,23,42,.14));background:var(--bg2,#f1f5f9);color:var(--text,#0f172a);padding:0 12px;font:inherit;font-size:.92rem}
.gba-l select:focus,.gba-l input:focus{outline:none;border-color:var(--brand,#1c7df0)}
.gba-now{margin:8px 2px 0;font-size:.8rem;color:var(--muted,#64748b)}
.gba-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 4px}
.gba-seg label{cursor:pointer}
.gba-seg input{position:absolute;opacity:0;pointer-events:none}
.gba-seg span{display:block;text-align:center;padding:11px 6px;border-radius:12px;border:1px solid var(--line,rgba(15,23,42,.14));font-size:.82rem;background:var(--bg2,#f1f5f9)}
.gba-seg input:checked+span{border-color:var(--brand,#1c7df0);background:rgba(28,125,240,.12);font-weight:700;color:var(--brand,#1c7df0)}
.gba-primary{display:inline-block;border:0;border-radius:999px;padding:11px 26px;font:inherit;font-weight:700;font-size:.88rem;text-decoration:none;text-align:center;cursor:pointer;background:linear-gradient(135deg,var(--brand,#1c7df0),var(--brand2,#16b3f7));color:#fff}
.gba-primary:disabled{opacity:.6;cursor:not-allowed}
.gba-submit{width:100%;margin-top:14px;border-radius:14px;padding:13px}
.gba-ghost{display:inline-block;border:1px solid var(--line,rgba(15,23,42,.2));border-radius:999px;padding:10px 26px;font-weight:700;font-size:.88rem;text-decoration:none;color:inherit}
.gba-gate{display:flex;gap:10px;justify-content:center;margin:14px 0 6px}
.gba-lead{text-align:center;margin:14px 0 4px;font-size:.88rem}
.gba-note{margin:12px 2px 0;font-size:.74rem;color:var(--muted,#64748b);line-height:1.7}
.gba-err{margin:10px 2px 0;font-size:.8rem;color:#e0443e}
.gba-muted{color:var(--muted,#64748b);font-size:.82rem}
.gba-sub{margin:20px 0 8px;font-size:.88rem}
.gba-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.gba-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;background:var(--bg2,#f1f5f9);font-size:.8rem}
.gba-del{border:0;background:none;color:#e0443e;font:inherit;font-size:.78rem;cursor:pointer}
.gba-done{background:rgba(34,197,94,.18);color:#16a34a;border-radius:8px;padding:1px 7px;margin-inline-start:4px;font-size:.7rem}

.gba-q{margin-top:6px !important;height:40px !important;font-size:.85rem !important}
.gb-cr-calculator.gb-alert-btn svg{width:18px;height:18px}

/* انتخاب‌گر با آیکون */
.gba-picker{position:relative;margin-top:6px}
.gba-pick-btn{display:flex;align-items:center;gap:10px;width:100%;height:52px;padding:0 12px;border-radius:12px;border:1px solid var(--line,rgba(15,23,42,.14));background:var(--bg2,#f1f5f9);color:inherit;font:inherit;cursor:pointer;text-align:start}
.gba-pick-btn:focus-visible{outline:2px solid var(--brand,#1c7df0)}
.gba-pick-name{display:flex;flex-direction:column;line-height:1.35;min-width:0;flex:1}
.gba-pick-name b{font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gba-pick-name small{font-size:.7rem;color:var(--muted,#64748b);direction:ltr;text-align:start}
.gba-caret{color:var(--muted,#64748b);font-size:.8rem}
.gba-ico{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:#fff}
.gba-ico-ph{display:inline-grid;place-items:center;background:var(--brand,#1c7df0);color:#fff;font-size:.7rem;font-weight:700}
.gba-pick-pop{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:5;background:var(--card,#fff);border:1px solid var(--line,rgba(15,23,42,.14));border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.28);padding:8px}
.gba-pick-pop[hidden]{display:none}
.gba-pick-pop .gba-q{display:block;width:100%;height:40px;margin:0 0 6px;border-radius:10px;border:1px solid var(--line,rgba(15,23,42,.14));background:var(--bg2,#f1f5f9);color:inherit;padding:0 12px;font:inherit;font-size:.85rem}
.gba-pick-list{list-style:none;margin:0;padding:0;max-height:240px;overflow:auto}
.gba-pick-list li{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;cursor:pointer}
.gba-pick-list li:hover,.gba-pick-list li.on{background:rgba(28,125,240,.12)}
.gba-preview{margin:8px 2px 0;font-size:.78rem;color:var(--brand,#1c7df0)}
.gba-mode{margin-top:8px}

/* هشدارهای من: زنگوله و آیکون */
.gba-sub{display:flex;align-items:center;gap:8px}
.gba-sub svg{width:18px;height:18px;color:var(--brand,#1c7df0)}
.gba-list li{gap:10px}
.gba-list .gba-ico{width:28px;height:28px}
.gba-bell{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffb938,#ff8a1f);color:#fff;box-shadow:0 4px 10px rgba(255,138,31,.35)}
.gba-bell svg{width:16px;height:16px}
.gba-off .gba-bell{background:var(--line,#cbd5e1);box-shadow:none}
.gba-off{opacity:.75}
.gba-li-txt{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.5}
.gba-li-txt b{font-size:.82rem}
.gba-li-txt small{font-size:.74rem;color:var(--muted,#64748b)}
.gba-empty{justify-content:center}
