/* فونت و جزئیات ظاهری برند خط بگیر — بدون هیچ منبع خارجی */
@font-face {
    font-family: "Estedad";
    src: url("../fonts/estedad.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --kb-navy: #1D3557;
    --kb-steel: #457B9D;
    --kb-mint: #A8DADC;
    --kb-cream: #F1FAEE;
    --kb-red: #E63946;
}

html { font-feature-settings: "ss01"; }

/* منوی کناری سرمه‌ای مثل طرح */
.fi-sidebar, .fi-main-sidebar { background: var(--kb-navy) !important; }
.fi-main-sidebar { min-height: 100dvh; }
@media (min-width: 1024px) { .fi-sidebar { min-height: 100dvh; } }
.fi-sidebar .fi-sidebar-item-label,
.fi-sidebar .fi-sidebar-group-label,
.fi-sidebar .fi-sidebar-item-icon,
.fi-sidebar .fi-sidebar-group-collapse-btn { color: #C9D6E3 !important; }
.fi-sidebar .fi-sidebar-item.fi-active > a { background: rgba(168, 218, 220, .16) !important; }
.fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-label,
.fi-sidebar .fi-sidebar-item.fi-active .fi-sidebar-item-icon { color: #fff !important; }
.fi-sidebar-header { background: var(--kb-navy) !important; border-color: rgba(255,255,255,.08) !important; }
.fi-sidebar-header .fi-logo { color: #fff; }

/* شماره‌ی سیم‌کارت همیشه چپ‌به‌راست */
.kb-number { direction: ltr; unicode-bidi: isolate; letter-spacing: .06em; font-weight: 700; }

.kb-footer { padding: 12px 24px; font-size: 12px; color: #5B6B7D; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* جدول گزارش‌های مالی */
.kb-report { width: 100%; border-collapse: collapse; font-size: 14px; }
.kb-report th { text-align: start; background: rgba(29,53,87,.06); padding: 8px 10px; font-weight: 700; }
.kb-report td { padding: 8px 10px; border-bottom: 1px solid rgba(0,0,0,.06); }
.kb-report td:not(:first-child), .kb-report th:not(:first-child) { white-space: nowrap; }
.kb-report .kb-sum td { font-weight: 700; }
.kb-report .kb-total td { font-weight: 800; background: rgba(168,218,220,.25); }
