﻿/* =============================================
   Glassmorphism Theme – Gold & Dark Edition
   رنگ‌بندی بر اساس پالت تصویر:
   طلایی: #FEC214 | تیره: #1B1D24 | سفید: #FFFFFF
   ============================================= */

/* =============================================
   آیتم‌های اعلان – شیشه‌ای
   ============================================= */

/* هدر دراپ‌داون */
.dropdown-head {
    background: rgba(27, 29, 36, 0.85) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(254, 194, 20, 0.2);
    padding: 1rem 1.5rem;
    color: #FEC214 !important;
}

/* بدنه دراپ‌داون */
.dropdown-body {
    background: rgba(27, 29, 36, 0.75) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* هر آیتم اعلان */
.nk-notification-item {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    margin: 6px 12px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(254, 194, 20, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

    .nk-notification-item:hover {
        background: rgba(254, 194, 20, 0.12);
        border-color: rgba(254, 194, 20, 0.35);
        box-shadow: 0 2px 8px rgba(254, 194, 20, 0.1);
    }

/* آیکون داخل آیتم */
.nk-notification-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
}

/* محتوای متن */
.nk-notification-content {
    flex: 1;
    color: #F8D25F;
}

.nk-notification-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: #FFFFFF;
}

.nk-notification-time {
    font-size: 0.75rem;
    color: #9D9D9D;
    margin-top: 2px;
}

/* عنوان بخش */
.dropdown-inner .overline-title {
    color: #FEC214 !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    margin: 0 12px;
    border-bottom: 1px solid rgba(254, 194, 20, 0.2);
}

/* فوتر دراپ‌داون */
.dropdown-foot {
    background: rgba(27, 29, 36, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(254, 194, 20, 0.15);
    padding: 1rem;
}

    .dropdown-foot .btn-sm {
        padding: 0.4rem 1rem;
        font-weight: 500;
        border-radius: 10px;
    }

/* ---------- پس‌زمینه تیره و شیشه‌ای ---------- */
body.nk-body {
    background: radial-gradient(ellipse at 20% 50%, rgba(254, 194, 20, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(246, 187, 14, 0.06) 0%, transparent 55%), linear-gradient(135deg, #1B1D24 0%, #2A2A2A 100%);
    background-attachment: fixed;
    position: relative;
    color: #FFFFFF;
}

    body.nk-body::before {
        content: "";
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 50%, rgba(254, 194, 20, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(208, 164, 32, 0.04) 0%, transparent 50%);
        z-index: 0;
        animation: auroraMove 20s ease-in-out infinite alternate;
        pointer-events: none;
    }

.textnew, h6 {
    color: #FEC214;
}

@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(27, 29, 36, 0.9) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(254, 194, 20, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1030;
    color: #FFFFFF;
}

/* ---------- سایدبار ---------- */
.nk-sidebar {
    background: linear-gradient(135deg, #1B1D24, #2A2A2A) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(254, 194, 20, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1020;
}

    .nk-sidebar .nk-menu-link {
        color: rgba(255, 255, 255, 0.85) !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(254, 194, 20, 0.15) !important;
            color: #FEC214 !important;
            border-radius: 8px;
        }

    .nk-sidebar .nk-menu-heading {
        color: rgba(254, 194, 20, 0.6) !important;
        font-weight: 600;
    }

    .nk-sidebar .nk-menu-icon {
        color: rgba(254, 194, 20, 0.75) !important;
    }

/* ---------- کارت‌ها ---------- */
.card,
.card-bordered {
    position: relative;
    background: rgba(42, 42, 42, 0.7) !important;
    border: 1px solid rgba(254, 194, 20, 0.15) !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    overflow: visible !important;
    z-index: auto;
}

    .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;
    }

.card-header,
.card-footer {
    background: rgba(254, 194, 20, 0.04) !important;
    border-color: rgba(254, 194, 20, 0.1) !important;
}

/* ---------- جداول ---------- */
.nk-tb-list .nk-tb-head {
    background: rgba(27, 29, 36, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(254, 194, 20, 0.3);
}

.nk-tb-list .nk-tb-item {
    background: rgba(42, 42, 42, 0.5);
    border-bottom: 1px solid rgba(254, 194, 20, 0.08);
    transition: background 0.2s;
}

    .nk-tb-list .nk-tb-item:hover {
        background: rgba(254, 194, 20, 0.08);
    }

/* استایل وضعیت‌ها */
.tb-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(4px);
}

    .tb-status.text-info {
        color: #F8D25F !important;
        background: rgba(248, 210, 95, 0.15);
    }

    .tb-status.text-warning {
        color: #FEC214 !important;
        background: rgba(254, 194, 20, 0.15);
    }

    .tb-status.text-danger {
        color: #ef4444 !important;
        background: rgba(239, 68, 68, 0.15);
    }

    .tb-status.text-success {
        color: #22c55e !important;
        background: rgba(34, 197, 94, 0.15);
    }

/* ---------- دراپ‌داون ---------- */
.dropdown-menu {
    background: rgba(27, 29, 36, 0.95) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(254, 194, 20, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(254, 194, 20, 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: #FFFFFF !important;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.15s;
}

    .dropdown-item:hover {
        background: rgba(254, 194, 20, 0.15) !important;
        color: #FEC214 !important;
    }

/* ---------- فرم‌ها ---------- */
.form-control,
.form-select,
.custom-select {
    background: rgba(42, 42, 42, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(254, 194, 20, 0.2) !important;
    color: #FFFFFF !important;
    border-radius: 10px;
}

    .form-control:focus,
    .form-select:focus {
        background: rgba(42, 42, 42, 1) !important;
        border-color: rgba(254, 194, 20, 0.6) !important;
        box-shadow: 0 0 0 3px rgba(254, 194, 20, 0.15) !important;
    }

.form-label {
    color: #F8D25F !important;
    font-weight: 500;
}

/* ---------- دکمه‌ها ---------- */
.btn-primary {
    background: linear-gradient(135deg, #FEC214, #D0A420) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(254, 194, 20, 0.4);
    color: #1B1D24 !important;
    font-weight: 700;
    transition: all 0.3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(254, 194, 20, 0.6);
    }

.btn-light, .dual-listbox .dual-listbox__button {
    background: rgba(42, 42, 42, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(254, 194, 20, 0.2);
    color: #FFFFFF;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(254, 194, 20, 0.25);
    color: #F8D25F;
}

    .btn-outline-light:hover {
        background: rgba(254, 194, 20, 0.08);
    }

.btn-dim.btn-outline-light,
.btn-white {
    background: rgba(42, 42, 42, 0.7);
    border: 1px solid rgba(254, 194, 20, 0.2);
    color: #FFFFFF;
}

/* ---------- مودال‌ها ---------- */
.modal-content {
    background: rgba(27, 29, 36, 0.95) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(254, 194, 20, 0.2);
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.modal-header {
    border-bottom: 1px solid rgba(254, 194, 20, 0.15);
}

.modal-footer {
    border-top: 1px solid rgba(254, 194, 20, 0.15);
}

/* ---------- سایر ---------- */
.alert {
    backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 194, 20, 0.2);
    border-radius: 12px;
}

.badge {
    backdrop-filter: blur(8px);
    border: 1px solid rgba(254, 194, 20, 0.2);
}

.progress {
    background: rgba(42, 42, 42, 0.5) !important;
}

.pagination .page-link {
    background: rgba(42, 42, 42, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(254, 194, 20, 0.2);
    color: #F8D25F;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #FEC214, #D0A420) !important;
    border-color: transparent !important;
    color: #1B1D24 !important;
    font-weight: 700;
}

.list-group-item {
    background: rgba(42, 42, 42, 0.7) !important;
    border-color: rgba(254, 194, 20, 0.1);
    color: #FFFFFF;
}

.nk-content {
    position: relative;
    z-index: 1;
}

.nk-block-title, .card-title, h4, h5, h6 {
    color: #FEC214 !important;
}

.text-soft {
    color: #9D9D9D !important;
}

.card-stretch,
.card-inner.p-0,
.card-inner-group {
    overflow: visible !important;
}

/* =============================================
   دکمه‌های رنگی
   ============================================= */

.btn-warning {
    background: linear-gradient(135deg, #FEC214, #F6BB0E) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(254, 194, 20, 0.4);
    color: #1B1D24 !important;
    font-weight: 700;
    transition: all 0.3s;
}

    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(254, 194, 20, 0.6);
    }

.btn-info {
    background: linear-gradient(135deg, #D0A420, #F8D25F) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(208, 164, 32, 0.4);
    color: #1B1D24 !important;
    font-weight: 700;
    transition: all 0.3s;
}

    .btn-info:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(208, 164, 32, 0.6);
    }

.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.4);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
    }

.btn-success {
    background: linear-gradient(135deg, #15803d, #22c55e) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
    color: #fff !important;
    transition: all 0.3s;
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
    }

.btn-secondary {
    background: linear-gradient(135deg, #2A2A2A, #505050) !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(80, 80, 80, 0.4);
    color: #FEC214 !important;
    transition: all 0.3s;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(80, 80, 80, 0.6);
    }

.btn-dark {
    background: linear-gradient(135deg, #1B1D24, #2A2A2A) !important;
    border: 1px solid rgba(254, 194, 20, 0.3) !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: #FEC214 !important;
    transition: all 0.3s;
}

    .btn-dark:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(254, 194, 20, 0.2);
    }

.nk-sidebar h6 {
    color: rgba(254, 194, 20, 0.9) !important;
}

/* =============================================
   دکمه‌های ابزار بالای صفحه
   ============================================= */

.btn-toolbar-status {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 194, 20, 0.3) !important;
    border-radius: 12px;
    color: #FEC214 !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(254, 194, 20, 0.1);
}

    .btn-toolbar-status:hover {
        background: rgba(254, 194, 20, 0.12) !important;
        border-color: rgba(254, 194, 20, 0.6) !important;
        box-shadow: 0 4px 18px rgba(254, 194, 20, 0.2);
        transform: translateY(-1px);
        color: #F8D25F !important;
    }

.btn-toolbar-pdf {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 12px;
    color: #ef4444 !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(220, 38, 38, 0.1) !important;
        border-color: rgba(220, 38, 38, 0.6) !important;
        box-shadow: 0 4px 18px rgba(220, 38, 38, 0.2);
        transform: translateY(-1px);
        color: #fca5a5 !important;
    }

.btn-toolbar-excel {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 12px;
    color: #22c55e !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(34, 197, 94, 0.1);
}

    .btn-toolbar-excel:hover {
        background: rgba(34, 197, 94, 0.1) !important;
        border-color: rgba(34, 197, 94, 0.6) !important;
        box-shadow: 0 4px 18px rgba(34, 197, 94, 0.2);
        transform: translateY(-1px);
        color: #86efac !important;
    }

/* =============================================
   دکمه‌های برگشت و PDF
   ============================================= */

.btn-back {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 157, 157, 0.3) !important;
    border-radius: 12px;
    color: #9D9D9D !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(0, 0, 0, 0.15);
}

    .btn-back:hover {
        background: rgba(254, 194, 20, 0.08) !important;
        border-color: rgba(254, 194, 20, 0.4) !important;
        box-shadow: 0 4px 18px rgba(254, 194, 20, 0.15);
        transform: translateY(-1px);
        color: #FEC214 !important;
    }

.btn-back-icon {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 157, 157, 0.3) !important;
    border-radius: 12px;
    color: #9D9D9D !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(254, 194, 20, 0.08) !important;
        border-color: rgba(254, 194, 20, 0.4) !important;
        box-shadow: 0 4px 12px rgba(254, 194, 20, 0.15);
        color: #FEC214 !important;
    }

.btn-pdf {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 12px;
    color: #ef4444 !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(220, 38, 38, 0.1) !important;
        border-color: rgba(220, 38, 38, 0.6) !important;
        box-shadow: 0 4px 18px rgba(220, 38, 38, 0.2);
        transform: translateY(-1px);
        color: #fca5a5 !important;
    }

/* =============================================
   Dashboard Cards
   ============================================= */

.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: #F8D25F;
        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: #FFFFFF;
    }

    .dash-stat-card .stat-currency {
        font-size: 0.75rem;
        color: #9D9D9D;
        margin-right: 4px;
    }

    .dash-stat-card .stat-month {
        border-top: 1px solid rgba(254, 194, 20, 0.15);
        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: #9D9D9D;
    }

    .dash-stat-card .stat-month-value {
        font-weight: 700;
        color: #FEC214;
    }

.info-list-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(254, 194, 20, 0.08);
    transition: background 0.2s;
}

    .info-list-item:last-child {
        border-bottom: none;
    }

    .info-list-item:hover {
        background: rgba(254, 194, 20, 0.04);
    }

.info-list-icon {
    font-size: 1.5rem;
    margin-left: 14px;
    flex-shrink: 0;
}

.info-list-text {
    flex: 1;
    font-weight: 500;
    color: #FFFFFF;
}

.info-list-link {
    color: inherit;
    transition: transform 0.2s;
}

    .info-list-link:hover {
        transform: translateX(3px);
    }

.dash-title {
    color: #FEC214 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-welcome {
    color: #9D9D9D;
    font-size: 0.9rem;
}

@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, #FEC214, #F8D25F);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .dash-header .dash-greeting p {
        color: #9D9D9D;
        font-size: 1rem;
        margin-top: 0.25rem;
    }

/* =============================================
   Badges
   ============================================= */

.badge-secondary,
.badge-primary,
.badge-warning,
.badge-info,
.badge-success {
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}

.badge-secondary {
    background: linear-gradient(135deg, #FEC214, #D0A420) !important;
    color: #1B1D24 !important;
}

.badge-primary {
    background: linear-gradient(135deg, #F8D25F, #FEC214) !important;
    color: #1B1D24 !important;
}

.badge-warning {
    background: linear-gradient(135deg, #D0A420, #907421) !important;
    color: #fff !important;
}

.badge-info {
    background: linear-gradient(135deg, #505050, #2A2A2A) !important;
    color: #FEC214 !important;
}

.badge-success {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
    color: #fff !important;
}

.badge {
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: none;
}

    .badge:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

.badge-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: #fff !important;
}

.badge-light {
    background: linear-gradient(135deg, #2A2A2A, #505050) !important;
    color: #FEC214 !important;
    border: 1px solid rgba(254,194,20,0.2);
}

.badge-dark {
    background: linear-gradient(135deg, #1B1D24, #2A2A2A) !important;
    color: #FEC214 !important;
}

.badge-info-second {
    background: linear-gradient(135deg, #D0A420, #F8D25F) !important;
    color: #1B1D24 !important;
}

/* =============================================
   کارت‌های کشسان
   ============================================= */

.card-stretch {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .card-stretch .card-inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

        .card-stretch .card-inner.p-0 {
            overflow: visible;
        }

/* =============================================
   زنگوله اعلان‌ها
   ============================================= */

.nk-quick-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 194, 20, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: #FEC214;
    font-size: 1.3rem;
}

    .nk-quick-nav-icon:hover {
        background: rgba(254, 194, 20, 0.12);
        border-color: rgba(254, 194, 20, 0.5);
        box-shadow: 0 8px 20px rgba(254, 194, 20, 0.15);
        transform: translateY(-1px);
    }

    .nk-quick-nav-icon .badge-pill {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0 5px;
        border-radius: 30px;
        background: linear-gradient(135deg, #FEC214, #D0A420) !important;
        color: #1B1D24 !important;
        border: 2px solid rgba(27, 29, 36, 0.9);
        box-shadow: 0 4px 12px rgba(254, 194, 20, 0.4);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 10;
    }

/* =============================================
   جداول استاندارد
   ============================================= */

.table {
    background: transparent !important;
    color: #FFFFFF;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    .table th,
    .table td {
        padding: 0.85rem 1rem;
        vertical-align: middle;
        border: none;
        background: rgba(42, 42, 42, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .table thead th {
        background: rgba(27, 29, 36, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 2px solid rgba(254, 194, 20, 0.3);
        font-weight: 600;
        color: #FEC214;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .table tbody tr {
        transition: background 0.2s;
    }

        .table tbody tr:hover td {
            background: rgba(254, 194, 20, 0.06);
        }

.table-bordered th,
.table-bordered td {
    border: 1px solid rgba(254, 194, 20, 0.1) !important;
}

.table th:first-child, .table td:first-child {
    border-radius: 0 10px 10px 0;
}

.table th:last-child, .table td:last-child {
    border-radius: 10px 0 0 10px;
}

.table thead th:first-child {
    border-radius: 0 12px 0 0;
}

.table thead th:last-child {
    border-radius: 12px 0 0 0;
}

.table tbody tr:last-child td:first-child {
    border-radius: 0 0 10px 10px;
}

.table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 10px;
}

.table-responsive {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* =============================================
   دکمه مدارک و انصراف
   ============================================= */

.btn-outline-info {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 194, 20, 0.3) !important;
    border-radius: 12px;
    color: #FEC214 !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(254, 194, 20, 0.1);
}

    .btn-outline-info:hover {
        background: rgba(254, 194, 20, 0.1) !important;
        border-color: rgba(254, 194, 20, 0.6) !important;
        box-shadow: 0 4px 18px rgba(254, 194, 20, 0.2);
        transform: translateY(-1px);
        color: #F8D25F !important;
    }

    .btn-outline-info .icon {
        margin-left: 4px;
    }

.btn-dim.btn-outline-light {
    background: rgba(42, 42, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 157, 157, 0.3) !important;
    border-radius: 12px;
    color: #9D9D9D !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(0, 0, 0, 0.1);
}

    .btn-dim.btn-outline-light:hover {
        background: rgba(254, 194, 20, 0.06) !important;
        border-color: rgba(254, 194, 20, 0.3) !important;
        box-shadow: 0 4px 18px rgba(254, 194, 20, 0.1);
        transform: translateY(-1px);
        color: #FEC214 !important;
    }

    .btn-dim.btn-outline-light .icon {
        margin-left: 4px;
    }

.badge-secondary:hover,
.badge-primary:hover,
.badge-warning:hover,
.badge-info:hover,
.badge-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.dash-header .dash-date {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(254, 194, 20, 0.2);
    border-radius: 16px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    color: #FEC214;
    font-size: 0.9rem;
}

/* =============================================
   Dash Card
   ============================================= */

.dash-card {
    position: relative;
    overflow: hidden;
    background: rgba(42, 42, 42, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 194, 20, 0.25) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(254, 194, 20, 0.1) inset;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

    .dash-card:hover {
        border-color: rgba(254, 194, 20, 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.1;
        z-index: 0;
        transition: all 0.3s ease;
        color: #FEC214;
    }

    .dash-card:hover .dash-icon-bg {
        opacity: 0.35;
    }

    .dash-card .dash-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: #F8D25F;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .dash-card .dash-title .icon {
            font-size: 1.5rem;
            background: rgba(254, 194, 20, 0.1);
            padding: 0.5rem;
            border-radius: 14px;
        }

    .dash-card .dash-value {
        font-size: 1.1rem;
        font-weight: 800;
        color: #FFFFFF;
        line-height: 1.2;
    }

    .dash-card .dash-sub {
        font-size: 0.8rem;
        color: #9D9D9D;
        margin-top: 0.25rem;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .dash-card .dash-sub .up {
            color: #22c55e;
            font-weight: 600;
        }

    .dash-card .dash-footer {
        border-top: 1px solid rgba(254, 194, 20, 0.1);
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        color: #9D9D9D;
    }

        .dash-card .dash-footer strong {
            font-weight: 700;
            color: #FEC214;
        }

/* Info Card */
.info-card {
    background: rgba(42, 42, 42, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 194, 20, 0.2) !important;
    border-radius: 24px !important;
    overflow: hidden;
}

    .info-card .info-header {
        background: linear-gradient(135deg, rgba(254,194,20,0.12), rgba(208,164,32,0.08));
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(254, 194, 20, 0.15);
        font-weight: 700;
        color: #FEC214;
        font-size: 1.1rem;
    }

.info-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(254, 194, 20, 0.06);
    transition: background 0.2s;
    text-decoration: none !important;
    color: inherit !important;
}

    .info-row:last-child {
        border-bottom: none;
    }

    .info-row:hover {
        background: rgba(254, 194, 20, 0.04);
    }

    .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: #FFFFFF;
    }

    .info-row .info-badge {
        background: rgba(254,194,20,0.1);
        padding: 0.3rem 0.8rem;
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.9rem;
        color: #FEC214;
    }

    .info-row .info-arrow {
        margin-right: 1rem;
        color: #505050;
        font-size: 1.2rem;
        transition: transform 0.2s;
    }

    .info-row:hover .info-arrow {
        transform: translateX(4px);
        color: #FEC214;
    }

/* انیمیشن‌ها */
@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;
}

/* =============================================
   DatePicker
   ============================================= */

.rmdp-container {
    width: 100%;
}

.rmdp-input {
    background: rgba(42, 42, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 194, 20, 0.2) !important;
    border-radius: 10px !important;
    padding: 0.5rem 1rem !important;
    color: #FFFFFF !important;
    font-family: 'Tahoma', sans-serif;
    font-weight: 500;
    height: auto !important;
}

    .rmdp-input:focus {
        background: rgba(42, 42, 42, 1) !important;
        border-color: rgba(254, 194, 20, 0.6) !important;
        box-shadow: 0 0 0 3px rgba(254, 194, 20, 0.15) !important;
    }

.rmdp-calendar {
    background: rgba(27, 29, 36, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 194, 20, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    font-family: 'Tahoma', sans-serif;
}

.rmdp-day {
    color: #FFFFFF;
    font-weight: 500;
}

    .rmdp-day:hover {
        background: rgba(254, 194, 20, 0.15) !important;
        border-radius: 8px;
    }

.rmdp-selected {
    background: linear-gradient(135deg, #FEC214, #D0A420) !important;
    color: #1B1D24 !important;
    border-radius: 8px;
    font-weight: 700;
}

.rmdp-toolbar {
    background: rgba(42, 42, 42, 0.8);
    border-bottom: 1px solid rgba(254, 194, 20, 0.15);
    border-radius: 16px 16px 0 0;
}

.rmdp-arrow {
    border-color: #FEC214 !important;
}

.rmdp-time-picker input {
    background: rgba(42, 42, 42, 0.9);
    border: 1px solid rgba(254, 194, 20, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    color: #FFFFFF;
}

/* =============================================
   Loading Spinner
   ============================================= */

.glass-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 29, 36, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.glass-loading-card {
    background: rgba(42, 42, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 194, 20, 0.25);
    border-radius: 24px;
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(254, 194, 20, 0.1) inset;
    animation: floatCard 2s ease-in-out infinite;
}

.glass-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    border: 4px solid rgba(254, 194, 20, 0.15);
    border-top: 4px solid #FEC214;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.glass-loading-text {
    color: #F8D25F;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* =============================================
   Footer
   ============================================= */

.nk-footer {
    background: rgba(27, 29, 36, 0.95) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(254, 194, 20, 0.15) !important;
    color: #9D9D9D;
}

    .nk-footer a {
        color: #FEC214 !important;
    }

    .nk-footer .container-fluid {
        color: #9D9D9D;
    }

/* =============================================
   User Card Dropdown (bg-lighter)
   ============================================= */

.dropdown-inner.user-card-wrap,
.user-card-wrap.bg-lighter {
    background: rgba(42, 42, 42, 0.85) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(254, 194, 20, 0.15);
    padding: 1rem 1.25rem;
}

/* آواتار کاربر */
.user-card .user-avatar {
    background: linear-gradient(135deg, #FEC214, #D0A420) !important;
    color: #1B1D24 !important;
    font-weight: 700;
}

/* اطلاعات کاربر */
.user-card .user-info .lead-text {
    color: #FFFFFF !important;
    font-weight: 600;
}

.user-card .user-info .sub-text {
    color: #9D9D9D !important;
    font-size: 0.8rem;
}

/* bg-lighter override */
.bg-lighter {
    background: rgba(42, 42, 42, 0.7) !important;
}









/* =============================================
   صفحه لاگین – Gold & Dark
   ============================================= */

/* پس‌زمینه صفحه auth */
.nk-body.pg-auth {
    background: radial-gradient(ellipse at 20% 50%, rgba(254, 194, 20, 0.1) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(208, 164, 32, 0.07) 0%, transparent 55%), linear-gradient(135deg, #1B1D24 0%, #2A2A2A 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* کارت اصلی */
.glass-card {
    background: rgba(42, 42, 42, 0.6) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(254, 194, 20, 0.2) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(254, 194, 20, 0.08) inset !important;
    overflow: hidden !important;
}

/* split layout */
.glass-split {
    display: flex;
    min-height: 520px;
}

/* ---------- پنل چپ (معرفی) ---------- */
.glass-about-panel {
    flex: 1;
    background: linear-gradient(145deg, rgba(254, 194, 20, 0.15), rgba(27, 29, 36, 0.9));
    border-left: 1px solid rgba(254, 194, 20, 0.15);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    /* دکوراسیون پس‌زمینه پنل چپ */
    .glass-about-panel::before {
        content: "";
        position: absolute;
        top: -60px;
        left: -60px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(254, 194, 20, 0.08);
        pointer-events: none;
    }

    .glass-about-panel::after {
        content: "";
        position: absolute;
        bottom: -40px;
        right: -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(254, 194, 20, 0.05);
        pointer-events: none;
    }

.glass-about-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.about-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FEC214, #F8D25F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.about-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* آمار */
.about-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(254, 194, 20, 0.1);
    border: 1px solid rgba(254, 194, 20, 0.2);
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    min-width: 90px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FEC214;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #9D9D9D;
    margin-top: 0.3rem;
}

/* اطلاعات تماس */
.about-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

    .about-contact span {
        color: #F8D25F;
    }

/* ---------- پنل راست (فرم) ---------- */
.glass-form-panel {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(27, 29, 36, 0.5);
}

    .glass-form-panel .nk-block-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #FEC214 !important;
        margin-bottom: 0.25rem;
    }

    .glass-form-panel .nk-block-head {
        margin-bottom: 1.75rem;
    }

    /* فرم */
    .glass-form-panel .form-label {
        color: #F8D25F !important;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .glass-form-panel .form-control {
        background: rgba(42, 42, 42, 0.8) !important;
        border: 1px solid rgba(254, 194, 20, 0.2) !important;
        color: #FFFFFF !important;
        border-radius: 12px !important;
        height: 48px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .glass-form-panel .form-control:focus {
            background: rgba(42, 42, 42, 1) !important;
            border-color: rgba(254, 194, 20, 0.6) !important;
            box-shadow: 0 0 0 3px rgba(254, 194, 20, 0.12) !important;
        }

        .glass-form-panel .form-control::placeholder {
            color: #505050;
        }

    /* آیکون چشم پسورد */
    .glass-form-panel .form-icon {
        color: #9D9D9D !important;
        transition: color 0.2s;
    }

        .glass-form-panel .form-icon:hover {
            color: #FEC214 !important;
        }

    /* دکمه ورود */
    .glass-form-panel .btn-primary {
        height: 50px;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        background: linear-gradient(135deg, #FEC214, #D0A420) !important;
        color: #1B1D24 !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 20px rgba(254, 194, 20, 0.35);
        transition: all 0.3s ease;
    }

        .glass-form-panel .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(254, 194, 20, 0.5);
        }

/* ریسپانسیو */
@media (max-width: 768px) {
    .glass-split {
        flex-direction: column;
    }

    .glass-about-panel {
        border-left: none;
        border-bottom: 1px solid rgba(254, 194, 20, 0.15);
        padding: 1.5rem;
    }

    .about-title {
        font-size: 1.3rem;
    }

    .glass-form-panel {
        padding: 1.5rem;
    }
}

/* =============================================
   Fix لاگین – override استایل‌های DashLite
   ============================================= */

.pg-auth .nk-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding: 2rem 1rem !important;
}

.pg-auth .nk-block.nk-auth-body {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.pg-auth .card.glass-card {
    width: 100% !important;
    margin: 0 !important;
}

.pg-auth .card-inner.card-inner-lg {
    padding: 0 !important;
}
@media print {
    body {
        background: #fff;
    }

    .no-print {
        display: none;
    }
}

.holiday-card {
    transition: all 0.3s ease;
    border-radius: 16px;
}

    .holiday-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }