﻿/* =============================================
   Glassmorphism Theme for Dash Light
   (Final Fix – No Stacking Context on Rows)
   ============================================= */

/* ---------- پس‌زمینه روشن و شیشه‌ای ---------- */
body.nk-body {
    background: radial-gradient(ellipse at 20% 50%, rgba(203, 213, 225, 0.3) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(226, 232, 240, 0.25) 0%, transparent 55%), linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    background-attachment: fixed;
    position: relative;
    color: #0f172a;

}

    /* انیمیشن ملایم */
    body.nk-body::before {
        content: "";
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 50%, rgba(203, 213, 225, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(226, 232, 240, 0.08) 0%, transparent 50%);
        z-index: 0;
        animation: auroraMove 20s ease-in-out infinite alternate;
        pointer-events: none;
    }
.textnew , h6 {
    color: white;
}
@keyframes auroraMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-1%, 1%) scale(1.02);
    }

    100% {
        transform: translate(1%, -1%) scale(1);
    }
}

/* ---------- هدر ---------- */
.nk-header {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    z-index: 1030;
    color: #0f172a;
}

/* ---------- سایدبار ---------- */
.nk-sidebar {
    background: linear-gradient(135deg, #0f172a, #312e81) !important; /* سرمه‌ای تیره → بنفش عمیق */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1020;
}

    .nk-sidebar .nk-menu-link {
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 500;
    }

        .nk-sidebar .nk-menu-link:hover,
        .nk-sidebar .nk-menu-item.active > .nk-menu-link,
        .nk-sidebar .nk-menu-item.current-menu > .nk-menu-link {
            background: rgba(255, 255, 255, 0.2) !important;
            color: #fff !important;
            border-radius: 8px;
        }

    .nk-sidebar .nk-menu-heading {
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 600;
    }

    .nk-sidebar .nk-menu-icon {
        color: rgba(255, 255, 255, 0.8) !important;
    }

/* ---------- کارت‌ها (شیشه‌ای بدون ایجاد Stacking Context) ---------- */
.card,
.card-bordered {
    position: relative;
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    color: #0f172a;
    overflow: visible !important;
    z-index: auto; /* مهم: z-index خودکار تا Stacking Context اضافه نسازد */
}

    /* لایه شیشه‌ای پشت کارت */
    .card::before,
    .card-bordered::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: inherit;
        background: inherit;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: -1; /* پشت محتوا، ولی در همان Stacking Context */
    }

