/* =========================
    Root Variables (Design System)
  ========================= */
:root {
    --primary: #facc15;
    --primary-soft: #facc1524;
    --dark: #0f172a;
    --danger: #ff383c;
    --light-bg: #e7ebf4;
    --shadow: #00000026;
    --white: #ffffff;
}

/* =========================
    Base
  ========================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--light-bg);
    color: var(--dark);
}

/* =========================
    Login
  ========================= */
.login-wrapper {
    background: var(--light-bg);
}

.login-card {
    background: var(--white);
    max-width: 420px;
    padding: 42px 34px;
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow);
    text-align: center;
}

@media (max-width: 575.98px) {
    .login-card {
        padding: 32px 22px;
        border-radius: 10px;
    }
}

.icon-box {
    width: 110px; /* بزرگتر کردم */
    height: 110px; /* همسان */
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    overflow: hidden; /* مهمه! لوگو بیرون نمی‌زنه */
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4); /* سایه قشنگ */
}

.icon-box img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    object-position: center;
    max-width: 150px;
    max-height: 150px;
}


.title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 8px 0 28px;
}

.form-group {
    text-align: right;
    margin-bottom: 18px;
}

.form-label {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--dark);
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-left: 44px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 16px;
    transition: 0.2s;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Buttons */
.login-btn,
.submit-btn {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    transition: 0.25s;
}

.login-btn:hover,
.submit-btn:hover {
    background: #020617;
    box-shadow: 0 12px 25px var(--shadow);
    transform: translateY(-2px);
}

/* =========================
    Panel Layout Helpers
  ========================= */
.panel-wrapper {
    background: var(--light-bg);
}

.main-area {
    background: var(--light-bg);
}

/* =========================
    Sidebar
  ========================= */

.sidebar {
    background: var(--white);
    box-shadow: -10px 0 30px var(--shadow);
    width: 300px; /* عرض ثابت */
    min-width: 300px; /* جلوگیری از کوچک شدن بیشتر */
    max-width: 300px; /* جلوگیری از بزرگ شدن */
}

.sidebar-inner {
    padding: 28px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .sidebar {
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.sidebar-title {
    font-weight: 800;
    color: var(--dark);
    font-size: 15px;
}

.sidebar-title span {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 10px;
}

/* scrollbar */
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: #e6b800;
}

/* Menu */
.sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.sidebar-menu .nav-link i {
    font-size: 16px;
}

.sidebar-menu .nav-item + .nav-item {
    margin-top: 6px;
}

.sidebar-menu .nav-link:hover {
    background: var(--primary-soft);
    color: var(--dark);
}

.sidebar-menu .nav-item.active .nav-link {
    background: var(--primary);
    color: var(--dark);
}

/* =========================
    Header
  ========================= */
.panel-header {
    background: var(--white);
    border-radius: 10px;
    margin: 12px 12px 0;
    min-height: 70px;
    box-shadow: 0 10px 30px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;

    /* مهم: چینش هدر مثل قبل (عنوان سمت راست، آیکن‌ها و پروفایل سمت چپ) */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .panel-header {
        margin: 16px 16px 0;
        border-radius: 10px;
        padding: 0 24px;
    }
}

/* اگر در HTML از این کلاس‌ها استفاده شده، اجباری می‌کنیم که به‌هم نریزد */
.header-left,
.header-right {
    display: inline-flex;
    align-items: center;
}

.header-left {
    gap: 12px;
}

.page-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 18px;
    }
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: var(--light-bg);
    color: var(--dark);
    /* اگر display:flex باشد عنصر block می‌شود و آیتم‌ها در هدر زیر هم می‌افتند */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.icon-btn:hover {
    background: var(--primary);
}

.panel-header .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

