        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray-100);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gray-300);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--gray-400);
        }

        :root {
            --primary: #0e3963;
            --primary-light: #5dade2;
            --primary-dark: #082440;
            --secondary: #85c1e9;
            --accent: #e67e22;
            --accent-light: #f39c12;
            --light: #ffffff;
            --dark: #2c3e50;
            --success: #27ae60;
            --success-light: #2ecc71;
            --danger: #e74c3c;
            --danger-light: #ec7063;
            --gray-600: #6c757d;
            --gray-500: #8B96A5;
            --gray-400: #ced4da;
            --gray-300: #DEE2E7;
            --gray-200: #EFF2F4;
            --gray-100: #F7FAFC;

            /* Shadows */
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
            --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

            /* Transitions */
            --transition-fast: 0.15s ease;
            --transition-base: 0.3s ease;
            --transition-slow: 0.5s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            background-attachment: fixed;
            color: var(--dark);
            line-height: 1.6;
            font-size: 14px;
        }

        .dashboard-container {
            display: flex;
            min-height: 100vh;
        }

        /* Sidebar Styles */
        .sidebar {
            width: 260px;
            background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 25px 0;
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: var(--shadow-lg);
            transition: transform var(--transition-base);
            backdrop-filter: blur(10px);
            z-index: 100;
        }

        .sidebar.collapsed {
            transform: translateX(-100%);
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 0 20px 24px;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all var(--transition-base);
            cursor: pointer;
        }

        .logo-icon {
            width: 42px;
            height: 42px;
            margin-right: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: bold;
            font-size: 1.3rem;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-base);
        }

        .logo-text {
            font-size: 19px;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 0.5px;
        }

        .logo:hover .logo-icon {
            transform: rotate(360deg) scale(1.1);
            box-shadow: var(--shadow-lg);
        }

        .logo:hover .logo-text {
            background: linear-gradient(135deg, var(--secondary) 0%, #ffffff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-menu {
            list-style: none;
            padding: 0 12px;
        }

        .nav-item {
            margin-bottom: 6px;
        }

        .nav-list {
            list-style: none;
        }

        .nav-links {
            display: flex;
            padding: 14px 16px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            border-radius: 12px;
            transition: all var(--transition-base);
            font-size: 14px;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .nav-links::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
            transition: width var(--transition-base);
            z-index: -1;
        }

        .nav-links:hover,
        .nav-links.active {
            background-color: var(--gray-100);
            color: var(--primary);
        }

        .nav-links.active {
            font-weight: 500;
            background-color: rgba(14, 57, 99, 0.1);
            color: white;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: 260px;
            padding: 30px;
            transition: margin var(--transition-base);
            min-height: 100vh;
        }

        .main-content.expanded {
            margin-left: 0;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding: 16px 24px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.5);
            position: sticky;
            top: 10px;
            z-index: 100;
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(239, 242, 244, 0.8), rgba(255, 255, 255, 0.9));
            border: 2px solid transparent;
            border-radius: 25px;
            padding: 12px 20px;
            width: 100%;
            max-width: 450px;
            transition: all var(--transition-base);
            box-shadow: var(--shadow-sm);
        }

        .search-bar:focus-within {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 4px rgba(93, 173, 226, 0.1);
            transform: translateY(-2px);
        }

        .search-bar input {
            border: none;
            outline: none;
            width: 100%;
            padding: 4px 8px;
            font-size: 14px;
            color: var(--dark);
            background: transparent;
        }

        .user-menu {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .notification-icon,
        .user-profile {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--gray-100);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .notification-icon:hover,
        .user-profile:hover {
            background: var(--primary);
            color: white;
        }

        .notification-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: var(--danger);
            color: white;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 10px;
            min-width: 16px;
            text-align: center;
            border: 2px solid white;
        }

        /* Notification Dropdown Styles */
        .notification-dropdown {
            position: fixed;
            top: 0;
            right: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            border: 1px solid var(--gray-200);
            z-index: 1000;
            min-width: 320px;
            max-width: 400px;
            display: none;
            overflow: hidden;
        }

        .notification-dropdown-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .notification-dropdown-header h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
            color: var(--dark);
        }

        .mark-all-read {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: background 0.2s ease;
        }

        .mark-all-read:hover {
            background: var(--gray-100);
        }

        .notification-dropdown-list {
            max-height: 400px;
            overflow-y: auto;
        }

        .notification-dropdown-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px 20px;
            border-bottom: 1px solid var(--gray-100);
            position: relative;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .notification-dropdown-item:hover {
            background: var(--gray-50);
        }

        .notification-dropdown-item.unread {
            background: #F0F9FF;
            border-left: 3px solid var(--primary);
        }

        .notification-dropdown-item:last-child {
            border-bottom: none;
        }

        .notification-dropdown-item .notification-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 14px;
            background: var(--gray-100);
            color: var(--gray-600);
        }

        .notification-dropdown-item .notification-icon.info {
            background: #E8F4FD;
            color: var(--primary);
        }

        .notification-dropdown-item .notification-icon.success {
            background: #E8F5E8;
            color: #198754;
        }

        .notification-dropdown-item .notification-icon.warning {
            background: #FFF3CD;
            color: #FFC107;
        }

        .notification-dropdown-item .notification-icon.error {
            background: #FEE2E2;
            color: var(--danger);
        }

        .notification-dropdown-item .notification-content {
            flex: 1;
            min-width: 0;
        }

        .notification-dropdown-item .notification-title {
            font-weight: 600;
            color: var(--dark);
            font-size: 14px;
            margin-bottom: 2px;
            line-height: 1.3;
        }

        .notification-dropdown-item .notification-message {
            font-size: 13px;
            color: var(--gray-600);
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .notification-dropdown-item .notification-time {
            font-size: 11px;
            color: var(--gray-500);
        }

        .notification-close {
            position: absolute;
            top: 8px;
            right: 8px;
            background: none;
            border: none;
            color: black;
            font-size: 16px;
            cursor: pointer;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            opacity: 0;
            transition: all 0.2s ease;
        }

        .notification-dropdown-item:hover .notification-close {
            opacity: 1;
        }

        .notification-close:hover {
            background: var(--gray-200);
            color: var(--dark);
        }

        .notification-dropdown-footer {
            padding: 12px 20px;
            border-top: 1px solid var(--gray-200);
            text-align: center;
        }

        .view-all-notifications {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            padding: 8px 16px;
            border-radius: 6px;
            transition: background 0.2s ease;
            width: 100%;
        }

        .view-all-notifications:hover {
            background: var(--gray-50);
        }

        .notification-loading,
        .notification-empty {
            padding: 24px;
            text-align: center;
            color: var(--gray-500);
            font-size: 14px;
        }

        .notification-loading::before {
            content: "\f110";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            display: block;
            margin-bottom: 8px;
            font-size: 18px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Modal Overlay for All Notifications */
        .notifications-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .notifications-modal {
            background: #ffffff;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            border-radius: 12px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid var(--gray-100);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--gray-900);
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--gray-400);
            cursor: pointer;
            padding: 4px;
            transition: color 0.2s;
        }

        .modal-close:hover {
            color: var(--danger);
        }

        .modal-body {
            padding: 0;
            overflow-y: auto;
            flex: 1;
        }

        .notifications-list-full {
            display: flex;
            flex-direction: column;
        }

        .notification-item-full {
            padding: 16px 24px;
            border-bottom: 1px solid var(--gray-100);
            display: flex;
            gap: 16px;
            transition: all 0.2s ease;
            position: relative;
        }

        .notification-item-full:last-child {
            border-bottom: none;
        }

        .notification-item-full:hover {
            background: var(--gray-50);
        }

        .notification-item-full.unread {
            background: #f0f7ff;
        }

        .notification-item-full .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .notification-item-full .notification-icon.info {
            background: #e0f2fe;
            color: #0ea5e9;
        }

        .notification-item-full .notification-icon.success {
            background: #dcfce7;
            color: #22c55e;
        }

        .notification-item-full .notification-icon.warning {
            background: #fef3c7;
            color: #f59e0b;
        }

        .notification-item-full .notification-icon.error {
            background: #fee2e2;
            color: #ef4444;
        }

        .notification-item-full .notification-content {
            flex: 1;
        }

        .notification-item-full .notification-title {
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 4px;
        }

        .notification-item-full .notification-message {
            color: var(--gray-600);
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 4px;
        }

        .notification-item-full .notification-time {
            font-size: 0.8rem;
            color: var(--gray-400);
        }

        .notification-delete-btn {
            background: none;
            border: none;
            color: var(--gray-300);
            cursor: pointer;
            padding: 8px;
            transition: color 0.2s;
            align-self: flex-start;
        }

        .notification-delete-btn:hover {
            color: var(--danger);
        }

        /* Profile Dropdown Styles */
        .profile-dropdown {
            position: fixed;
            top: 0;
            right: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            border: 1px solid var(--gray-200);
            z-index: 1000;
            min-width: 280px;
            display: none;
            overflow: hidden;
        }

        .profile-header {
            padding: 20px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .profile-avatar {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .profile-info {
            flex: 1;
        }

        .profile-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .profile-email {
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: 2px;
        }

        .profile-role {
            font-size: 12px;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .profile-menu {
            padding: 8px 0;
        }

        .profile-menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            color: var(--dark);
            text-decoration: none;
            transition: background 0.2s ease;
            font-size: 14px;
        }

        .profile-menu-item:hover {
            background: var(--gray-50);
        }

        .profile-menu-item i {
            width: 16px;
            color: var(--gray-500);
        }

        .profile-menu-item.logout {
            color: var(--danger);
        }

        .profile-menu-item.logout i {
            color: var(--danger);
        }

        .profile-divider {
            height: 1px;
            background: var(--gray-200);
            margin: 8px 20px;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
        }

        .modal-content {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .notifications-modal .modal-content {
            max-width: 500px;
        }

        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
            color: var(--dark);
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--gray-500);
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            transition: background 0.2s ease;
        }

        .modal-close:hover {
            background: var(--gray-100);
        }

        .modal-body {
            padding: 24px;
            max-height: 60vh;
            overflow-y: auto;
        }

        /* Profile Modal Styles */
        .profile-details {
            text-align: center;
        }

        .profile-avatar-large {
            width: 80px;
            height: 80px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin: 0 auto 24px;
            position: relative;
        }

        .profile-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            text-align: left;
        }

        .info-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .info-group label {
            font-size: 12px;
            font-weight: 600;
            color: var(--gray-500);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-group input {
            padding: 10px 14px;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            font-size: 14px;
            background: white;
            color: var(--dark);
            transition: border-color 0.2s ease;
        }

        .info-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .info-group input[readonly] {
            background: var(--gray-50);
            cursor: not-allowed;
        }

        .avatar-edit-btn {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: 3px solid white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .avatar-edit-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }

        .profile-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--gray-200);
        }

        .profile-actions .btn {
            padding: 10px 24px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .profile-actions .btn-primary {
            background: var(--primary);
            color: white;
        }

        .profile-actions .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .profile-actions .btn-outline {
            background: white;
            color: var(--gray-600);
            border-color: var(--gray-200);
        }

        .profile-actions .btn-outline:hover {
            background: var(--gray-50);
            border-color: var(--gray-300);
        }

        /* Notifications Styles */
        .notifications-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .notification-item {
            display: flex;
            gap: 0px;
            padding: 0px;
            border-radius: 8px;
            background: var(--gray-50);
            border-left: 4px solid transparent;
            transition: all 0.2s ease;
        }

        .notification-item.unread {
            background: #E8F4FD;
            border-left-color: var(--primary);
        }

        .notification-item:hover {
            background: var(--gray-100);
        }

        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .notification-item:nth-child(1) .notification-icon {
            background: #E8F5E8;
            color: #198754;
        }

        .notification-item:nth-child(2) .notification-icon {
            background: #FFF3CD;
            color: #FFC107;
        }

        .notification-item:nth-child(3) .notification-icon {
            background: #E8F4FD;
            color: var(--primary);
        }

        .notification-item:nth-child(4) .notification-icon {
            background: #E8EAF6;
            color: #6C63FF;
        }

        .notification-content {
            flex: 1;
        }

        .notification-title {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 4px;
        }

        .notification-message {
            font-size: 14px;
            color: var(--gray-600);
            margin-bottom: 4px;
        }

        .notification-time {
            font-size: 12px;
            color: var(--gray-500);
        }

        /* Settings Section Styles */
        .settings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 24px;
            padding: 20px;
        }

        .setting-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .setting-item label {
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
        }

        .setting-item select {
            padding: 10px 14px;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            font-size: 14px;
            background: white;
            color: var(--dark);
            outline: none;
            cursor: pointer;
        }

        .setting-item select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        /* Stats Cards */
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }

        .stat-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 16px;
            padding: 24px;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            transition: all var(--transition-base);
            border: 1px solid rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            transform: scaleX(0);
            transition: transform var(--transition-base);
        }

        .stat-card:hover::before {
            transform: scaleX(1);
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 16px;
            font-size: 20px;
            color: white;
            background: var(--primary);
            flex-shrink: 0;
        }

        .stat-card.revenue .stat-icon {
            background: linear-gradient(135deg, #4CAF50, #8BC34A);
        }

        .stat-card.customers .stat-icon {
            background: linear-gradient(135deg, #2196F3, #03A9F4);
        }

        .stat-card.partners .stat-icon {
            background: linear-gradient(135deg, #9C27B0, #E91E63);
        }

        .stat-card.orders .stat-icon {
            background: linear-gradient(135deg, #FF9800, #FFC107);
        }

        .stat-content {
            flex: 1;
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--dark);
            margin: 4px 0;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 14px;
            color: var(--gray-500);
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .stat-change {
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }

        .stat-change i {
            font-size: 10px;
            margin-right: 2px;
        }

        .stat-change.positive {
            color: #10B981;
            background: rgba(16, 185, 129, 0.1);
        }

        .stat-change.negative {
            color: #EF4444;
            background: rgba(239, 68, 68, 0.1);
        }

        .stat-card.orders {
            border-left-color: var(--accent);
        }

        .stat-card.revenue {
            border-left-color: var(--success);
        }

        .stat-card.customers {
            border-left-color: var(--danger);
        }

        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin: 8px 0 4px;
        }

        .stat-label {
            font-size: 14px;
            color: var(--gray-500);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .stat-change {
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 500;
        }

        .stat-change.positive {
            color: var(--success);
            background: rgba(89, 241, 191, 0.1);
        }

        .stat-change.negative {
            color: var(--danger);
            background: rgba(231, 76, 60, 0.1);
        }

        /* Recent Orders Table */
        .card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            margin-bottom: 24px;
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--gray-200);
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark);
        }

        .view-all {
            color: var(--primary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th,
        td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid var(--gray-200);
        }

        th {
            font-size: 13px;
            font-weight: 500;
            color: var(--gray-500);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status {
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            text-transform: capitalize;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
        }

        .status.delivered {
            color: #10B981;
            background: #ECFDF5;
            border: 1px solid #A7F3D0;
        }

        .status.in-transit {
            color: #3B82F6;
            background: #EFF6FF;
            border: 1px solid #BFDBFE;
        }

        .status.processing {
            color: #F59E0B;
            background: #FFFBEB;
            border: 1px solid #FDE68A;
        }

        .status.pending {
            color: #F59E0B;
            background: #FFFBEB;
            border: 1px solid #FDE68A;
        }

        .status.processing {
            color: #3B82F6;
            background: #EFF6FF;
            border: 1px solid #BFDBFE;
        }

        .status.in-transit {
            color: #8B5CF6;
            background: #F5F3FF;
            border: 1px solid #DDD6FE;
        }

        .status.cancelled {
            color: #EF4444;
            background: #FEF2F2;
            border: 1px solid #FECACA;
        }

        /* Inventory Statuses */
        .status.in-stock {
            color: #10B981;
            background: #ECFDF5;
            border: 1px solid #A7F3D0;
        }

        .status.low-stock {
            color: #F59E0B;
            background: #FFFBEB;
            border: 1px solid #FDE68A;
        }

        .status.out-of-stock {
            color: #EF4444;
            background: #FEF2F2;
            border: 1px solid #FECACA;
        }

        /* Section Headers */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 0 16px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--dark);
        }

        .date-range {
            display: flex;
            align-items: center;
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: 6px;
            padding: 6px 12px;
            font-size: 13px;
            color: var(--gray-600);
            cursor: pointer;
        }

        .date-range i {
            margin-left: 6px;
            font-size: 12px;
        }

        /* Charts Row */
        .charts-row {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .chart-card,
        .inventory-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .chart-actions {
            display: flex;
            gap: 8px;
        }

        .btn-chart {
            padding: 4px 12px;
            border: 1px solid var(--gray-200);
            background: white;
            border-radius: 4px;
            font-size: 12px;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-chart:hover {
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-chart.active {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .chart-container {
            height: 300px;
            position: relative;
            margin-top: 16px;
        }

        /* Inventory List */
        .inventory-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 12px;
        }

        .inventory-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--gray-100);
        }

        .inventory-item:last-child {
            border-bottom: none;
        }

        .inventory-info {
            flex: 1;
        }

        .inventory-name {
            font-weight: 500;
            margin-bottom: 6px;
        }

        .inventory-stock {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 12px;
            color: var(--gray-500);
        }

        .progress-bar {
            flex: 1;
            height: 6px;
            background: var(--gray-100);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress {
            height: 100%;
            border-radius: 3px;
        }

        .inventory-status {
            font-size: 12px;
            font-weight: 500;
            padding: 4px 10px;
            border-radius: 12px;
            background: #ECFDF5;
            color: #10B981;
        }

        .inventory-status.warning {
            background: #FFFBEB;
            color: #F59E0B;
        }

        .inventory-status.danger {
            background: #FEF2F2;
            color: #EF4444;
        }

        /* Activity Feed */
        .activity-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .activity-card,
        .top-products {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .activity-feed {
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .activity-item {
            display: flex;
            gap: 12px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--gray-100);
        }

        .activity-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .activity-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .activity-icon.primary {
            background: rgba(14, 57, 99, 0.1);
            color: var(--primary);
        }

        .activity-icon.success {
            background: rgba(16, 185, 129, 0.1);
            color: #10B981;
        }

        .activity-icon.info {
            background: rgba(59, 130, 246, 0.1);
            color: #3B82F6;
        }

        .activity-icon.warning {
            background: rgba(245, 158, 11, 0.1);
            color: #F59E0B;
        }

        .activity-details {
            flex: 1;
        }

        .activity-details p {
            margin: 0 0 4px;
            font-size: 13px;
            line-height: 1.4;
        }

        .activity-time {
            font-size: 11px;
            color: var(--gray-500);
        }

        /* Top Products */
        .products-list {
            margin-top: 12px;
        }

        .product-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--gray-100);
        }

        .product-item:last-child {
            border-bottom: none;
        }

        .product-info {
            flex: 1;
        }

        .product-name {
            font-weight: 500;
            margin-bottom: 4px;
        }

        .product-sales {
            font-size: 12px;
            color: var(--gray-500);
        }

        .product-revenue {
            font-weight: 600;
            color: var(--dark);
        }

        /* Enhanced Table Styles */
        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            min-width: 800px;
        }

        th,
        td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid var(--gray-100);
            white-space: nowrap;
        }

        th {
            font-size: 12px;
            font-weight: 600;
            color: var(--gray-500);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: var(--gray-50);
            position: sticky;
            top: 0;
            z-index: 10;
        }

        tr:hover td {
            background: var(--gray-50);
        }

        .customer-cell {
            display: flex;
            align-items: center;
        }

        .customer-avatar {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 12px;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .customer-name {
            font-weight: 500;
            margin-bottom: 2px;
        }

        .customer-meta {
            font-size: 11px;
            color: var(--gray-500);
        }

        .actions {
            display: flex;
            gap: 8px;
        }

        .btn-icon {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1px solid var(--gray-200);
            background: white;
            color: var(--gray-600);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-icon:hover {
            background: var(--gray-50);
            color: var(--primary);
        }

        .table-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--gray-100);
        }

        .table-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .table-pagination span {
            font-size: 13px;
            color: var(--gray-600);
        }

        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .btn-pagination {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 1px solid var(--gray-200);
            background: white;
            color: var(--gray-600);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.2s;
        }

        .btn-pagination:hover:not(:disabled) {
            background: var(--gray-50);
            color: var(--primary);
        }

        .btn-pagination:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-pagination.active {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-size: 13px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-primary:hover {
            background: #0a2b4a;
            transform: translateY(-1px);
        }

        .nav-links:hover,
        .nav-links.active {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            transform: translateX(5px);
            box-shadow: var(--shadow-sm);
        }

        .nav-links:hover::before,
        .nav-links.active::before {
            width: 100%;
        }

        /* Badges */
        .badge {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 10px;
            margin-left: auto;
            margin-right: 4px;
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1000;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
                z-index: 900;
            }

            .sidebar.visible {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
                padding: 16px;
                padding-top: 72px;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .stats-container {
                grid-template-columns: 1fr;
            }

            .header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }

            .search-bar {
                max-width: 100%;
            }

            .user-menu {
                width: 100%;
                justify-content: space-between;
            }
        }

        /* Add Product Modal Styles */
        .modal-container {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            padding: 20px 24px;
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            background: white;
            z-index: 10;
        }

        .modal-header h2 {
            font-size: 20px;
            font-weight: 600;
            color: var(--dark);
            margin: 0;
        }

        .btn-close {
            background: none;
            border: none;
            color: var(--gray-500);
            font-size: 20px;
            cursor: pointer;
            padding: 5px;
            border-radius: 5px;
            transition: all 0.2s ease;
        }

        .btn-close:hover {
            background: var(--gray-100);
            color: var(--danger);
        }

        .modal-body {
            padding: 24px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group:has(textarea) {
            grid-column: span 2;
        }

        .form-group label {
            font-size: 14px;
            font-weight: 500;
            color: var(--gray-600);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 10px 14px;
            border: 1px solid var(--gray-300);
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s ease;
            width: 100%;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(14, 57, 99, 0.1);
        }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--gray-200);
        }

/* Status Badges for Blogs */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.status-active {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #dcfce7;
}

.status-rejected {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.status-draft {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Custom transitions for blog tabs */
.blog-tab {
    opacity: 0.7;
}

.blog-tab.active {
    opacity: 1;
}

.blog-tab:hover {
    opacity: 1;
    color: var(--primary);
}