/* ========================================
   STYLE.CSS - Zentrale Styles
   ======================================== */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Body Styles */
body {
    font-family: 'Segoe UI', Poppins, sans-serif !important;
}


/* Einheitliche Sidebar-Styles */
.sidebar {
    /* background: #ffffff; */
    min-height: 100vh;
    box-shadow: 2px 0 10px rgb(24 53 80 / 64%);
    background: linear-gradient(316deg, var(--sidebar-gradient-start, #08344c) -30%, var(--sidebar-gradient-end, #0056b3) 50%);
    position: fixed;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    margin: 2px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-left: 4px solid #ffc107;
    font-weight: bold;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.menu-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.sidebar .nav-link.active .menu-badge {
    background: #ffc107;
    color: #333;
}

.user-info {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .sidebar.show {
        left: 0;
    }
}

.stats-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
    transition: transform 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.stats-card.warning {
    border-left-color: #ffc107;
}

.stats-card.success {
    border-left-color: #28a745;
}

.stats-card.info {
    border-left-color: #17a2b8;
}

.stats-card h3 {
    color: #2c3e50;
    font-weight: bold;
}

.stats-card p {
    color: #6c757d;
    font-size: 14px;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