.profile {
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

/* نگه داشتن چیدمان هدر (Right / Left) */
.panel-header .header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.panel-header .header-right {
    display: flex;
    align-items: center;
}

.profile img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.profile-info {
    line-height: 1.2;
}

.profile-info .name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.profile-info .role {
    font-size: 11px;
    color: #64748b;
}

/* =========================
    Content / Cards / Form
  ========================= */
.content {
    padding-top: 12px;
}

.form-card {
    background: var(--white);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 30px 60px var(--shadow);
}

@media (min-width: 768px) {
    .form-card {
        padding: 34px;
        border-radius: 10px;
    }
}

.page-header h3 {
    color: var(--dark);
    font-weight: 800;
}

.version {
    font-size: 13px;
    color: #64748b;
}

.form-control,
.form-select {
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid transparent;
    padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-control.highlight {
    background: var(--white);
    border: 2px solid var(--primary);
}

.form-control.error,
.form-select.error {
    border-color: var(--danger);
}

.error-text {
    color: var(--danger);
    font-size: 12px;
}

/* =========================
    Summary
  ========================= */
.summary-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 10px;
    height: 100%;
}

.summary-label {
    font-size: 13px;
    color: #64748b;
}

.summary-value {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.summary-value.price {
    color: var(--primary);
    font-size: 20px;
}

.summary-item--price .summary-value {
    font-size: 20px;
}

.badge-warning {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
}

.btn-outline {
    width: 100%;
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 14px;
    border-radius: 10px;
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================
    Dropdowns (Profile + Notifications) - Fixed & Matched to UI
  ========================= */

/* Base dropdown (header only) */
.panel-header .dropdown-menu {
    direction: rtl;
    text-align: right;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 18px 45px var(--shadow);
    background: var(--white);
    min-width: 260px;
    overflow: hidden;
}

/* Stop bootstrap default link styles inside dropdown */
.panel-header .dropdown-menu a,
.panel-header .dropdown-menu .dropdown-item {
    color: var(--dark);
    text-decoration: none !important;
}

.panel-header .dropdown-menu a:hover,
.panel-header .dropdown-menu a:focus {
    text-decoration: none !important;
}

/* Optional top label inside dropdown */
.panel-header .dropdown-menu .dd-title {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    padding: 6px 10px 10px;
}

/* Common dropdown items */
.panel-header .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    background: transparent;
    transition: 0.2s;
    white-space: nowrap;
    line-height: 1.2;
}

/* In RTL, keep icon visually on the right side of text */
.panel-header .dropdown-menu .dropdown-item {
    flex-direction: row;
    justify-content: flex-start;
}

.panel-header .dropdown-menu .dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--dark);
    opacity: 0.95;
    margin-left: 8px; /* space between icon and text in RTL */
    margin-right: 0;
}

/* If the HTML is icon AFTER text, still keep spacing */
.panel-header .dropdown-menu .dropdown-item span + i,
.panel-header .dropdown-menu .dropdown-item strong + i {
    margin-left: 0;
    margin-right: 8px;
}

/* Hover / focus */
.panel-header .dropdown-menu .dropdown-item:hover,
.panel-header .dropdown-menu .dropdown-item:focus {
    background: var(--primary-soft);
    color: var(--dark);
}

/* Divider */
.panel-header .dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    opacity: 1;
}

/* Notification badge alignment in RTL */
.panel-header .icon-btn .badge {
    right: 6px;
    left: auto;
}

/* =========================
    Notification dropdown
  ========================= */
.panel-header .dropdown-menu.notifications {
    min-width: 340px;
    padding: 10px;
}

@media (max-width: 575.98px) {
    .panel-header .dropdown-menu.notifications {
        min-width: 300px;
    }
}

.panel-header .dropdown-menu.notifications .notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    margin: 0 -10px 10px;
}

.panel-header .dropdown-menu.notifications .notif-head .t {
    font-weight: 900;
    font-size: 13px;
    color: var(--dark);
}

.panel-header .dropdown-menu.notifications .notif-head .c {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.panel-header .dropdown-menu.notifications .notif-item {
    display: flex;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: 0.2s;
}

.panel-header .dropdown-menu.notifications .notif-item:hover {
    background: var(--primary-soft);
}

.panel-header .dropdown-menu.notifications .notif-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--light-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: var(--dark);
}

.panel-header .dropdown-menu.notifications .notif-ico i {
    font-size: 16px;
}

.panel-header .dropdown-menu.notifications .notif-body {
    min-width: 0;
}

.panel-header .dropdown-menu.notifications .notif-title {
    font-weight: 900;
    font-size: 13px;
    color: var(--dark);
    line-height: 1.25;
}

