/* ======================== CSS VARIABLES ======================== */
:root {
    --primary: #0d6efd;
    --sidebar-width: 250px;
    --body-bg: #f0f2f5;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ======================== BODY ======================== */
body {
    background: var(--body-bg);
}

/* ======================== SIDEBAR ======================== */
#sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

#sidebar .nav-link {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
}

#sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

#sidebar .nav-link.active {
    background-color: var(--primary);
}

/* ======================== KPI CARDS ======================== */
.kpi-card {
    border-left: 4px solid var(--primary);
    box-shadow: var(--card-shadow);
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
}

/* ======================== APT PILL NAV ======================== */
.apt-pills {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.apt-pills::-webkit-scrollbar {
    display: none;
}

.apt-pills .nav-item {
    white-space: nowrap;
}

/* ======================== BANNER ======================== */
.banner-img-small {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--card-shadow);
}

/* ======================== CHARTS ======================== */
canvas {
    max-width: 100%;
}

/* ======================== MAP ======================== */
#map {
    height: 400px;
    width: 100%;
}

/* ======================== MISC ======================== */
.to_minimize.hide {
    display: none;
}

.hide {
    display: none;
}

.italic {
    font-style: italic;
}
