        :root {
            --primary: #7E57C2;
            --primary-dark: #5E35B1;
            --primary-light: #B39DDB;
            --secondary: #F5F5F5;
            --accent: #FFD54F;
            --text-dark: #333333;
            --text-light: #666666;
            --white: #FFFFFF;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        .dark-mode {
            --primary-color: #6a0dad;
            --secondary-color: #00c6ff;
            --text-color: #ffffff;
            --bg-color: #1a0a24;
            --card-bg: rgba(255, 255, 255, 0.05);
            --card-border: rgba(255, 255, 255, 0.15);
            --shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s ease;

            --primary: var(--primary-color);
            --primary-dark: #5a0c9c;
            --primary-light: #8a4dcc;
            --secondary: var(--bg-color);
            --accent: var(--secondary-color);
            --text-dark: var(--text-color);
            --text-light: #e0e0e0;
            --white: #1a0a24;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--secondary);
            color: var(--text-dark);
            line-height: 1.7;
            overflow-x: hidden;
            transition: var(--transition);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .dashboard-container {
            display: flex;
            min-height: 100vh;
        }

        .sidebar {
            width: 240px;
            background-color: var(--white);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: fixed;
            height: 100vh;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--primary-light);
            border-radius: 3px;
        }

        .sidebar-header {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            color: var(--primary-dark);
            font-weight: 800;
            font-size: 1.3rem;
            text-decoration: none;
        }

        .sidebar-logo i {
            margin-left: 10px;
            font-size: 1.5rem;
        }

        .sidebar-toggle {
            background: none;
            border: none;
            font-size: 1.3rem;
            color: var(--primary-dark);
            cursor: pointer;
            transition: var(--transition);
            display: none;
        }

        .sidebar-toggle:hover {
            color: var(--primary);
        }

        .profile-box {
            padding: 15px;
            margin: 10px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 12px;
            color: var(--white);
            text-align: center;
        }

        .dark-mode .profile-box {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .profile-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 10px;
            background-color: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .dark-mode .profile-img {
            background-color: rgba(255, 255, 255, 0.15);
            color: white;
        }

        .profile-name {
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 0.9rem;
        }

        .profile-role {
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .sidebar-menu {
            list-style: none;
            padding: 0 10px;
            margin-top: 10px;
            flex: 1;
        }

        .sidebar-menu li {
            margin-bottom: 5px;
        }

        .sidebar-menu a {
            display: flex;
            align-items: center;
            padding: 12px 12px;
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 8px;
            transition: var(--transition);
            font-weight: 500;
            font-size: 0.9rem;
        }

        .sidebar-menu a:hover,
        .sidebar-menu a.active {
            background-color: rgba(126, 87, 194, 0.1);
            color: var(--primary);
        }

        .sidebar-menu a i {
            margin-left: 8px;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }

        .menu-header {
            padding: 15px 12px 8px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .main-content {
            flex: 1;
            margin-right: 240px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .top-header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 999;
            flex-shrink: 0;
            gap: 20px;
        }

        .page-title {
            flex: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .page-title .sidebar-logo {
            font-size: 1.2rem;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }

        .theme-toggle-wrapper {
            display: flex;
            align-items: center;
        }

        .theme-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }

        .theme-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            background-color: var(--primary-light);
            transition: var(--transition);
            border-radius: 34px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            right: 4px;
            bottom: 4px;
            background-color: white;
            transition: var(--transition);
            border-radius: 50%;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 12px;
            color: var(--primary);
        }

        input:checked+.slider {
            background-color: var(--primary);
        }

        input:checked+.slider:before {
            transform: translateX(-30px);
            content: "\f186";
            color: var(--accent);
        }

        input:not(:checked)+.slider:before {
            content: "\f185";
        }

        .slider .sun-icon,
        .slider .moon-icon {
            font-size: 14px;
            color: white;
            z-index: 1;
        }

        .sun-icon {
            opacity: 1;
            transition: var(--transition);
        }

        .moon-icon {
            opacity: 0;
            transition: var(--transition);
        }

        input:checked+.slider .sun-icon {
            opacity: 0;
        }

        input:checked+.slider .moon-icon {
            opacity: 1;
        }

        .user-menu {
            position: relative;
        }

        .user-btn {
            display: flex;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-dark);
            font-weight: 600;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .user-btn:hover {
            color: var(--primary);
        }

        .user-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 700;
            margin-left: 10px;
            font-size: 0.9rem;
        }

        .user-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            width: 180px;
            background-color: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 10px 0;
            z-index: 1002;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
        }

        .user-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .user-dropdown a {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            color: var(--text-dark);
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .user-dropdown a:hover {
            background-color: rgba(126, 87, 194, 0.1);
            color: var(--primary);
        }

        .user-dropdown a i {
            margin-left: 8px;
            width: 18px;
            text-align: center;
        }

        .content-wrapper {
            padding: 30px;
            flex: 1;
        }

        .section-title {
            margin-bottom: 30px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-weight: 800;
        }

        .section-title p {
            color: var(--text-light);
            max-width: 700px;
            font-size: 1rem;
            line-height: 1.8;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            right: 0;
            width: 100px;
            height: 5px;
            background: linear-gradient(to left, var(--primary), var(--accent));
            border-radius: 3px;
        }

        /* Breadcrumb styles */
        .breadcrumb {
            display: flex;
            list-style: none;
            padding: 10px 15px;
            background-color: var(--white);
            border-radius: 8px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
        }

        .breadcrumb-item {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .breadcrumb-item.active {
            color: var(--primary);
            font-weight: 600;
        }

        .breadcrumb-item:not(:last-child)::after {
            content: "/";
            margin: 0 8px;
            color: var(--text-light);
        }

        .breadcrumb a {
            color: var(--text-light);
            text-decoration: none;
            transition: var(--transition);
        }

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

        /* Support cards styles */
        .support-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .support-card {
            background-color: var(--white);
            border-radius: 15px;
            padding: 30px 25px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid transparent;
        }

        .support-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .support-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 2.2rem;
            margin-bottom: 20px;
        }

        .dark-mode .support-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .support-card h3 {
            font-size: 1.3rem;
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-weight: 700;
        }

        .support-card p {
            color: var(--text-light);
            margin-bottom: 20px;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .support-card .btn {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
            margin-top: auto;
        }

        .support-card .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(126, 87, 194, 0.3);
        }

        .support-card .info-text {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 10px;
            font-weight: normal;
        }

        footer {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: var(--white);
            padding: 20px 0;
            margin-top: 50px;
        }

        .copyright {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .copyright-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 500;
            font-size: clamp(13px, 1.8vw, 16px);
            text-align: center;
        }

        .copyright-content span {
            color: #67e8f9;
        }

        .copyright-content a {
            padding: 5px 10px;
            border-radius: 6px;
            color: #f1f5f9;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .copyright-content a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .mobile-only {
            display: none;
        }

        .mobile-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .dark-mode .sidebar {
            background-color: var(--white);
            border-left: 1px solid var(--card-border);
        }

        .dark-mode .sidebar-header {
            border-bottom: 1px solid var(--card-border);
        }

        .dark-mode .sidebar-menu a {
            color: var(--text-dark);
        }

        .dark-mode .sidebar-menu a:hover,
        .dark-mode .sidebar-menu a.active {
            background-color: rgba(106, 13, 173, 0.15);
            color: var(--primary);
        }

        .dark-mode .top-header {
            background-color: var(--white);
            border-bottom: 1px solid var(--card-border);
        }

        .dark-mode .support-card {
            background-color: var(--card-bg);
            border: 1px solid var(--card-border);
        }

        .dark-mode .support-card h3 {
            color: var(--text-dark);
        }

        .dark-mode .support-card p,
        .dark-mode .user-btn,
        .dark-mode .breadcrumb a {
            color: var(--text-light);
        }

        .dark-mode .breadcrumb {
            background-color: var(--card-bg);
            border: 1px solid var(--card-border);
        }

        .dark-mode .breadcrumb-item {
            color: var(--text-light);
        }

        .dark-mode .breadcrumb-item.active {
            color: var(--primary);
        }

        .dark-mode .user-dropdown {
            background-color: var(--white);
            border: 1px solid var(--card-border);
        }

        .dark-mode .user-dropdown a {
            color: var(--text-dark);
        }

        .dark-mode .user-dropdown a:hover {
            background-color: rgba(106, 13, 173, 0.15);
            color: var(--primary);
        }

        .dark-mode .menu-header {
            color: var(--text-light);
        }

        .dark-mode .sidebar-logo {
            color: white;
        }

        .dark-mode .section-title h2 {
            color: white;
        }

        .dark-mode .menu-header {
            color: white;
        }

        @media (max-width: 1200px) {
            .sidebar {
                width: 220px;
            }

            .main-content {
                margin-right: 220px;
            }
        }

        @media (max-width: 992px) {
            .sidebar {
                width: 250px;
                transform: translateX(-100%);
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .main-content {
                margin-right: 0;
            }

            .sidebar-toggle {
                display: block;
            }

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

            .support-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .content-wrapper {
                padding: 20px 15px;
            }

            .support-grid {
                grid-template-columns: 1fr;
            }

            .section-title h2 {
                font-size: 1.6rem;
            }

            .top-header {
                padding: 15px 20px;
                flex-direction: row;
                align-items: center;
                gap: 15px;
            }

            .header-actions {
                width: auto;
                justify-content: flex-end;
            }

            .mobile-only {
                display: block;
            }

            .breadcrumb {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 576px) {
            .header-actions {
                gap: 10px;
                flex-wrap: nowrap;
            }

            .theme-switch {
                width: 50px;
                height: 25px;
            }

            .slider:before {
                height: 18px;
                width: 18px;
                font-size: 10px;
            }

            input:checked+.slider:before {
                transform: translateX(-25px);
            }

            .user-btn span {
                display: none;
            }

            .page-title .sidebar-logo {
                font-size: 1rem;
            }

            .support-card {
                padding: 20px 15px;
            }

            .support-icon {
                width: 70px;
                height: 70px;
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .sidebar {
                width: 100%;
            }

            .content-wrapper {
                padding: 15px 10px;
            }

            .section-title h2 {
                font-size: 1.4rem;
            }

            .top-header {
                padding: 12px 15px;
                gap: 10px;
            }

            .header-actions {
                gap: 8px;
            }

            .breadcrumb {
                padding: 8px 10px;
            }

            .breadcrumb-item {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 360px) {
            .page-title .sidebar-logo {
                font-size: 0.9rem;
            }

            .theme-switch {
                width: 45px;
                height: 22px;
            }

            .slider:before {
                height: 16px;
                width: 16px;
            }

            input:checked+.slider:before {
                transform: translateX(-23px);
            }
        }