.panel-header .dropdown-menu.notifications .notif-text {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.panel-header .dropdown-menu.notifications .notif-foot {
    padding: 10px 10px 6px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin: 10px -10px 0;
}

.panel-header .dropdown-menu.notifications .notif-foot a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
    color: var(--dark);
    text-decoration: none !important;
}

.panel-header .dropdown-menu.notifications .notif-foot a:hover {
    color: var(--primary);
}

/* =========================
    Profile dropdown (danger item)
  ========================= */
.panel-header .dropdown-menu .dropdown-item.text-danger,
.panel-header .dropdown-menu .dropdown-item.danger {
    color: var(--danger) !important;
}

.panel-header .dropdown-menu .dropdown-item.text-danger i,
.panel-header .dropdown-menu .dropdown-item.danger i {
    color: var(--danger) !important;
}

/* =========================
    Dark theme compatibility (keeps your palette)
  ========================= */
[data-theme='dark'] .panel-header .dropdown-menu {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
}

[data-theme='dark'] .panel-header .dropdown-menu a,
[data-theme='dark'] .panel-header .dropdown-menu .dropdown-item {
    color: #f1f5f9 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu .dropdown-item:hover,
[data-theme='dark'] .panel-header .dropdown-menu .dropdown-item:focus {
    background: #334155 !important;
    color: #f1f5f9 !important;
}

[data-theme='dark'] .panel-header .dropdown-divider {
    border-top-color: #334155 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-head {
    border-bottom-color: #334155 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-ico {
    background: #334155 !important;
    color: #f1f5f9 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-title {
    color: #f1f5f9 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-text {
    color: #94a3b8 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-foot {
    border-top-color: #334155 !important;
}

[data-theme='dark'] .panel-header .dropdown-menu.notifications .notif-foot a {
    color: #f1f5f9 !important;
}

.dd-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    /* align-content: center; */
    justify-content: flex-start;
}

.dd-item {
    margin: 10px;
}

.dd-head {
    margin: 10px;
}

/* حذف فلش پیش‌فرض بوت‌استرپ از روی لینک‌های dropdown */
.sidebar .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* حالت عادی: فلش رو به پایین */
.sidebar .dropdown-toggle .dropdown-arrow {
    transition: transform 0.25s ease; /* انیمیشن ملایم */
    transform-origin: center;
}

/* وقتی منو باز است (کلاس open روی li.dropdown) فلش رو به بالا بچرخد */
.sidebar .nav-item.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.exit {
    color: var(--danger);
}

/* کارت اصلی لیست فروش‌ها */
.sales-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 24px 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

/* هدر بالای کارت */
.sales-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.sales-subtitle {
    font-size: 13px;
    color: #94a3b8;
}

/* بسته‌ی جدول‌گونه */
.sales-table-wrapper {
    width: 100%;
}

/* سطرها */
.sales-row {
    width: 100%;
    border: none;
    background: transparent;
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.7fr 1.2fr 1.1fr 1.4fr;
    padding: 14px 20px;
    align-items: center;
    text-align: right;
    cursor: pointer;
    transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
    border-radius: 10px;
    margin-bottom: 6px;
}

/* هدر سطرها */
.sales-row-head {
    cursor: default;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    padding-bottom: 10px;
    margin-bottom: 6px;
}

.sales-row-head:hover,
.sales-row-head:focus {
    box-shadow: none;
    transform: none;
    background: transparent;
}

/* محتوای سلول‌ها */
.sales-col {
    font-size: 13px;
    color: #0f172a;
    white-space: nowrap;
}

.sales-col.car {
    white-space: normal;
    line-height: 1.5;
}

