/* ==================== «حساب‌ها» (کاروسل حساب‌های صندوق در صفحه‌ی اصلی + برگه‌ی جزئیات) ==================== */
#accHost:empty { display: none; }
#accHost { margin-top: 14px; }
.ac-box { direction: rtl; border: 2px dashed rgba(127, 154, 136, .65); border-radius: 24px; padding: 12px 0 10px; background: rgba(127, 154, 136, .06); font-family: inherit; }
.ac-head { display: flex; align-items: center; gap: 8px; padding: 0 14px 10px; }
.ac-head h3 { margin: 0; font-size: 15px; font-weight: 800; flex: 1; }
.ac-head small { opacity: .7; font-size: 11.5px; }
.ac-plus { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px; line-height: 1; color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 6px 14px -6px rgba(37, 99, 235, .8); }
.ac-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 14px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 14px; }
.ac-track::-webkit-scrollbar { display: none; }
.ac-card { flex: 0 0 min(82%, 330px); aspect-ratio: 1.586 / 1; scroll-snap-align: center; position: relative; border-radius: 20px; padding: 16px 18px; color: #fff; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .55); -webkit-tap-highlight-color: transparent; user-select: none; }
.ac-card::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; left: -60px; bottom: -80px; background: rgba(255, 255, 255, .1); }
.ac-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; left: 40px; top: -60px; background: rgba(255, 255, 255, .07); }
.ac-k0 { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.ac-k1 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.ac-k2 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.ac-k3 { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.ac-k4 { background: linear-gradient(135deg, #ec4899, #9d174d); }
.ac-k5 { background: linear-gradient(135deg, #64748b, #334155); }
.ac-top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.ac-name { flex: 1; font-weight: 800; font-size: 15px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ac-ib { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px; padding: 0; flex: none; }
.ac-ib svg { width: 18px; height: 18px; }
.ac-mid { position: relative; z-index: 1; }
.ac-lbl { font-size: 11.5px; opacity: .85; }
.ac-bal { font-size: clamp(20px, 6vw, 27px); font-weight: 900; letter-spacing: .3px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ac-bal.neg { color: #fecaca; }
.ac-foot { position: relative; z-index: 1; font-size: 11.5px; opacity: .85; display: flex; justify-content: space-between; }
.ac-add { background: transparent; color: inherit; border: 2px dashed rgba(127, 154, 136, .7); box-shadow: none; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.ac-add::before, .ac-add::after { display: none; }
.ac-add b { font-size: 34px; line-height: 1; opacity: .8; }
.ac-add span { font-weight: 800; font-size: 14px; }
.ac-dots { display: flex; justify-content: center; gap: 6px; padding-top: 2px; }
.ac-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(127, 154, 136, .5); transition: all .25s; }
.ac-dots i.on { width: 20px; background: #2563eb; }
.ac-menu { position: absolute; z-index: 5; min-width: 150px; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 16px 36px -8px rgba(0, 0, 0, .35); padding: 6px; direction: rtl; }
.ac-menu button { display: block; width: 100%; text-align: right; border: 0; background: none; padding: 10px 12px; font: inherit; font-size: 13.5px; border-radius: 9px; cursor: pointer; color: inherit; }
.ac-menu button:hover { background: #f1f5f9; }
.ac-menu button.del { color: #dc2626; }

/* ---- برگه‌ی جزئیات / فرم ---- */
.ac-ov { position: fixed; inset: 0; z-index: 99990; background: rgba(0, 0, 0, .5); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; direction: rtl; }
.ac-ov.on { opacity: 1; }
.ac-sheet { width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: #fff; color: #111827; border-radius: 24px 24px 0 0; transform: translateY(30px); transition: transform .25s; font-family: inherit; }
.ac-ov.on .ac-sheet { transform: none; }
html[data-theme="dark"] .ac-sheet, body.dark .ac-sheet, body.dark-mode .ac-sheet { background: #1f2937; color: #f3f4f6; }
.ac-sh-h { padding: 18px 18px 12px; display: flex; align-items: center; gap: 10px; }
.ac-sh-h h3 { margin: 0; flex: 1; font-size: 16px; }
.ac-x { border: 0; background: rgba(127, 154, 136, .2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; color: inherit; }
.ac-sh-b { padding: 0 18px 18px; overflow-y: auto; }
.ac-sum { border-radius: 18px; padding: 14px 16px; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ac-sum .ac-bal { flex: 1; margin: 0; }
.ac-acts { display: flex; gap: 8px; margin-bottom: 12px; }
.ac-btn { flex: 1; border: 0; border-radius: 12px; padding: 11px; font: inherit; font-weight: 700; cursor: pointer; background: #2563eb; color: #fff; }
.ac-btn.sec { background: rgba(127, 154, 136, .2); color: inherit; }
.ac-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(127, 154, 136, .22); }
.ac-row:last-child { border-bottom: 0; }
.ac-dir { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; }
.ac-dir.in { background: rgba(22, 163, 74, .15); color: #16a34a; }
.ac-dir.out { background: rgba(220, 38, 38, .13); color: #dc2626; }
.ac-row .t { flex: 1; min-width: 0; }
.ac-row .t b { display: block; font-size: 13.5px; }
.ac-row .t small { display: block; opacity: .7; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-row .a { font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.ac-row .a.in { color: #16a34a; } .ac-row .a.out { color: #dc2626; }
.ac-empty { text-align: center; opacity: .65; padding: 26px 0; font-size: 13.5px; }
.ac-in { width: 100%; padding: 12px; border-radius: 12px; border: 1.5px solid rgba(127, 154, 136, .5); font: inherit; background: transparent; color: inherit; box-sizing: border-box; }
.ac-err { color: #dc2626; font-size: 12.5px; min-height: 18px; margin: 6px 0; }
/* سوابق انتقال در صفحه‌ی «انتقال وجه» */
.ac-hist { margin-top: 16px; }
.ac-hist h4 { margin: 0 0 6px; font-size: 14px; }

