
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #e74c3c;
            --accent-color: #3498db;
            --success-color: #27ae60;
            --warning-color: #f39c12;
            --dark-color: #34495e;
            --light-color: #f8f9fa;
            --white: #ffffff;
            --light-gray: #f1f3f4;
            --light-blue: #e3f2fd;
            --light-green: #e8f5e8;
            --light-orange: #fff3e0;
            --gradient-1: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            --gradient-2: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            --gradient-3: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            background-color: var(--white);
        }

        /* Header & Navigation */
        .navbar {
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary-color) !important;
        }

        .nav-link {
            font-weight: 500;
            color: var(--dark-color) !important;
            transition: all 0.3s ease;
        }

        .nav-link:hover {
            color: var(--secondary-color) !important;
            transform: translateY(-2px);
        }

        .btn-primary {
            background: var(--secondary-color);
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
            background: #c0392b;
        }

        /* Dropdown Menu Styles for Dark Navbar */
        .navbar-dark .dropdown-menu {
            background-color: #343a40;
            border: 1px solid #495057;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            border-radius: 8px;
        }

        .navbar-dark .dropdown-item {
            color: #f8f9fa;
            transition: all 0.3s ease;
        }

        .navbar-dark .dropdown-item:hover,
        .navbar-dark .dropdown-item:focus {
            background-color: #495057;
            color: #ffffff;
        }

        .navbar-dark .dropdown-item.active,
        .navbar-dark .dropdown-item:active {
            background-color: var(--secondary-color);
            color: #ffffff;
        }

        .navbar-dark .dropdown-divider {
            border-color: #495057;
        }

        .navbar-dark .dropdown-header {
            color: #adb5bd;
        }

        /* Banner 1 - Hero Section */
        .hero-section {
            background: var(--gradient-1);
            color: var(--primary-color);
            padding: 120px 0 100px;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%232c3e50" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            animation: float 6s ease-in-out infinite;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            animation: slideInLeft 1s ease-out;
        }

        .hero-subtitle {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            color: var(--dark-color);
            animation: slideInLeft 1s ease-out 0.3s both;
        }

        .hero-buttons {
            animation: slideInLeft 1s ease-out 0.6s both;
        }

        .hero-buttons .btn {
            margin: 0.5rem;
            padding: 15px 35px;
            font-size: 1.1rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-outline-dark {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
            transition: all 0.3s ease;
        }

        .btn-outline-dark:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: translateY(-3px);
        }

        .hero-car {
            animation: float 4s ease-in-out infinite;
            color: var(--accent-color);
        }

        /* Banner 2 - Services Showcase */
        .services-banner {
            background: var(--gradient-2);
            color: var(--primary-color);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .services-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232c3e50" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
            opacity: 0.2;
            animation: slide 20s linear infinite;
        }

        .services-content {
            position: relative;
            z-index: 2;
        }

        .service-card {
            background: var(--white);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid var(--light-gray);
            transition: all 0.4s ease;
            animation: fadeInUp 0.8s ease-out;
        }

        .service-card:nth-child(1) { animation-delay: 0.2s; }
        .service-card:nth-child(2) { animation-delay: 0.4s; }
        .service-card:nth-child(3) { animation-delay: 0.6s; }

        .service-card:hover {
            transform: translateY(-15px) scale(1.05);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
            border-color: var(--accent-color);
        }

        .service-icon {
            width: 100px;
            height: 100px;
            background: var(--light-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: var(--accent-color);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .service-card:hover .service-icon {
            transform: scale(1.2) rotate(360deg);
            background: var(--accent-color);
            color: var(--white);
        }

        .service-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .service-description {
            font-size: 1.1rem;
            color: var(--dark-color);
            margin-bottom: 25px;
        }

        .service-card .btn {
            background: var(--accent-color);
            color: var(--white);
            border: none;
            padding: 10px 25px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .service-card .btn:hover {
            background: var(--primary-color);
            transform: translateY(-2px);
        }

        /* Banner 3 - Call to Action */
        .cta-banner {
            background: var(--gradient-3);
            color: var(--primary-color);
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0 25 Q12.5 0 25 25 T50 25 T75 25 T100 25" stroke="%232c3e50" stroke-width="1" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
            opacity: 0.3;
            animation: wave 8s ease-in-out infinite;
        }

        .cta-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .cta-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            animation: bounceIn 1s ease-out;
        }

        .cta-subtitle {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            color: var(--dark-color);
            animation: fadeIn 1s ease-out 0.5s both;
        }

        .cta-buttons {
            animation: fadeIn 1s ease-out 1s both;
        }

        .cta-btn {
            background: var(--white);
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
            padding: 15px 40px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            margin: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .cta-btn:hover {
            background: var(--accent-color);
            color: var(--white);
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
        }

        .cta-btn.primary {
            background: var(--secondary-color);
            border-color: var(--secondary-color);
            color: var(--white);
        }

        .cta-btn.primary:hover {
            background: #c0392b;
            border-color: #c0392b;
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

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

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes slide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        @keyframes wave {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* Services Section */
        .services-section {
            padding: 100px 0;
            background: var(--white);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--dark-color);
            margin-bottom: 3rem;
        }

        .service-detail-card {
            background: var(--white);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            border: 1px solid var(--light-gray);
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .service-detail-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-color);
        }

        .service-detail-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
            border-color: var(--accent-color);
        }

        .service-detail-icon {
            width: 80px;
            height: 80px;
            background: var(--light-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2rem;
            color: var(--accent-color);
            transition: all 0.3s ease;
        }

        .service-detail-card:hover .service-detail-icon {
            transform: scale(1.1) rotate(5deg);
            background: var(--accent-color);
            color: var(--white);
        }

        .service-detail-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .service-detail-description {
            color: var(--dark-color);
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .service-features {
            text-align: left;
        }

        .service-features li {
            margin-bottom: 8px;
            color: var(--dark-color);
        }

        .service-features i {
            color: var(--success-color);
            margin-right: 10px;
            font-weight: 900;
        }

        /* Stats Section */
        .stats-section {
            background: var(--light-gray);
            color: var(--primary-color);
            padding: 80px 0;
        }

        .stat-item {
            text-align: center;
            padding: 20px;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 1.1rem;
            color: var(--dark-color);
        }

        /* Features Section */
        .features-section {
            padding: 100px 0;
            background: var(--white);
        }

        .feature-card {
            background: var(--light-gray);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid var(--light-gray);
        }

        .feature-card:hover {
            background: var(--white);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            transform: translateY(-5px);
            border-color: var(--accent-color);
        }

        .feature-icon {
            font-size: 3rem;
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .feature-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        /* About Section */
        .about-section {
            padding: 100px 0;
            background: var(--light-gray);
        }

        .about-content {
            background: var(--white);
            border-radius: 20px;
            padding: 50px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border: 1px solid var(--light-gray);
        }

        .about-image {
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .achievement-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            border-radius: 10px;
            background: var(--light-gray);
        }

        .achievement-item i {
            font-size: 1.5rem;
            margin-right: 15px;
            width: 30px;
        }

        /* Auto Parts Search Section */
        .parts-search-section {
            padding: 100px 0;
            background: var(--light-gray);
        }

        .parts-search-card {
            background: var(--white);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border: 1px solid var(--light-gray);
        }

        .form-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .form-select {
            border: 2px solid var(--light-gray);
            border-radius: 10px;
            padding: 12px 15px;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .form-select:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
        }

        .form-select:disabled {
            background: var(--light-gray);
            opacity: 0.6;
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background: var(--light-blue);
            border-radius: 10px;
            border: 1px solid var(--accent-color);
        }

        .results-header h5 {
            margin: 0;
            color: var(--primary-color);
        }

        .results-count {
            font-weight: 600;
            color: var(--accent-color);
        }

        .parts-results {
            max-height: 400px;
            overflow-y: auto;
        }

        .part-item {
            background: var(--white);
            border: 1px solid var(--light-gray);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .part-item:hover {
            border-color: var(--accent-color);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        .part-info {
            flex: 1;
        }

        .part-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .part-details {
            color: var(--dark-color);
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .part-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--secondary-color);
        }

        .part-actions {
            display: flex;
            gap: 10px;
        }

        .btn-sm {
            padding: 8px 15px;
            font-size: 0.9rem;
            border-radius: 20px;
        }

        .no-results {
            text-align: center;
            padding: 40px;
            color: var(--dark-color);
        }

        .no-results i {
            font-size: 3rem;
            color: var(--light-gray);
            margin-bottom: 15px;
        }

        /* Contact Section */
        .contact-section {
            padding: 100px 0;
            background: var(--white);
        }

        .contact-card {
            background: var(--white);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            height: 100%;
            border: 1px solid var(--light-gray);
        }

        .contact-info-item {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding: 15px;
            background: var(--light-gray);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .contact-info-item:hover {
            background: var(--light-blue);
            transform: translateX(5px);
        }

        .contact-info-item i {
            font-size: 1.5rem;
            color: var(--accent-color);
            margin-right: 15px;
            width: 30px;
        }

        .form-control {
            border: 2px solid var(--light-gray);
            border-radius: 10px;
            padding: 12px 15px;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
            background: var(--white);
        }

        /* Footer */
        .footer {
            background: var(--primary-color);
            color: var(--white);
            padding: 50px 0 20px;
        }

        .footer h5 {
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .footer a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s ease;
        }

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

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title, .cta-title {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .service-card, .service-detail-card {
                margin-bottom: 30px;
            }
        }
        
        /* ===== ADMIN PANEL STYLES ===== */
        
        /* Admin Sidebar */
        .admin-sidebar {
            background: #2c3e50;
            color: #ecf0f1;
            min-height: 100vh;
        }
        
        .admin-sidebar .nav-link {
            color: #ecf0f1;
            padding: 0.75rem 1.5rem;
            border-radius: 0;
            margin: 0;
            border-left: 3px solid transparent;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .admin-sidebar .nav-link:hover {
            background: #34495e;
            color: #fff;
            border-left-color: #3498db;
            padding-left: 2rem;
            text-decoration: none;
        }
        
        .admin-sidebar .nav-link.active {
            background: #3498db;
            color: #fff;
            border-left-color: #fff;
        }
        
        .admin-sidebar .nav-link i {
            width: 20px;
            text-align: center;
            margin-right: 10px;
        }
        
        .admin-sidebar .nav-link:hover i {
            transform: scale(1.1);
            transition: transform 0.2s ease;
        }
        
        .admin-sidebar .badge {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
        }
        
        .nav-section-header {
            color: #95a5a6 !important;
            font-size: 0.75rem;
            letter-spacing: 0.5px;
        }
        
        .sidebar-logo i {
            color: #3498db !important;
        }
        
        .user-avatar i {
            color: #fff;
        }
        
        /* Mobile Offcanvas Styles */
        .offcanvas-lg {
            background: #2c3e50;
        }
        
        .offcanvas-lg .offcanvas-header {
            background: #34495e;
            border-bottom: 1px solid #4a5f7a;
        }
        
        .offcanvas-lg .offcanvas-title {
            color: #fff;
            font-weight: 600;
        }
        
        .offcanvas-lg .btn-close-white {
            filter: invert(1) grayscale(100%) brightness(200%);
        }
        
        /* Admin Content */
        .admin-content {
            background: #f8f9fa;
            min-height: 100vh;
            padding: 1rem;
        }
        
        @media (min-width: 768px) {
            .admin-content {
                padding: 2rem;
            }
        }
        
        /* Stats Cards */
        .stats-card {
            transition: transform 0.2s;
            border: none;
            border-radius: 15px;
        }
        
        .stats-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        /* Mobile Sidebar Toggle Button */
        .btn-outline-light {
            border-color: rgba(255,255,255,0.3);
        }
        
        .btn-outline-light:hover {
            background-color: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.5);
        }
        
        /* Ensure proper z-index for offcanvas */
        .offcanvas-lg {
            z-index: 1045;
        }
        
        .offcanvas-backdrop {
            z-index: 1040;
        }
        
        /* Responsive adjustments for admin panel */
        @media (max-width: 991.98px) {
            .admin-content {
                padding: 0.75rem;
            }
            
            .stats-card .card-body {
                padding: 1rem !important;
            }
            
            .stats-card h3 {
                font-size: 1.5rem;
            }
            
            .stats-card h6 {
                font-size: 0.875rem;
            }
        }
    
        /* ===== ENHANCED ADMIN DASHBOARD STYLES ===== */
        
        /* Admin Dashboard Layout */
        .admin-dashboard {
            background: #f8f9fa;
            min-height: 100vh;
        }
        
        .main-content {
            margin-left: 25%; /* Account for fixed sidebar */
            padding: 1rem;
        }
        
        /* Dashboard Hero Section */
        .dashboard-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            overflow: hidden;
        }
        
        .hero-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 2rem 1.5rem;
            color: white;
        }
        
        .welcome-section .stat-badge {
            background: rgba(255,255,255,0.2);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.9rem;
            backdrop-filter: blur(10px);
            margin-right: 1rem;
            display: inline-block;
        }
        
        .hero-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 1.5rem;
        }
        
        .quick-stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .current-time-display {
            background: rgba(255,255,255,0.1);
            padding: 1.5rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            text-align: center;
            min-width: 200px;
        }
        
        .time-icon {
            margin-bottom: 1rem;
            opacity: 0.75;
        }
        
        .current-date {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .current-time {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
        }
        
        /* Enhanced Stat Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .stat-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: none;
            overflow: hidden;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .stat-card-body {
            padding: 2rem;
            display: flex;
            align-items: center;
        }
        
        .stat-card-icon {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            font-size: 2rem;
            color: white;
        }
        
        .stat-card-primary .stat-card-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .stat-card-success .stat-card-icon { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
        .stat-card-warning .stat-card-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .stat-card-info .stat-card-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        
        .stat-card-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0;
            color: #2c3e50;
        }
        
        .stat-card-label {
            color: #7f8c8d;
            margin: 0.5rem 0;
            font-weight: 500;
        }
        
        .stat-card-trend {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .stat-card-trend.positive { color: #27ae60; }
        .stat-card-trend.negative { color: #e74c3c; }
        .stat-card-trend.neutral { color: #95a5a6; }
        
        .stat-card-trend i {
            margin-right: 0.5rem;
        }
        
        .stat-card-trend small {
            margin-left: 0.5rem;
            opacity: 0.7;
        }
        
        /* Dashboard Content Layout */
        .dashboard-content {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        
        /* Quick Actions Panel */
        .quick-actions-panel {
            background: white;
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        
        .panel-header {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #ecf0f1;
            background: #fafbfc;
        }
        
        .panel-title {
            margin: 0;
            font-weight: 700;
            color: #2c3e50;
            font-size: 1.1rem;
        }
        
        .panel-subtitle {
            margin: 0.5rem 0 0 0;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .panel-action {
            color: #3498db;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .panel-action:hover {
            color: #2980b9;
        }
        
        /* Quick Actions Grid */
        .quick-actions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
            padding: 2rem;
        }
        
        .action-card {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 15px;
            text-decoration: none;
            color: #2c3e50;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .action-card:hover {
            background: white;
            border-color: #3498db;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            color: #2c3e50;
        }
        
        .action-icon {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.5rem;
            color: white;
        }
        
        .action-card-primary .action-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .action-card-success .action-icon { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
        .action-card-warning .action-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .action-card-info .action-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .action-card-secondary .action-icon { background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%); }
        .action-card-dark .action-icon { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); }
        
        .action-content {
            flex: 1;
        }
        
        .action-content h6 {
            margin: 0 0 0.25rem 0;
            font-weight: 600;
        }
        
        .action-content p {
            margin: 0;
            color: #7f8c8d;
            font-size: 0.85rem;
        }
        
        .action-arrow {
            color: #bdc3c7;
            transition: all 0.3s ease;
        }
        
        .action-card:hover .action-arrow {
            color: #3498db;
            transform: translateX(5px);
        }
        
        /* Dashboard Panels */
        .dashboard-panels {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .system-status-panel,
        .recent-activity-panel,
        .quick-insights-panel {
            background: white;
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        
        /* System Status */
        .system-status-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding: 2rem;
        }
        
        .status-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 10px;
        }
        
        .status-info {
            display: flex;
            flex-direction: column;
        }
        
        .status-label {
            font-weight: 600;
            color: #2c3e50;
        }
        
        .status-value {
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .status-indicator.online { background: #27ae60; }
        .status-indicator.warning { background: #f39c12; }
        .status-indicator.offline { background: #e74c3c; }
        
        /* Activity Timeline */
        .activity-timeline {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 2rem;
        }
        
        .activity-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }
        
        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            flex-shrink: 0;
        }
        
        .activity-content h6 {
            margin: 0 0 0.25rem 0;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .activity-content p {
            margin: 0 0 0.25rem 0;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .activity-content small {
            color: #95a5a6;
            font-size: 0.8rem;
        }
        
        /* Insights Grid */
        .insights-grid {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 2rem;
        }
        
        .insight-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 10px;
        }
        
        .insight-icon {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
        }
        
        .insight-content h6 {
            margin: 0 0 0.25rem 0;
            font-weight: 600;
            color: #2c3e50;
            font-size: 0.9rem;
        }
        
        .insight-content h4 {
            margin: 0 0 0.25rem 0;
            font-weight: 700;
        }
        
        .insight-content small {
            color: #27ae60;
            font-weight: 500;
        }
        
        /* Footer Actions */
        .dashboard-footer {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        
        .footer-actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }
        
        .footer-action-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1.5rem;
            background: #f8f9fa;
            border-radius: 15px;
            text-decoration: none;
            color: #2c3e50;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            text-align: center;
        }
        
        .footer-action-card:hover {
            background: white;
            border-color: #3498db;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            color: #2c3e50;
        }
        
        .footer-action-card i {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #3498db;
        }
        
        .footer-action-card span {
            font-weight: 600;
        }
        
        /* Enhanced Admin Sidebar */
        .admin-sidebar-modern {
            background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            min-height: 100vh;
            box-shadow: 2px 0 20px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
            width: 100%;
            max-width: 100%;
        }
        
        .admin-sidebar-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.05) 0%, transparent 100%);
            pointer-events: none;
        }
        
        /* Sidebar Header */
        .sidebar-header {
            background: rgba(255,255,255,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            flex-shrink: 0;
        }
        
        .sidebar-logo i {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* User Section */
        .sidebar-user {
            background: rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            flex-shrink: 0;
        }
        
        .user-avatar i {
            color: #667eea;
        }
        
        /* Navigation */
        .sidebar-nav {
            padding: 0 0.5rem;
            flex: 1;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.3) transparent;
        }
        
        .sidebar-nav::-webkit-scrollbar {
            width: 6px;
        }
        
        .sidebar-nav::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .sidebar-nav::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
        }
        
        .sidebar-nav::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.5);
        }
        
        .nav-section-header {
            color: rgba(255,255,255,0.6) !important;
            font-size: 0.75rem;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
            position: sticky;
            top: 0;
            background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            z-index: 10;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
        }
        
        .admin-sidebar-modern .nav-link {
            color: rgba(255,255,255,0.8) !important;
            padding: 0.75rem 1rem;
            border-radius: 12px;
            margin-bottom: 0.25rem;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }
        
        .admin-sidebar-modern .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.5s ease;
        }
        
        .admin-sidebar-modern .nav-link:hover::before {
            left: 100%;
        }
        
        .admin-sidebar-modern .nav-link:hover {
            color: #ffffff !important;
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.2);
            transform: translateX(5px);
        }
        
        .admin-sidebar-modern .nav-link.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #ffffff !important;
            border-color: transparent;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }
        
        .admin-sidebar-modern .nav-link.active::before {
            display: none;
        }
        
        .admin-sidebar-modern .nav-link i {
            transition: transform 0.3s ease;
        }
        
        .admin-sidebar-modern .nav-link:hover i {
            transform: scale(1.1);
        }
        
        /* Sidebar Footer */
        .sidebar-footer {
            background: rgba(255,255,255,0.05);
            border-top: 1px solid rgba(255,255,255,0.1);
            flex-shrink: 0;
        }
        
        .sidebar-footer .btn {
            border-radius: 10px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .sidebar-footer .btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        
        /* Offcanvas Styling */
        .offcanvas {
            background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border: none;
            max-width: 300px;
            width: 300px;
        }
        
        .offcanvas-header {
            background: rgba(255,255,255,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .offcanvas-title {
            color: #ffffff;
        }
        
        .btn-close-white {
            filter: invert(1) grayscale(100%) brightness(200%);
        }
        
        /* Animation for sidebar items */
        .admin-sidebar-modern .nav-link {
            opacity: 0;
            animation: slideInLeft 0.5s ease forwards;
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Stagger animation for nav items */
        .admin-sidebar-modern .nav-link:nth-child(1) { animation-delay: 0.1s; }
        .admin-sidebar-modern .nav-link:nth-child(2) { animation-delay: 0.2s; }
        .admin-sidebar-modern .nav-link:nth-child(3) { animation-delay: 0.3s; }
        .admin-sidebar-modern .nav-link:nth-child(4) { animation-delay: 0.4s; }
        .admin-sidebar-modern .nav-link:nth-child(5) { animation-delay: 0.5s; }
        .admin-sidebar-modern .nav-link:nth-child(6) { animation-delay: 0.6s; }
        
        /* Responsive Design for Admin Dashboard */
        @media (max-width: 1200px) {
            .main-content {
                margin-left: 0;
            }
            
            .hero-content {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
            }
            
            .quick-stats-row {
                justify-content: center;
            }
            
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
            
            .dashboard-panels {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .main-content {
                padding: 0.5rem;
            }
            
            .dashboard-hero {
                border-radius: 15px;
                margin-bottom: 1.5rem;
            }
            
            .hero-content {
                padding: 1.5rem 1rem;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .quick-actions-grid {
                grid-template-columns: 1fr;
                padding: 1.5rem;
            }
            
            .stats-grid {
                gap: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .stat-card-body {
                padding: 1.5rem;
            }
            
            .panel-header {
                padding: 1.5rem;
            }
            
            .dashboard-footer {
                padding: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
            .stat-card-body {
                flex-direction: column;
                text-align: center;
            }
            
            .stat-card-icon {
                margin: 0 0 1rem 0;
            }
            
            .action-card {
                flex-direction: column;
                text-align: center;
            }
            
            .action-icon {
                margin: 0 0 1rem 0;
            }
            
            .footer-actions {
                grid-template-columns: 1fr;
            }
        }
        
        /* Responsive adjustments for admin sidebar */
        @media (max-width: 991.98px) {
            .admin-sidebar-modern {
                min-height: auto;
            }
            
            .offcanvas {
                max-width: 280px;
                width: 280px;
            }
        }
        
        @media (max-width: 576px) {
            .offcanvas {
                max-width: 100%;
                width: 100%;
            }
        }
    