/* هوور و ردیف فعال با هاله خیلی ملایم */
.sales-row:not(.sales-row-head):hover,
.sales-row.sales-row-active {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

/* نشانگر وضعیت */
.badge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* رنگ‌ها شبیه طرح */
.badge-wait {
    background: #ffc107; /* نارنجی روشن */
    color: #000000;
}

.badge-done {
    background: rgba(52, 211, 153, 0.18); /* سبز خیلی ملایم */
    color: #15803d;
}

.badge-cancel {
    background: rgba(248, 113, 113, 0.2); /* قرمز روشن */
    color: #b91c1c;
}

/* ریسپانسیو: در موبایل ستون‌ها را استک کن */
@media (max-width: 992px) {
    .sales-row,
    .sales-row-head {
        grid-template-columns: 1.2fr 1fr 1fr;
        row-gap: 6px;
    }

    .sales-col.car {
        grid-column: 1 / -1;
    }

    .sales-col.amount {
        grid-column: 2 / -1;
    }
}

/* =========================
   Sales list - Dark theme
========================= */
[data-theme='dark'] .sales-card {
    background: #0f172a; /* نزدیک به تم کلی‌ات */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

[data-theme='dark'] .sales-header h3 {
    color: #e5e7eb;
}

[data-theme='dark'] .sales-subtitle {
    color: #9ca3af;
}

[data-theme='dark'] .sales-col {
    color: #e5e7eb;
}

[data-theme='dark'] .sales-row:not(.sales-row-head):hover,
[data-theme='dark'] .sales-row.sales-row-active {
    background: rgba(15, 23, 42, 0.96); /* هاله خیلی ملایم روی پس‌زمینه تیره */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

/* هدِ جدول در دارک‌مود */
[data-theme='dark'] .sales-row-head {
    color: #9ca3af;
}

/* بج‌ها در دارک‌مود کمی تیره‌تر تا روی پس‌زمینه‌ی تیره نترکند */
[data-theme='dark'] .badge-wait {
    background: rgba(251, 146, 60, 0.22);
    color: #fed7aa;
}

[data-theme='dark'] .badge-done {
    background: rgba(34, 197, 94, 0.24);
    color: #bbf7d0;
}

[data-theme='dark'] .badge-cancel {
    background: rgba(248, 113, 113, 0.28);
    color: #fecaca;
}

/* =========================
   Dashboard cards
========================= */

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

/* کارت‌های کوچک بالا */
.dash-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    padding: 18px 18px 20px;
}

.dash-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-card-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.dash-card-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

/* آیکن دایره‌ای داخل کارت‌ها */
.dash-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dash-card-icon.icon-blue {
    background: #e0edff;
    color: #2563eb;
}

.dash-card-icon.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.dash-card-icon.icon-up {
    background: #d9f99d;
    color: #65a30d;
}

/* کارت بزرگ نمودار */
.dash-chart-card {
    margin-top: 8px;
    background: var(--white);
    border-radius: 10px;
    padding: 22px 24px 26px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.dash-chart-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.dash-chart-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* محوطه‌ی نمودار */
.dash-chart-body {
    margin-top: 8px;
    position: relative;
    padding-top: 12px;
}

/* شبکه‌ی ستون‌ها */
.dash-chart-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    border-radius: 10px;
    padding: 24px 18px 18px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* خطوط افقی خیلی ملایم */
.dash-chart-grid::before,
.dash-chart-grid::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.dash-chart-grid::before {
    top: 30%;
}

.dash-chart-grid::after {
    top: 60%;
}

.dash-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.dash-bar {
    width: 18px;
    border-radius: 10px;
    background: #bfdbfe;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-bar-main {
    background: #2563eb;
}

.dash-bar-soft {
    background: #bfdbfe;
}

/* hover روی ستون */
.dash-bar-col:hover .dash-bar {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.35);
}

.dash-bar-label {
    font-size: 12px;
    color: #64748b;
}

/* لیبل‌های محور Y (سمت راست در RTL) */
.dash-chart-y-labels {
    position: absolute;
    top: 18px;
    right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 40px);
    pointer-events: none;
}

.dash-chart-y-labels span {
    font-size: 11px;
    color: #94a3b8;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .dash-chart-card {
        padding: 18px 14px 22px;
    }

    .dash-chart-grid {
        padding-inline: 10px;
    }

    .dash-bar {
        width: 14px;
    }

    .dash-chart-y-labels {
        right: 4px;
    }
}

