@font-face {
        font-family: 'yekan';
        src: url('../fonts/WebYekan.eot');
        src: url('fonts/WebYekan.woff') format("woff"),
        url('../fonts/WebYekan.ttf') format("truetype"),
        url('../fonts/WebYekan.svg') format("svg");
        font-weight: 400;
        font-style: normal
        }

        /* برای کروم، اج، سافاری و فایرفاکس */
        input:-webkit-autofill,
        input:-webkit-autofill:hover, 
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px #4b4b4b inset !important;
            -webkit-text-fill-color: #ffffff !important;
        }

        /* برای فایرفاکس */
        input:autofill {
            background-color: #4b4b4b !important;
            color: #ffffff !important;
        }

        .rtl{direction:rtl;}
        .ltr{direction:ltr;}
        .text-center{text-align: center;}
        .text-justify{text-align: justify;}
        .hidden{display:none;}
        .fs07{font-size: 0.7rem;}
        .fs08{font-size: 0.8rem;}
        .fs09{font-size: 0.9rem;}
        .fs10{font-size: 1rem;}
        .nav-link{color:#999999;}
        .nav-link:hover{color:#fff;}
        .nav-link:active {color:#999999;}
        .nav-link:visited  {color:#999999;}
        .liBorder{
        border-bottom: 1px solid #4b4b4b;
        width: 100%;
        }
        .text-right  {text-align:right;}
        .text-left  {text-align:left;}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background-color: #f5f5f5;
            overflow-x: hidden;

            direction:rtl;
            font-family: 'yekan','RobotoDraft', 'Roboto', sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 0.9rem;
        }

        /* DataTable Start */
        table.dataTable thead th {
            text-align: right; /* راست‌چین کردن متن */
            direction: rtl; /* جهت متن را به راست‌چین تنظیم کنید */
        }
            div.dataTables_wrapper div.dataTables_filter {
            text-align: left; /* فیلد جستجو را به سمت چپ منتقل کنید */
        }
        /* DataTable End */
        
        /* سایدبار */
        .sidebar {
            background-color: #212529 !important;
            min-height: 100vh;
            color: #ffffff;
            transition: all 0.3s ease;
        }
        
        /* محتوای اصلی */
        .main-content {
            background-color: #f8f9fa;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* هدر */
        .main-header {
            background-color: #212529 !important;
            border-bottom: 1px solid #2c3034;
            padding: 8px 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .header-date {
            display: flex;
            align-items: center;
            gap: 10px;
            background-color: #2c3034;
            padding: 5px 15px;
            border-radius: 20px;
            width: fit-content;
        }
        
        .header-date i, .header-date span {
            color: #ffffff;
        }
        
        /* دکمه همبرگر */
        .mobile-menu-header {
            display: none;
            background-color: #2c3034;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #2c3034;
        }
        
        .mobile-menu-header:hover {
            background-color: #3a3f44;
        }
        
        .mobile-menu-header i {
            color: #ffffff;
            font-size: 1.2rem;
        }
        
        /* بخش کاربر */
        .user-section {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }
        
        .user-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .user-icon {
            background-color: #2c3034;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #2c3034;
        }
        
        .user-icon:hover {
            background-color: #3a3f44;
            transform: scale(1.05);
        }
        
        .user-icon i {
            color: #ffffff;
            font-size: 1rem;
        }
        
        .dropdown-menu-custom-user {
            position: absolute;
            top: 45px;
            left: 0;
            background-color: #2c3034;
            min-width: 200px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            border: 1px solid #3a3f44;
        }
        
        .dropdown-menu-custom-user.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-menu-custom-user ul {
            list-style: none;
            padding: 8px 0;
            margin: 0;
        }
        
        .dropdown-menu-custom-user ul li a {
            display: block;
            padding: 8px 20px;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.85rem;
        }
        
        .dropdown-menu-custom-user ul li a:hover {
            background-color: #3a3f44;
            padding-right: 25px;
        }
        
        .dropdown-menu-custom-user ul li a i {
            margin-left: 10px;
            width: 20px;
            color: #ffffff;
        }
        
        .dropdown-divider {
            height: 1px;
            background-color: #3a3f44;
            margin: 5px 0;
        }
        
        /* فوتر */
        .main-footer {
            background-color: #212529 !important;
            border-top: 1px solid #2c3034;
            padding: 15px 25px;
            margin-top: auto;
        }
        
        .copyright {
            text-align: center;
            color: #ffffff;
            font-size: 0.85rem;
        }
        
        .copyright a {
            color: #ffffff;
            text-decoration: none;
        }
        
        .copyright a:hover {
            color: #cccccc;
            text-decoration: underline;
        }
        
        .content-wrapper {
            flex: 1;
            padding: 25px;
        }
        
        /* کارت‌های آماری */
        .stats-container {
            margin-bottom: 30px;
            overflow-x: auto;
        }
        
        .stats-row-custom {
            display: flex;
            flex-wrap: nowrap;
            gap: 12px;
            min-width: 100%;
        }
        
        .stat-card-custom {
            flex: 1;
            min-width: 140px;
            border-radius: 12px;
            padding: 15px 10px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .stat-card-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .stat-card-custom.card-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .stat-card-custom.card-2 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
        .stat-card-custom.card-3 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .stat-card-custom.card-4 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .stat-card-custom.card-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
        .stat-card-custom.card-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); color: #333; }
        .stat-card-custom.card-7 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); color: #333; }
        .stat-card-custom.card-8 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); color: #333; }
        
        .stat-card-custom .card-icon {
            font-size: 28px;
            margin-bottom: 12px;
            text-align: center;
        }
        
        .stat-card-custom .card-value {
            font-size: 22px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 5px;
        }
        
        .stat-card-custom .card-label {
            font-size: 11px;
            text-align: center;
            opacity: 0.9;
            margin-bottom: 8px;
        }
        
        .stat-card-custom .card-trend {
            font-size: 10px;
            text-align: center;
            padding-top: 5px;
            border-top: 1px solid rgba(255,255,255,0.3);
            display: inline-block;
            width: 100%;
        }
        
        /* نمودارها */
        .charts-container {
            margin-top: 20px;
        }
        
        .chart-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            height: 100%;
            transition: all 0.3s ease;
        }
        
        .chart-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }
        
        .chart-title {
            font-size: 1rem;
            font-weight: 600;
            color: #212529;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            text-align: center;
        }
        
        .chart-title i {
            margin-left: 8px;
            color: #667eea;
        }
        
        .chart-wrapper {
            position: relative;
            height: 300px;
            width: 100%;
        }
        
        canvas {
            max-height: 300px;
            width: 100% !important;
        }
        
        /* منوی سایدبار */
        .sidebar .nav-item {
            border-bottom: 1px solid #2c3034;
        }
        
        .sidebar .nav-item:last-child {
            border-bottom: none;
        }
        
        .sidebar .nav-link {
            color: #ffffff;
            padding: 12px 20px;
            transition: all 0.3s ease;
            cursor: pointer;
            display: block;
        }
        
        .sidebar .nav-link:hover {
            background-color: #2c3034;
        }
        
        .sidebar .nav-link i {
            margin-left: 10px;
            width: 20px;
        }
        
        .has-dropdown {
            position: relative;
        }
        
        .dropdown-arrow {
            float: left;
            transition: transform 0.3s ease;
        }
        
        .has-dropdown.open .dropdown-arrow {
            transform: rotate(180deg);
        }
        
        .dropdown-menu-custom {
            list-style: none;
            padding: 0;
            margin: 0;
            background-color: #2c3034;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        
        .dropdown-menu-custom.show {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .dropdown-menu-custom .nav-link {
            padding-right: 45px !important;
            font-size: 0.85rem;
        }
        
        .sidebar-header {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid #2c3034;
        }
        
        .sidebar-header h3 {
            font-size: 1.5rem;
            margin: 0;
            color: #ffffff;
        }
        
        /* عنوان بخش نمودارها */
        .section-title {
            margin-bottom: 20px;
        }
        
        .section-title h3 {
            font-size: 1.2rem;
            color: #212529;
            font-weight: 600;
        }
        
        .section-title h3 i {
            margin-left: 10px;
            color: #667eea;
        }
        
        .section-title hr {
            margin-top: 8px;
            border-color: #e0e0e0;
        }
        
        /* ریسپانسیو */
        @media (max-width: 1200px) {
            .stats-row-custom {
                flex-wrap: wrap;
            }
            .stat-card-custom {
                min-width: calc(25% - 9px);
            }
        }
        
        @media (max-width: 992px) {
            .stat-card-custom .card-value {
                font-size: 18px;
            }
            .stat-card-custom .card-icon {
                font-size: 24px;
            }
        }
        
        @media (max-width: 768px) {
            .mobile-menu-header {
                display: flex;
            }
            .header-date {
                display: none;
            }
            .sidebar {
                position: fixed;
                top: 0;
                right: -280px;
                width: 280px;
                z-index: 10000;
                transition: right 0.3s ease;
                overflow-y: auto;
            }
            .sidebar.active {
                right: 0;
            }
            .overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: rgba(0,0,0,0.5);
                z-index: 9999;
            }
            .overlay.active {
                display: block;
            }
            .main-header {
                padding: 8px 15px;
            }
            .content-wrapper {
                padding: 15px;
            }
            .stat-card-custom {
                min-width: calc(50% - 6px);
            }
            .chart-wrapper {
                height: 220px;
            }
        }
        
        @media (max-width: 576px) {
            .stat-card-custom {
                min-width: 100%;
            }
            .stats-row-custom {
                gap: 8px;
            }
            .chart-wrapper {
                height: 200px;
            }
        }
        
        @media (min-width: 769px) {
            .sidebar {
                width: 16.66666667%;
                flex: 0 0 auto;
            }
            .main-content {
                width: 83.33333333%;
                flex: 0 0 auto;
            }
			
		.tox-notification--warning {
            display: none !important;
        }
        }
		
		/*Login Page*/
		
.toast-container {
  position: fixed;
  bottom: 20px; /* فاصله از بالا */
  right: 20px; /* فاصله از سمت راست */
  z-index: 9999; /* تضمین نمایش روی سایر المان‌ها */
  max-height: 80vh; /* حداکثر ارتفاع */
  overflow-y: auto; /* اسکرول عمودی */
}

.container-login100 {
  width: 100%;  
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.container-login100::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background: rgba(93,84,240,0.5);
  background: -webkit-linear-gradient(left, rgba(0,168,255,0.5), rgba(185,0,255,0.5));
  background: -o-linear-gradient(left, rgba(0,168,255,0.5), rgba(185,0,255,0.5));
  background: -moz-linear-gradient(left, rgba(0,168,255,0.5), rgba(185,0,255,0.5));
  background: linear-gradient(left, rgba(0,168,255,0.5), rgba(185,0,255,0.5)); */
  pointer-events: none;
}

.wrap-login100 {
  max-width: 300px;  
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.input-login100{
  background-color: #4b4b4b !important;
  color: #fff;
}

.input-login100:focus {
  background-color: #4b4b4b !important;
  color: #fff;
}

.login100-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  min-width: 160px;
  height: 30px;
  /* background-color: #bd59d4; */
  /* border-radius: 25px; */
  border-radius: 5px;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  /* box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.5); */
}

.login100-form-btn:hover {
  background-color: #4b2354;
  /* box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.8);
  -moz-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.8);
  -webkit-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.8);
  -o-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.8);
  -ms-box-shadow: 0 10px 30px 0px rgba(189, 89, 212, 0.8); */
}

