body {
    font-size: 14px;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    min-width: 250px;
    transition: all 0.3s ease;
}
.sidebar .nav-link {
    margin-bottom: 4px;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.sidebar .text-uppercase {
    letter-spacing: 0.05em;
}
.sidebar.collapsed {
    width: 78px;
    min-width: 78px;
}

.sidebar.collapsed .menu-link span,
.sidebar.collapsed .sidebar-header small,
.sidebar.collapsed .sidebar-header h4 {
    display: none;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dbe4ff;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
}

.menu-link:hover,
.menu-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.kpi-card {
    border-radius: 16px;
}

.kpi-label {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.kpi-icon {
    font-size: 28px;
}

.alert-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.alert-item:last-child {
    border-bottom: none;
}

.status-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-workshop {
    background: #fef3c7;
    color: #92400e;
}

.status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.status-warning {
    background: #fff7ed;
    color: #9a3412;
}

.status-ok {
    background: #dbeafe;
    color: #1d4ed8;
}
.card {
    border-radius: 10px;
}

.nav-tabs .nav-link.active {
    font-weight: 600;
}

.badge {
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        bottom: 0;
        z-index: 1100;
    }

    .sidebar.mobile-open {
        left: 0;
    }
}
