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

        :root {
            /* Admin Theme - Purple/Gold accents to distinguish from user dashboard */
            --primary: #8b5cf6;
            --primary-dark: #7c3aed;
            --secondary: #f3e8ff;
            --accent: #fbbf24;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --info: #3b82f6;
            --dark: #0a0a0a;
            --dark-light: #1a1a1a;
            --dark-medium: #2a2a2a;
            --gray: #666666;
            --gray-light: #888888;
            --gray-dark: #333333;
            --white: #ffffff;
            --text-primary: #ffffff;
            --text-secondary: #cccccc;
            --text-light: #cccccc;
            --border: rgba(255, 255, 255, 0.1);
            --glow: 0 0 20px rgba(139, 92, 246, 0.3);
            --glow-gold: 0 0 20px rgba(251, 191, 36, 0.3);
            --glow-purple: 0 0 20px rgba(139, 92, 246, 0.3);
            
            /* Legacy variables for compatibility */
            --bg-primary: var(--dark);
            --bg-secondary: var(--dark-light);
            --bg-accent: var(--dark-medium);
            --light: var(--text-light);
        }

        body {
            font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--dark);
            color: var(--text-light);
            min-height: 100vh;
            overflow-x: hidden;
            font-weight: 400;
        }

        .dashboard-container {
            display: grid;
            grid-template-columns: 350px 1fr;
            min-height: 100vh;
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        /* Sidebar */
        .sidebar {
            background: var(--dark-light);
            border-right: 1px solid var(--border);
            padding: 2rem 2rem;
            position: fixed;
            height: 100vh;
            width: 350px;
            z-index: 100;
            overflow-y: auto;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(16px);
        }

        .sidebar-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
/* admin.css - Sayfa baslangicinda içerigi gizle */
.admin-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-content.loaded {
    opacity: 1;
    visibility: visible;
}

/* Loading spinner stilleri */
.admin-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
        .sidebar-header h2 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
            font-weight: bold;
        }

        .sidebar-subtitle {
            color: var(--gray-light);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .admin-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--accent), #f59e0b);
            color: var(--dark);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 1rem;
            box-shadow: var(--glow-gold);
            animation: adminPulse 2s infinite;
        }

        @keyframes adminPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .sidebar-nav {
            list-style: none;
        }

        .sidebar-nav li {
            margin-bottom: 0.5rem;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            padding: 1.2rem 1.5rem;
            color: var(--gray-light);
            text-decoration: none;
            border-radius: 15px;
            transition: all 0.3s ease;
            position: relative;
            font-size: 1.1rem;
        }

        .sidebar-nav a:hover,
        .sidebar-nav a.active {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            transform: translateX(5px);
        }

        .sidebar-nav i {
            margin-right: 1rem;
            font-size: 1.3rem;
            width: 25px;
        }

        .badge {
            position: absolute;
            right: 10px;
            background: var(--danger);
            color: white;
            font-size: 0.75rem;
            padding: 2px 6px;
            border-radius: 50px;
            min-width: 18px;
            text-align: center;
        }

        /* Main Content */
        .main-content {
            margin-left: 350px;
            padding: 2rem 4rem;
            background: var(--dark);
            min-height: 100vh;
            width: calc(100vw - 350px);
        }

        .header {
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(16px);
            padding: 2rem 3rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
        }

        .header h1 {
            font-size: 2.5rem;
            color: var(--white);
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .header-subtitle {
            color: var(--gray-light);
            font-size: 1.1rem;
        }

        .admin-info {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .admin-avatar {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: var(--glow);
            border: 3px solid rgba(255, 255, 255, 0.1);
        }

        .admin-details h3 {
            color: var(--white);
            font-size: 1.3rem;
            margin-bottom: 0.25rem;
        }

        .admin-details small {
            color: var(--gray-light);
            font-size: 0.9rem;
        }

        .admin-indicator {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: var(--dark);
            padding: 0.4rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 0.5rem;
            box-shadow: var(--glow);
            animation: adminGlow 3s infinite;
        }

        @keyframes adminGlow {
            0%, 100% { box-shadow: var(--glow); }
            50% { box-shadow: var(--glow-gold); }
        }

        /* Dashboard Header */
        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 15px;
        }

        .dashboard-title h1 {
            font-size: 1.5rem;
            color: var(--text-primary);
            margin: 0;
        }

        .dashboard-title p {
            color: var(--text-secondary);
            margin: 0;
            font-size: 0.9rem;
        }

        .dashboard-actions {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        /* Compact Stats */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .stat-card {
            background: linear-gradient(145deg, var(--dark-light), var(--dark-medium));
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--glow);
        }

        .stat-icon-small {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .stat-content .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--white);
            margin-bottom: 0.25rem;
        }

        .stat-content .stat-label {
            font-size: 0.8rem;
            color: var(--gray-light);
            margin-bottom: 0.25rem;
        }

        .stat-content .stat-trend {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--success);
        }

        /* System Stats Section */
        .system-stats-section {
            margin-top: 2rem;
        }

        .system-stats-section h3 {
            color: white;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .system-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .system-card {
            background: linear-gradient(145deg, var(--dark-light), var(--dark-medium));
            backdrop-filter: blur(16px);
            border-radius: 16px;
            padding: 1.5rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .system-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--glow);
            border-color: var(--primary);
        }

        .system-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .system-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-size: 18px;
        }

        .system-icon.cpu {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .system-icon.ram {
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
        }

        .system-icon.disk {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
            color: white;
        }

        .system-icon.uptime {
            background: linear-gradient(135deg, #43e97b, #38f9d7);
            color: white;
        }

        .system-title {
            font-weight: 600;
            color: var(--white);
            font-size: 1.1rem;
        }

        .system-content {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .progress-ring-container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .progress-ring {
            position: relative;
        }

        .progress-ring-bg {
            fill: none;
            stroke: rgba(255, 255, 255, 0.1);
            stroke-width: 4;
        }

        .progress-ring-fill {
            fill: none;
            stroke-width: 4;
            stroke-linecap: round;
            transition: stroke-dasharray 0.5s ease;
            transform: rotate(-90deg);
            transform-origin: center;
        }

        .cpu-progress {
            stroke: url(#cpuGradient);
        }

        .ram-progress {
            stroke: url(#ramGradient);
        }

        .disk-progress {
            stroke: url(#diskGradient);
        }

        .progress-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        .progress-value {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--white);
        }

        .system-details {
            flex: 1;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .detail-label {
            color: var(--gray-light);
            font-size: 0.9rem;
        }

        .detail-value {
            color: var(--white);
            font-weight: 500;
            font-size: 0.9rem;
        }

        .uptime-display {
            text-align: center;
            margin-right: 1rem;
        }

        .uptime-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--white);
            margin-bottom: 4px;
        }

        .uptime-subtitle {
            color: var(--gray-light);
            font-size: 0.8rem;
        }

        /* Dashboard Grid */
        .dashboard-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        /* Dashboard Sections */
        .dashboard-section {
            background: linear-gradient(145deg, var(--dark-light), var(--dark-medium));
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1rem;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border);
        }

        .section-title {
            font-size: 1rem;
            margin: 0;
            color: var(--primary);
        }

        /* Activity List */
        .activity-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .activity-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: var(--dark-medium);
            border: 1px solid var(--border);
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .activity-item:hover {
            background: var(--dark-light);
            border-color: var(--primary);
        }

        .activity-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }

        .activity-icon.success {
            background: rgba(0, 184, 148, 0.2);
            color: var(--success);
        }

        .activity-icon.info {
            background: rgba(116, 185, 255, 0.2);
            color: var(--info);
        }

        .activity-icon.warning {
            background: rgba(253, 203, 110, 0.2);
            color: var(--warning);
        }

        .activity-title {
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--white);
        }

        .activity-time {
            font-size: 0.75rem;
            color: var(--gray-light);
        }

        /* Buttons */
        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
        }

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

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

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

        .btn-sm {
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
        }

        .btn-xs {
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            border-radius: 6px;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1002;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 12px;
            padding: 12px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .dashboard-container {
                grid-template-columns: 300px 1fr;
            }
            
            .sidebar {
                width: 300px;
            }
            
            .main-content {
                margin-left: 300px;
                padding: 2rem;
                width: calc(100vw - 300px);
            }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--dark-light);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--accent));
        }
        
        @media (max-width: 768px) {
            .dashboard-container {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                width: 280px;
                position: fixed;
                z-index: 1001;
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
                padding: 1rem;
                padding-top: 80px;
                width: 100vw;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
            
            .dashboard-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .dashboard-actions {
                justify-content: center;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .dashboard-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .header h1 {
                font-size: 2rem;
            }
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, var(--secondary), var(--accent));
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }

        .animate-in {
            animation: fadeInUp 0.6s ease-out;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        /* Loading States */
        .loading {
            position: relative;
            overflow: hidden;
        }

        .loading::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }
