:root {
    --bg-color: #0b0f19;
    --sidebar-bg: rgba(20, 25, 40, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: float 15s infinite alternate;
}

.blob-1 {
    width: 500px; height: 500px;
    background: var(--accent-purple);
    top: -100px; left: 200px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--accent-blue);
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}

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

.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
}

.nav-links { list-style: none; flex: 1; }
.nav-links li { margin-bottom: 1rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}
.icon { margin-right: 1rem; }
.back-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.3s;
}
.back-link:hover { color: #fff; }

.dashboard {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
    z-index: 1;
}

.dashboard header { margin-bottom: 3rem; }
.dashboard h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.dashboard p { color: var(--text-secondary); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); }
.stat-card h3 { color: var(--text-secondary); font-size: 1rem; margin-bottom: 1rem; }
.stat-card .number { font-size: 3rem; font-weight: 800; }
.positive { color: #34d399; }

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: linear-gradient(to right, #60a5fa, #c084fc);
    transition: width 1s ease-in-out;
}

.recent-modules h2 { margin-bottom: 1.5rem; }
.module-list { display: flex; flex-direction: column; gap: 1rem; }
.module-item {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.module-icon { font-size: 2.5rem; margin-right: 1.5rem; }
.module-item div { flex: 1; }
.module-item h4 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.module-item p { color: var(--text-secondary); font-size: 0.9rem; }

.btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: opacity 0.3s;
}
.btn:hover { opacity: 0.9; }
