@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #4facfe;
    --secondary: #00f2fe;
    --dark: #1a1c23;
    --dark-lighter: #2d313d;
    --white: #ffffff;
    --gray-bg: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* { box-sizing: border-box; }

body { 
    font-family: 'Outfit', sans-serif; 
    background: var(--gray-bg); 
    margin: 0; 
    color: #1e293b;
    display: flex;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    height: 100vh;
    background: var(--dark);
    color: var(--white);
    position: fixed;
    padding: 30px 20px;
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.sidebar h2 {
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 1px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    background: var(--dark-lighter);
    color: var(--white);
}

.nav-link.active {
    border-left: 4px solid var(--primary);
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.welcome-text h1 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
}

.welcome-text p {
    color: var(--text-muted);
    margin: 0;
}

/* Dashboard Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.stat-card .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.progress-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-top: 15px;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* Tables & Lists */
.table-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