.card-header,
.card-footer {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* ---------- جداول (ردیف‌ها بدون Stacking Context) ---------- */
/* هدر جدول */
.nk-tb-list .nk-tb-head {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* ردیف‌های جدول – فقط رنگ، بدون هیچ position یا z-index */
.nk-tb-list .nk-tb-item {
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
    /* مطلقاً هیچ position یا z-index اضافه نشود */
}

    .nk-tb-list .nk-tb-item:hover {
        background: rgba(255, 255, 255, 0.85);
    }

/* استایل وضعیت‌ها */
.tb-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

    .tb-status.text-info {
        color: #0284c7 !important;
        background: rgba(2, 132, 199, 0.15);
    }

    .tb-status.text-warning {
        color: #a16207 !important;
        background: rgba(245, 158, 11, 0.15);
    }

    .tb-status.text-danger {
        color: #b91c1c !important;
        background: rgba(220, 38, 38, 0.15);
    }

    .tb-status.text-success {
        color: #15803d !important;
        background: rgba(22, 163, 74, 0.15);
    }

/* ---------- دراپ‌داون (همیشه قابل مشاهده) ---------- */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border-radius: 16px !important;
    z-index: 9999 !important; /* بالاترین اولویت */
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #0f172a !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.15s;
}

    .dropdown-item:hover {
        background: rgba(102, 126, 234, 0.1) !important;
        color: #3730a3 !important;
    }

/* ---------- فرم‌ها ---------- */
.form-control,
.form-select,
.custom-select {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
    border-radius: 10px;
}

    .form-control:focus,
    .form-select:focus {
        background: rgba(255, 255, 255, 1) !important;
        border-color: rgba(55, 48, 163, 0.5) !important;
        box-shadow: 0 0 0 3px rgba(55, 48, 163, 0.15) !important;
    }

.form-label {
    color: #1e293b !important;
    font-weight: 500;
}

/* ---------- دکمه‌ها ---------- */
.btn-primary {
    background: linear-gradient(135deg, #3730a3, #5b21b6) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(55, 48, 163, 0.5);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(55, 48, 163, 0.7);
    }

.btn-light, .dual-listbox .dual-listbox__button {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #1e293b;
}

    .btn-outline-light:hover {
        background: rgba(0, 0, 0, 0.03);
    }

.btn-dim.btn-outline-light,
.btn-white {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

/* ---------- مودال‌ها ---------- */
.modal-content {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ---------- سایر ---------- */
.alert {
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.badge {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.progress {
    background: rgba(0, 0, 0, 0.05) !important;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3730a3, #5b21b6) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0, 0, 0, 0.05);
}

/* z-index محتوا */
.nk-content {
    position: relative;
    z-index: 1;
}

/* رنگ‌های تیره برای متن */
.nk-block-title, .card-title, h4, h5, h6 {
    color: #0f172a !important;
}

.text-soft {
    color: #475569 !important;
}

/* رفع overflow در کارت‌های حاوی جدول */
.card-stretch,
.card-inner.p-0,
.card-inner-group {
    overflow: visible !important;
}


/* =============================================
   استایل دکمه‌های رنگی (Warning, Info, Danger, Success و ...)
   ============================================= */

/* دکمه Warning (زرد/نارنجی) */
.btn-warning {
    background: linear-gradient(135deg, #f97316, #f59e0b) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.65);
    }

/* دکمه Info (آبی) */
.btn-info {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-info:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(14, 165, 233, 0.65);
    }

/* دکمه Danger (قرمز) */
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.65);
    }

/* دکمه Success (سبز) */
.btn-success {
    background: linear-gradient(135deg, #047857, #10b981) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.65);
    }

/* دکمه Secondary (خاکستری) */
.btn-secondary {
    background: linear-gradient(135deg, #475569, #64748b) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(71, 85, 105, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(71, 85, 105, 0.65);
    }

/* دکمه Dark (مشکی) */
.btn-dark {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.45);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-dark:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30, 41, 59, 0.65);
    }

/* ---------- تصحیح رنگ h6 در سایدبار ---------- */
/* (قبلاً h6 را سفید کرده بودید، اما اگر فقط سایدبار نیاز است) */
.nk-sidebar h6 {
    color: rgba(255, 255, 255, 0.9) !important;
}



/* =============================================
   دکمه‌های ابزار بالای صفحه (Toolbar Buttons)
   ============================================= */

/* دکمه بررسی وضعیت */
.btn-toolbar-status {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    border-radius: 12px;
    color: #1e40af !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

    .btn-toolbar-status:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(59, 130, 246, 0.6) !important;
        box-shadow: 0 4px 18px rgba(59, 130, 246, 0.25);
        transform: translateY(-1px);
        color: #1e3a8a !important;
    }

/* دکمه خروجی PDF */
.btn-toolbar-pdf {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 12px;
    color: #b91c1c !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.1);
}

    .btn-toolbar-pdf:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(220, 38, 38, 0.6) !important;
        box-shadow: 0 4px 18px rgba(220, 38, 38, 0.25);
        transform: translateY(-1px);
        color: #991b1b !important;
    }

/* دکمه ورود اکسل */
.btn-toolbar-excel {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(22, 163, 74, 0.3) !important;
    border-radius: 12px;
    color: #15803d !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.1);
}

    .btn-toolbar-excel:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(22, 163, 74, 0.6) !important;
        box-shadow: 0 4px 18px rgba(22, 163, 74, 0.25);
        transform: translateY(-1px);
        color: #166534 !important;
    }




/* =============================================
   دکمه‌های برگشت و خروجی PDF در فرم ویرایش/ثبت
   ============================================= */

/* دکمه برگشت (دسکتاپ) */
.btn-back {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 116, 139, 0.3) !important;
    border-radius: 12px;
    color: #475569 !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(100, 116, 139, 0.08);
}

    .btn-back:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(100, 116, 139, 0.5) !important;
        box-shadow: 0 4px 18px rgba(100, 116, 139, 0.18);
        transform: translateY(-1px);
        color: #1e293b !important;
    }

/* دکمه برگشت (موبایل، فقط آیکون) */
.btn-back-icon {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 116, 139, 0.3) !important;
    border-radius: 12px;
    color: #475569 !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .btn-back-icon:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(100, 116, 139, 0.5) !important;
        box-shadow: 0 4px 12px rgba(100, 116, 139, 0.18);
        color: #1e293b !important;
    }

/* دکمه خروجی PDF (مشابه toolbar اما اندازه کوچک‌تر) */
.btn-pdf {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 12px;
    color: #b91c1c !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.1);
}

    .btn-pdf:hover {
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: rgba(220, 38, 38, 0.6) !important;
        box-shadow: 0 4px 18px rgba(220, 38, 38, 0.25);
        transform: translateY(-1px);
        color: #991b1b !important;
    }


/* =============================================
   Dashboard Cards & Info List – Professional Glass Style
   ============================================= */

