 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'IRANSans', 'Tahoma', sans-serif;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     min-height: 100vh;
 }

 /* هدر اصلی */
 .dashboard-header {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(15px);
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
     position: sticky;
     top: 0;
     z-index: 1000;
     transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     border-bottom: 3px solid transparent;
 }

 .dashboard-header.scrolled {
     background: rgba(255, 255, 255, 0.98);
     box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
     border-bottom-color: #667eea;
 }

 .header-container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 15px 30px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 30px;
 }

 /* لوگو */
 .header-logo {
     flex-shrink: 0;
     transition: all 0.3s ease;
 }

 .header-logo:hover {
     transform: scale(1.05) rotate(2deg);
 }

 .header-logo img {
     max-height: 60px;
     width: auto;
     filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
     transition: all 0.3s ease;
 }

 .header-logo:hover img {
     filter: drop-shadow(0 6px 15px rgba(102, 126, 234, 0.4));
 }

 /* منوی دسکتاپ */
 .desktop-nav {
     display: flex;
     align-items: center;
     gap: 8px;
     flex: 1;
     justify-content: center;
 }

 .desktop-nav a {
     position: relative;
     padding: 12px 20px;
     color: #495057;
     text-decoration: none;
     font-weight: 600;
     font-size: 0.95rem;
     border-radius: 12px;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     display: inline-flex;
     align-items: center;
     gap: 8px;
     overflow: hidden;
 }

 .desktop-nav a i {
     font-size: 1.1rem;
     transition: all 0.3s ease;
 }

 .desktop-nav a::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     transition: left 0.4s ease;
     z-index: -1;
     border-radius: 12px;
 }

 .desktop-nav a:hover {
     color: #fff;
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
 }

 .desktop-nav a:hover::before {
     left: 0;
 }

 .desktop-nav a:hover i {
     transform: scale(1.2) rotate(5deg);
 }

 /* دکمه پروفایل ویژه */
 .desktop-nav .btn-profile {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     color: #fff !important;
     box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
     font-weight: 700;
 }

 .desktop-nav .btn-profile:hover {
     transform: translateY(-3px) scale(1.05);
     box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
 }

 .desktop-nav .btn-profile::before {
     background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
 }

 /* دکمه همبرگر */
 .hamburger-btn {
     display: none;
     flex-direction: column;
     gap: 5px;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border: none;
     padding: 12px;
     border-radius: 12px;
     cursor: pointer;
     transition: all 0.3s ease;
     box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
     z-index: 1001;
 }

 .hamburger-btn span {
     width: 25px;
     height: 3px;
     background: #fff;
     border-radius: 3px;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }

 .hamburger-btn:hover {
     transform: scale(1.1);
     box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
 }

 .hamburger-btn.active span:nth-child(1) {
     transform: rotate(45deg) translate(8px, 8px);
 }

 .hamburger-btn.active span:nth-child(2) {
     opacity: 0;
     transform: translateX(-20px);
 }

 .hamburger-btn.active span:nth-child(3) {
     transform: rotate(-45deg) translate(8px, -8px);
 }

 /* فضای خالی */
 .header-spacer {
     width: 50px;
 }

 /* منوی موبایل */
 .mobile-nav {
     position: fixed;
     top: 0;
     right: -100%;
     width: 320px;
     max-width: 85%;
     height: 100vh;
     background: rgba(255, 255, 255, 0.98);
     backdrop-filter: blur(20px);
     box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
     padding: 100px 30px 30px;
     transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     z-index: 999;
     overflow-y: auto;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .mobile-nav.active {
     right: 0;
 }

 .mobile-nav a {
     padding: 18px 20px;
     color: #495057;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.05rem;
     border-radius: 15px;
     transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
     display: flex;
     align-items: center;
     gap: 12px;
     position: relative;
     overflow: hidden;
 }

 .mobile-nav a i {
     font-size: 1.3rem;
     min-width: 30px;
     text-align: center;
     transition: all 0.3s ease;
 }

 .mobile-nav a::before {
     content: '';
     position: absolute;
     top: 0;
     right: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     transition: right 0.4s ease;
     z-index: -1;
     border-radius: 15px;
 }

 .mobile-nav a:hover,
 .mobile-nav a:active {
     color: #fff;
     transform: translateX(-5px);
     box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
 }

 .mobile-nav a:hover::before,
 .mobile-nav a:active::before {
     right: 0;
 }

 .mobile-nav a:hover i,
 .mobile-nav a:active i {
     transform: scale(1.2) rotate(10deg);
 }

 /* پیام خوش‌آمدگویی */
 .user-welcome {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     color: #fff;
     padding: 20px;
     border-radius: 15px;
     text-align: center;
     font-weight: 700;
     font-size: 1.1rem;
     margin: 15px 0;
     box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
     animation: pulse 2s infinite;
 }

 @keyframes pulse {

     0%,
     100% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.02);
     }
 }

 /* دکمه خروج */
 .mobile-nav .btn-logout {
     background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
     color: #fff !important;
     margin-top: 15px;
     box-shadow: 0 5px 20px rgba(238, 9, 121, 0.3);
     font-weight: 700;
 }

 .mobile-nav .btn-logout:hover {
     box-shadow: 0 8px 30px rgba(238, 9, 121, 0.5);
     transform: translateX(-5px) scale(1.02);
 }

 .mobile-nav .btn-logout::before {
     background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
 }

 /* اورلی */
 .menu-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.7);
     backdrop-filter: blur(5px);
     opacity: 0;
     visibility: hidden;
     transition: all 0.4s ease;
     z-index: 998;
 }

 .menu-overlay.active {
     opacity: 1;
     visibility: visible;
 }

 /* ریسپانسیو */
 @media (max-width: 768px) {
     .desktop-nav {
         display: none;
     }

     .hamburger-btn {
         display: flex;
     }

     .header-container {
         padding: 15px 20px;
         gap: 15px;
     }

     .header-logo img {
         max-height: 50px;
     }

     .header-spacer {
         display: none;
     }
 }

 @media (min-width: 769px) {

     .mobile-nav,
     .menu-overlay,
     .hamburger-btn {
         display: none !important;
     }
 }

 /* اسکرول‌بار سفارشی برای منوی موبایل */
 .mobile-nav::-webkit-scrollbar {
     width: 8px;
 }

 .mobile-nav::-webkit-scrollbar-track {
     background: rgba(0, 0, 0, 0.05);
     border-radius: 10px;
 }

 .mobile-nav::-webkit-scrollbar-thumb {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     border-radius: 10px;
 }

 .mobile-nav::-webkit-scrollbar-thumb:hover {
     background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
 }