        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #ec4899;
            --accent: #f59e0b;
            --background: #0f172a;
            --card-bg: rgba(30, 41, 59, 0.7);
            --text: #f8fafc;
            --success: #22c55e;
            --danger: #ef4444;
            --warning: #f59e0b;
            --info: #3b82f6;
        }

        [data-theme="light"] {
            --background: #f8fafc;
            --card-bg: rgba(255, 255, 255, 0.9);
            --text: #0f172a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Tajawal', sans-serif;
        }

        body {
            background: var(--background);
            color: var(--text);
            min-height: 100vh;
            transition: background 0.5s, color 0.5s;
        }

        .navbar {
            background: rgba(30, 41, 59, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        [data-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.95);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }

        .nav-links a:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }

        .whatsapp-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: 0.3s;
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: 0.5rem;
        }

        .whatsapp-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .theme-toggle, .notification-btn, .menu-toggle {
            background: transparent;
            border: none;
            color: var(--text);
            font-size: 1.25rem;
            cursor: pointer;
            transition: 0.3s;
            margin-left: 1rem;
        }

        .notification-btn {
            position: relative;
        }

        .menu-toggle {
            display: none;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 60px;
                right: 0;
                background: var(--card-bg);
                width: 100%;
                flex-direction: column;
                padding: 1rem;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
                max-height: 80vh;
                overflow-y: auto;
            }

            .nav-links.active {
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                justify-content: space-between;
            }

            .nav-links a {
                width: 48%;
                margin-bottom: 0.5rem;
            }

            .menu-toggle {
                display: block;
            }

            .nav-auth {
                display: none;
            }

            .mobile-icons {
                display: flex;
                gap: 1rem;
                align-items: center;
            }

            .mobile-icons .theme-toggle, .mobile-icons .notification-btn {
                display: block;
                margin: 0;
            }
        }

        .dashboard-container {
            margin-top: 80px;
            padding: 20px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .dashboard-header {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
            color: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .dashboard-header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: var(--card-bg);
            padding: 20px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: transform 0.3s;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-icon {
            font-size: 2.5rem;
            color: var(--primary);
        }

        .table-container {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
        }

        .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .download-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .download-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .data-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 8px;
        }

        .data-table th {
            background: var(--primary);
            color: white;
            padding: 15px;
            text-align: right;
            font-weight: 500;
        }

        .data-table th:first-child {
            border-radius: 0 8px 8px 0;
        }

        .data-table th:last-child {
            border-radius: 8px 0 0 8px;
        }

        .data-table td {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            transition: all 0.3s;
        }

        .data-table tr:hover td {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.01);
        }

        .action-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            margin: 0 4px;
            font-size: 0.9rem;
        }

        .approve-btn {
            background: var(--success);
            color: white;
        }

        .reject-btn {
            background: var(--danger);
            color: white;
        }

        .edit-btn {
            background: var(--info);
            color: white;
        }

        .notify-btn {
            background: var(--warning);
            color: white;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            filter: brightness(1.1);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: var(--text);
            font-size: 1.5rem;
            cursor: button;
        }

        .modal input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid var(--primary);
            border-radius: 6px;
            background: transparent;
            color: var(--text);
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .data-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

            .action-btn {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }

        .footer {
            background: var(--card-bg);
            padding: 2rem;
            text-align: center;
            margin-top: 4rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;
        }

        .footer-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-links a {
            color: var(--text);
            text-decoration: none;
            font-size: 1rem;
            transition: 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-social {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .footer-social a {
            color: var(--text);
            font-size: 1.5rem;
            transition: 0.3s;
        }

        .footer-social a:hover {
            color: var(--primary);
        }

        .footer-copyright {
            margin-top: 1rem;
            font-size: 0.9rem;
            color: var(--text);
        }

        .footer-copyright .developer {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-copyright .dev-name {
            font-weight: bold;
            color: var(--primary);
            transition: 0.3s;
            text-decoration: none;
        }

        .footer-copyright .dev-name:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

        .footer-copyright .separator {
            color: var(--text);
            opacity: 0.7;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .slide-up {
            animation: slideUp 0.5s ease-out;
        }

        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .notification {
            background-color: #333;
            color: white;
            padding: 10px;
            border-radius: 5px;
            position: absolute;
            top: 50px;
            right: 20px;
            font-family: 'Tajawal', sans-serif;
            z-index: 9999;
            display: none;
        }

        .notification hr {
            border: 0;
            border-top: 1px solid #444;
            margin: 10px 0;
        }
                    .notification {
                background-color: #333;
                color: white;
                padding: 10px;
                border-radius: 5px;
                position: absolute;
                top: 50px;
                right: 190px;
                font-family: 'Tajawal', sans-serif;
                z-index: 9999;
            }
            .notification-btn {
                background-color: transparent;
                border: none;
                cursor: pointer;
                position: relative;
                left: -50px; 
            }
            hr {
                border: 0;
                border-top: 1px solid #444;
                margin: 10px 0;
            }
        #themeToggle {
              position: relative;
              left: -95px; 
           }

 .quick-links {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin: 2rem 0;
        }

        .quick-link {
            padding: 1rem 2rem;
            border-radius: 0.5rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: var(--transition);
            flex: 1 1 calc(25% - 2rem);
            text-align: center;
            min-width: 200px;
        }

        .quick-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