/* کارت‌های آماری */
.dash-stat-card {
    position: relative;
    overflow: hidden;
}

    .dash-stat-card .stat-accent {
        height: 6px;
        width: 100%;
    }

    .dash-stat-card .stat-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .dash-stat-card .stat-title .icon {
            font-size: 1.3rem;
        }

    .dash-stat-card .stat-value {
        font-size: 1.4rem;
        font-weight: 700;
        color: #0f172a;
    }

    .dash-stat-card .stat-currency {
        font-size: 0.75rem;
        color: #64748b;
        margin-right: 4px;
    }

    .dash-stat-card .stat-month {
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
    }

    .dash-stat-card .stat-month-label {
        color: #64748b;
    }

    .dash-stat-card .stat-month-value {
        font-weight: 700;
    }

/* لیست اطلاعات ثبت‌شده */
.info-list-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.2s;
}

    .info-list-item:last-child {
        border-bottom: none;
    }

    .info-list-item:hover {
        background: rgba(0,0,0,0.02);
    }

.info-list-icon {
    font-size: 1.5rem;
    margin-left: 14px;
    flex-shrink: 0;
}

.info-list-text {
    flex: 1;
    font-weight: 500;
    color: #1e293b;
}

.info-list-link {
    color: inherit;
    transition: transform 0.2s;
}

    .info-list-link:hover {
        transform: translateX(3px);
    }

/* عنوان صفحه */
.dash-title {
    color: #3730a3 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-welcome {
    color: #475569;
    font-size: 0.9rem;
}

/* تنظیمات Grid برای کارت‌ها */
@media (min-width: 768px) {
    .dashboard-grid .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}


/* =============================================
   خفن‌ترین داشبورد شیشه‌ای
   ============================================= */

/* هدر داشبورد */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

    .dash-header .dash-greeting h2 {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(135deg, #3730a3, #5b21b6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .dash-header .dash-greeting p {
        color: #475569;
        font-size: 1rem;
        margin-top: 0.25rem;
    }

    .dash-header .dash-date {
        background: rgba(255,255,255,0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 16px;
        padding: 0.5rem 1.25rem;
        font-weight: 600;
        color: #1e293b;
        font-size: 0.9rem;
    }

/* کارت‌های آماری */
.dash-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #3730a3 !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* فقط سایه و حاشیه */
    /* حذف transform از transition */
}

    .dash-card:hover {
        /* حذف کامل translateY */
        /*box-shadow: 0 20px 5px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(102, 126, 234, 0.5) inset;*/
        border-color: rgba(102, 126, 234, 0.5) !important;
    }

    .dash-card .card-inner {
        position: relative;
        z-index: 1;
        padding: 1.5rem;
    }

    .dash-card .dash-icon-bg {
        position: absolute;
        left: -10px;
        bottom: -20px;
        font-size: 6rem;
        opacity: 0.15;
        z-index: 0;
        transition: all 0.3s ease;
    }

    .dash-card:hover .dash-icon-bg {
        opacity: 0.50;
        
    }

    .dash-card .dash-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .dash-card .dash-title .icon {
            font-size: 1.5rem;
            background: rgba(0,0,0,0.05);
            padding: 0.5rem;
            border-radius: 14px;
        }

    .dash-card .dash-value {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.2;
    }

    .dash-card .dash-sub {
        font-size: 0.8rem;
        color: #64748b;
        margin-top: 0.25rem;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .dash-card .dash-sub .up {
            color: #059669;
            font-weight: 600;
        }

    .dash-card .dash-footer {
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        color: #475569;
    }

        .dash-card .dash-footer strong {
            font-weight: 700;
        }

/* لیست اطلاعات */
.info-card {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6) !important;
    border-radius: 24px !important;
    overflow: hidden;
}

    .info-card .info-header {
        background: linear-gradient(135deg, rgba(55,48,163,0.08), rgba(91,33,182,0.05));
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-weight: 700;
        color: #3730a3;
        font-size: 1.1rem;
    }

.info-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s;
    text-decoration: none !important;
    color: inherit !important;
}

    .info-row:last-child {
        border-bottom: none;
    }

    .info-row:hover {
        background: rgba(0,0,0,0.02);
    }

    .info-row .info-icon {
        font-size: 1.8rem;
        margin-left: 1rem;
        width: 40px;
        text-align: center;
    }

    .info-row .info-text {
        flex: 1;
        font-weight: 600;
        color: #1e293b;
    }

    .info-row .info-badge {
        background: rgba(0,0,0,0.04);
        padding: 0.3rem 0.8rem;
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.9rem;
        color: #0f172a;
    }

    .info-row .info-arrow {
        margin-right: 1rem;
        color: #94a3b8;
        font-size: 1.2rem;
        transition: transform 0.2s;
    }

    .info-row:hover .info-arrow {
        transform: translateX(4px);
        color: #3730a3;
    }

/* انیمیشن‌های پس‌زمینه کارت */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px); /* فقط ۲ پیکسل جابجایی */
    }

    100% {
        transform: translateY(0px);
    }
}

.dash-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite; /* سرعت بیشتر = حرکت آرام‌تر */
}

.dash-card:nth-child(even) {
    animation: float 7s ease-in-out infinite reverse;
}