﻿
.dashboard {
    padding: 20px;
}

/* KPI Cards */
.kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .2s;
}

    .kpi-card:hover {
        transform: translateY(-4px);
    }

    .kpi-card .icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #fff;
    }

    .kpi-card h6 {
        margin: 0;
        font-size: .85rem;
        color: #6c757d;
    }

    .kpi-card h3 {
        margin: 0;
        font-weight: 700;
    }

    .kpi-card span {
        font-size: .75rem;
        color: #adb5bd;
    }

/* Color Themes */
.inventory .icon {
    background: #0d6efd;
}

.warning .icon {
    background: #dc3545;
}

.hr .icon {
    background: #198754;
}

.logistics .icon {
    background: #fd7e14;
}

/* Panels */
.panel {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.panel-header {
    margin-bottom: 12px;
}

    .panel-header h5 {
        font-weight: 600;
        display: flex;
        gap: 6px;
        align-items: center;
    }

/* Clean List */
.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .list-clean li {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px dashed #dee2e6;
    }

        .list-clean li:last-child {
            border-bottom: none;
        }
.panel canvas {
    margin-top: 10px;
}
.issue-list li {
    padding: 6px 0;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.progress-height {
    height: 14px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}
.progress-bar {
    animation: grow 1s ease-in-out;
}

@keyframes grow {
    from {
        width: 0;
    }
}

.top-item-list .list-group-item {
    padding: 10px 0;
}

.rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-title {
    font-size: 14px;
    font-weight: 500;
}

.mini-branch-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    height: 70px;
}

    .mini-branch-card small {
        font-size: 12px;
    }

.mini-amount {
    font-size: 14px;
}

.mini-badge {
    font-size: 10px;
    padding: 2px 6px;
}