/* =========================
   Dashboard - Dark theme
========================= */
[data-theme='dark'] .dash-card,
[data-theme='dark'] .dash-chart-card {
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

[data-theme='dark'] .dash-card-label,
[data-theme='dark'] .dash-chart-y-labels span,
[data-theme='dark'] .dash-bar-label {
    color: #9ca3af;
}

[data-theme='dark'] .dash-card-value,
[data-theme='dark'] .dash-chart-title {
    color: #e5e7eb;
}

[data-theme='dark'] .dash-chart-grid {
    background: #020617;
}

[data-theme='dark'] .dash-chart-grid::before,
[data-theme='dark'] .dash-chart-grid::after {
    border-top-color: rgba(51, 65, 85, 0.9);
}

[data-theme='dark'] .dash-bar-soft {
    background: #1d4ed8;
}

[data-theme='dark'] .dash-bar-main {
    background: #3b82f6;
}

/* =========================
   Users list page
========================= */

.users-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* عنوان‌های بالای صفحه */
.users-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.users-subtitle {
    font-size: 12px;
    color: #94a3b8;
}

/* دکمه افزودن اپراتور */
.btn-add-operator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #020617;
    color: #f9fafb;
    border: none;
    border-radius: 10px;
    padding: 10px 18px 10px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-add-operator:hover {
    background: #020617;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.btn-add-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffffff47;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* کارت لیست کاربران */
.users-card {
    background: var(--white);
    border-radius: 10px;
    padding: 24px 24px 28px;
    box-shadow: 0 18px 40px var(--shadow);
}

/* جدول شِبه-grid */
.users-table-wrapper {
    width: 100%;
}

.users-row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr 1.4fr; /* RTL: از راست به چپ: وضعیت، یوزرنیم، نقش، نام */
    padding: 14px 16px;
    align-items: center;
    text-align: right;
    border-radius: 10px;
}

.users-row-head {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.users-row:not(.users-row-head):nth-child(odd) {
    background: rgba(248, 250, 252, 0.8);
}

.users-row:not(.users-row-head):nth-child(even) {
    background: transparent;
}

.users-col {
    font-size: 13px;
    color: #0f172a;
    white-space: nowrap;
}

#TODO
    /* وضعیت کاربر */
.user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.user-badge-active {
    background: rgba(52, 211, 153, 0.18);
    color: #15803d;
}

/* ریسپانسیو ساده: در موبایل جدول فشرده‌تر شود */
@media (max-width: 768px) {
    .users-row {
        grid-template-columns: 0.9fr 1fr 1fr 1.5fr;
        padding-inline: 10px;
    }

    .users-card {
        padding: 18px 14px 22px;
    }
}

/* =========================
   Users page - Dark theme
========================= */

[data-theme='dark'] .users-title {
    color: #e5e7eb;
}

[data-theme='dark'] .users-subtitle {
    color: #9ca3af;
}

[data-theme='dark'] .users-card {
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

[data-theme='dark'] .users-row-head {
    color: #9ca3af;
}

[data-theme='dark'] .users-col {
    color: #e5e7eb;
}

[data-theme='dark'] .users-row:not(.users-row-head):nth-child(odd) {
    background: rgba(15, 23, 42, 0.9);
}

[data-theme='dark'] .users-row:not(.users-row-head):nth-child(even) {
    background: rgba(15, 23, 42, 0.7);
}

/* دکمه در دارک‌مود تقریبا همان است ولی کمی روشن‌تر برای تمایز */
[data-theme='dark'] .btn-add-operator {
    background: #020617;
    color: #f9fafb;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

[data-theme='dark'] .btn-add-icon {
    background: #111827;
}

/* Dark Mode Styling */
[data-theme='dark'] .form-card {
    background-color: #1e293b;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

[data-theme='dark'] .form-group label {
    color: #e5e7eb;
}

[data-theme='dark'] .form-control,
[data-theme='dark'] .form-select {
    background-color: #334155;
    color: #e5e7eb;
    border: 1px solid #475569;
}

[data-theme='dark'] .form-control:focus,
[data-theme='dark'] .form-select:focus {
    background-color: #1e293b;
    border-color: #e5e7eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

[data-theme='dark'] .btn-add-operator {
    background-color: #020617;
    color: #f9fafb;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

[data-theme='dark'] .btn-add-icon {
    background-color: #111827;
}

/* Button Styling */
.submit-btn {
    background-color: #ffcc00;
    color: #333;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #f7b500;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    background-color: #f1f5f9;
    border: 1px solid #e1e1e1;
}

.form-select {
    border-radius: 10px;
    padding: 12px;
    background-color: #f1f5f9;
    border: 1px solid #e1e1e1;
}

/* Header Styling */
.page-header h3 {
    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.version {
    color: #64748b;
    font-size: 14px;
}

/* =========================
 Filter modal (light)
========================= */

/* کارت مدال: این selector مستقیماً روی modal-content همین مدال اعمال می‌شود */
.modal.filter-modal .modal-content.filter-modal-content {
    background: #ffffff !important; /* کارت سفید شبیه طرح */
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
    padding: 24px 22px 26px !important;
}

/* از header/footer پیش‌فرض بوت‌استرپ استفاده نمی‌کنیم */
.modal.filter-modal .modal-header,
.modal.filter-modal .modal-footer {
    display: none;
}

.modal.filter-modal .modal-body {
    padding: 0;
}

/* هدر داخلی */
.filter-header {
    margin-bottom: 18px;
}

.filter-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

/* دکمه بستن کوچک گرد */
.filter-close {
    background-color: #e5e7eb;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    opacity: 1;
}

.filter-close:hover {
    background-color: #cbd5e1;
}

/* لیبل‌ها */
.filter-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

/* ورودی‌های مخصوص مدال: override روی form-control / form-select */
.modal.filter-modal .form-control.filter-input,
.modal.filter-modal .form-select.filter-input {
    border-radius: 12px;
    background: #e5edff;
    border: 1px solid transparent;
    padding: 11px 12px;
    font-size: 13px;
}

.modal.filter-modal .form-control.filter-input:focus,
.modal.filter-modal .form-select.filter-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* آیکن داخل فیلد */
.filter-input-wrap {
    position: relative;
}

.filter-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
}

/* بک‌دراپ کمی تیره‌تر */
.modal-backdrop.show {
    opacity: 0.45;
}

/* ریسپانسیو */
@media (max-width: 576px) {
    .modal.filter-modal .modal-content.filter-modal-content {
        padding-inline: 16px !important;
    }
}

/* =========================
   Filter modal - Dark theme
========================= */

[data-theme='dark'] .modal.filter-modal .modal-content.filter-modal-content {
    background: #1e293b !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8) !important;
}

[data-theme='dark'] .filter-title {
    color: #e5e7eb;
}

[data-theme='dark'] .filter-label {
    color: #9ca3af;
}

[data-theme='dark'] .modal.filter-modal .form-control.filter-input,
[data-theme='dark'] .modal.filter-modal .form-select.filter-input {
    background: #0f172a;
    border-color: #1f2937;
    color: #e5e7eb;
}

[data-theme='dark'] .modal.filter-modal .form-control.filter-input:focus,
[data-theme='dark'] .modal.filter-modal .form-select.filter-input:focus {
    background: #020617;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

[data-theme='dark'] .filter-input-icon {
    color: #6b7280;
}

[data-theme='dark'] .filter-close {
    background-color: #111827;
    color: #e5e7eb;
}

[data-theme='dark'] .filter-close:hover {
    background-color: #1f2937;
}

/* برای اطمینان از یکسان بودن عرض ورودی‌ها */
.form-control, .form-select {
    width: 100%; /* اطمینان از یکنواخت بودن عرض */
    padding: 12px 14px;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid transparent;
}

/* برای ورودی‌ها در داخل flex container */
.d-flex .form-control,
.d-flex .form-select {
    width: 100%; /* اطمینان از یکنواخت بودن عرض */
}

/* اطمینان از یکنواخت بودن فاصله و اندازه‌ها */
.d-flex .form-control,
.d-flex .form-select,
.d-flex .flex-grow-1 {
    margin: 0; /* حذف فاصله اضافی */
}

/* تنظیمات برای highlight ورودی‌ها */
.form-control.highlight {
    background: var(--white);
    border: 2px solid var(--primary);
}

.toastify {
    font-family: 'Vazir', Tahoma, sans-serif !important;
    direction: rtl !important;
}

.toastify .toast {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 16px 20px !important;
    font-weight: 500 !important;
}

/* =========================
   Sales Table UI (Synced & Fixed)
   ========================= */

/* تنظیمات کلی کارت جدول */
.sales-card-fancy {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    font-family: 'Vazirmatn', sans-serif;
}

/* هدر جدول */
.fancy-header {
    margin-bottom: 24px;
}

.fancy-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.fancy-subtitle {
    font-size: 13px;
    color: #64748b;
}

/* دکمه افزودن */
.btn-fancy-add {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-fancy-add:hover {
    background: #334155;
    transform: translateY(-1px);
}

/* کانتینر جدول */
.table-fancy-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* جدول */
.fancy-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* هدر ستون‌ها */
.fancy-table thead th {
    background-color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border: none;
    padding: 16px;
    border-bottom: 2px solid #e2e8f0;
}

/* سطرها */
.fancy-table tbody tr {
    background-color: #fff;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.fancy-table tbody tr:last-child {
    border-bottom: none;
}

.fancy-table tbody tr:hover {
    background-color: #fcfcfc;
    transform: scale(1.002);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    z-index: 2;
    position: relative;
}

.fancy-table td {
    padding: 16px;
    vertical-align: middle;
    color: #334155;
    font-size: 14px;
    border: none;
}

/* المان‌های داخلی */
.row-id-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
}

.car-main-name {
    font-weight: 700;
    color: #0f172a;
}

.brand-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    color: #64748b;
}

.price-cell {
    font-family: 'Tahoma', sans-serif;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
}

/* --- رنگ‌بندی وضعیت‌ها (هماهنگ با متد مدل) --- */
.fancy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* سبز (برای badge-done / STATUS_OPEN) */
.fancy-badge.badge-done {
    background-color: #dcfce7;
    color: #166534;
}

/* قرمز (برای badge-cancel / STATUS_CLOSE) */
.fancy-badge.badge-cancel {
    background-color: #fee2e2;
    color: #991b1b;
}

/* زرد (برای badge-wait / STATUS_PENDING) */
.fancy-badge.badge-wait {
    background-color: #fef9c3;
    color: #854d0e;
}

/* --- دکمه‌های عملیات --- */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-view {
    color: #0d6efd; /* رنگ آبی بوت‌استرپ */
    background-color: rgba(13, 110, 253, 0.1); /* پس‌زمینه آبی خیلی روشن */
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-view:hover {
    color: #fff;
    background-color: #0d6efd; /* پس‌زمینه آبی پررنگ هنگام هاور */
    transform: translateY(-2px); /* کمی حرکت به بالا */
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2); /* سایه آبی */
}

.btn-g {
    color: #0cc715; /* رنگ آبی بوت‌استرپ */
    background-color: rgba(45, 253, 13, 0.2); /* پس‌زمینه آبی خیلی روشن */
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-g:hover {
    color: #fff;
    background-color: #0cc715; /* پس‌زمینه آبی پررنگ هنگام هاور */
    transform: translateY(-2px); /* کمی حرکت به بالا */
    box-shadow: 0 4px 6px rgba(45, 253, 13, 0.2); /* سایه آبی */
}

/* دکمه ویرایش (زرد طبق درخواست) */
.btn-edit {
    background-color: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.btn-edit:hover {
    background-color: #facc15;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}

/* دکمه حذف */
.btn-delete {
    background-color: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover {
    background-color: #dc2626;
    color: #fff;
    transform: translateY(-2px);
}

/* =========================
   Dark Mode Compatibility
   ========================= */
[data-theme='dark'] .sales-card-fancy {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme='dark'] .fancy-title {
    color: #f1f5f9;
}

[data-theme='dark'] .fancy-subtitle {
    color: #94a3b8;
}

[data-theme='dark'] .fancy-table thead th {
    background-color: #0f172a;
    color: #94a3b8;
    border-bottom-color: #334155;
}

[data-theme='dark'] .fancy-table tbody tr {
    background-color: #1e293b;
    border-bottom-color: #334155;
}

[data-theme='dark'] .fancy-table tbody tr:hover {
    background-color: #334155;
}

[data-theme='dark'] .fancy-table td {
    color: #cbd5e1;
}

[data-theme='dark'] .row-id-badge {
    background: #334155;
    color: #94a3b8;
}

[data-theme='dark'] .brand-tag {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme='dark'] .price-cell {
    color: #f1f5f9;
}

/* وضعیت‌ها در دارک مود */
[data-theme='dark'] .fancy-badge.badge-done {
    background-color: rgba(22, 163, 74, 0.2);
    color: #86efac;
}

[data-theme='dark'] .fancy-badge.badge-cancel {
    background-color: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

[data-theme='dark'] .fancy-badge.badge-wait {
    background-color: rgba(234, 179, 8, 0.2);
    color: #fde047;
}

/* دکمه ویرایش در دارک مود */
[data-theme='dark'] .btn-edit {
    background-color: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.3);
}

[data-theme='dark'] .btn-edit:hover {
    background-color: #facc15;
    color: #000;
}

/* دکمه حذف در دارک مود */
[data-theme='dark'] .btn-delete {
    background-color: rgba(220, 38, 38, 0.15);
    color: #f87171;
}

[data-theme='dark'] .btn-delete:hover {
    background-color: #dc2626;
    color: #fff;
}

/* =========================
   Global Preloader Styles (Modern & Minimal)
   ========================= */
/*

.global-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.90); !* کمی شفاف‌تر برای حس مدرن‌تر *!
    backdrop-filter: blur(8px); !* بلور قوی‌تر *!
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

!* حالت نمایش *!
.global-preloader.active {
    opacity: 1;
    visibility: visible;
}

!* کانتینر وسط *!
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

!* باکس لوگو *!
.preloader-logo-box {
    width: 90px;
    height: 90px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    !* انیمیشن شناور بودن لوگو *!
    animation: float-logo 3s ease-in-out infinite;
}

.preloader-logo-box img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    z-index: 2; !* لوگو روی نوار قرار بگیرد *!
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05)); !* سایه نرم روی خود لوگو *!
}

!* --- نوار پیشرفت دایره‌ای (SVG) --- *!
.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); !* شروع از بالا *!
    z-index: 1;
}

.preloader-progress circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round; !* گرد بودن سر خط *!
}

!* پس‌زمینه دایره (خاکستری خیلی کمرنگ) *!
.preloader-progress .bg {
    stroke: rgba(15, 23, 42, 0.06);
}

!* خط پر شونده (زرد اصلی) *!
.preloader-progress .fill {
    stroke: var(--primary);
    !* محیط دایره با شعاع 45 تقریبا 283 پیکسل است *!
    stroke-dasharray: 283;
    stroke-dashoffset: 283; !* در ابتدا خالی باشد *!
    animation: progress-fill 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

!* متن زیر لوگو *!
.preloader-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    letter-spacing: -0.2px; !* فونت فارسی زیباتر با فاصله منفی *!
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in-up 0.5s ease forwards 0.2s; !* تاخیر در ظاهر شدن *!
}

!* =========================
   Animations
   ========================= *!

!* انیمیشن پر شدن دایره *!
@keyframes progress-fill {
    0% {
        stroke-dashoffset: 283; !* شروع از صفر *!
    }
    50% {
        stroke-dashoffset: 40; !* پر شدن تا نزدیکی پایان *!
    }
    100% {
        stroke-dashoffset: 283; !* خالی شدن دوباره برای لوپ *!
    }
}

!* انیمیشن شناور بودن لوگو (بالا و پایین رفتن نرم) *!
@keyframes float-logo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px); !* حرکت کمی به بالا *!
    }
}

!* ظاهر شدن متن *!
@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

!* =========================
   Dark Mode Compatibility
   ========================= *!
[data-theme='dark'] .global-preloader {
    background-color: rgba(15, 23, 42, 0.92); !* پس‌زمینه تیره *!
}

[data-theme='dark'] .preloader-text {
    color: var(--white);
}

[data-theme='dark'] .preloader-progress .bg {
    stroke: rgba(255, 255, 255, 0.05); !* رنگ پس‌زمینه دایره در دارک مود *!
}
*/


.branch-switcher-btn {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.branch-switcher-btn:hover {
    background-color: rgba(13, 110, 253, 0.2);
}

.active-li {
    background: #E7EBF4 !important;
    border-radius: 10px !important;
}

.hover-bg-light:hover {
    background-color: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.transition-all {
    transition: all 0.2s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.1);
}

/* مخفی کردن Radio Button پیش‌فرض */
.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

thead, tbody {
    text-align: center !important;
}
