/* Grund-Setup & Schrift */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-body: #f0f2f5;
    --sidebar-dark: #0f172a;
    --accent-blue: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --prio-kritisch: #ef4444;
    --prio-hoch: #f59e0b;
    --prio-mittel: #3b82f6;
    --prio-niedrig: #94a3b8;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    letter-spacing: -0.01em;
}

/* Futuristische Sidebar */
.sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.sidebar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 30px 25px;
}

.nav-link {
    font-size: 0.9rem;
    margin: 4px 15px;
    border-radius: 8px;
    border-left: none !important; /* Entferne den alten Border */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav-link.active {
    background: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: white !important;
}

/* Stat-Cards (Dashboard oben) */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

/* Fortschrittsbalken-Design */
.progress {
    background-color: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 50px;
}

/* Badges für Prioritäten */
.badge {
    padding: 0.5em 0.8em;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.prio-kritisch { background: var(--prio-kritisch) !important; box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
.prio-hoch { background: var(--prio-hoch) !important; }
.prio-mittel { background: var(--prio-mittel) !important; }
.prio-niedrig { background: var(--prio-niedrig) !important; }

/* Buttons & Inputs */
.btn-primary {
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px;
}