﻿.kpi-dashboard {
    padding: 24px;
}

.kpi-section {
    margin-bottom: 40px;
}

    .kpi-section h3 {
        font-weight: 600;
        margin-bottom: 16px;
        color: #2b2b2b;
    }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.kpi-card {
    background: linear-gradient(145deg, #ffffff, #f2f4f8);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    .kpi-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.kpi-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.kpi-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0d6efd;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
}

.kpi-card.currency .kpi-value {
    color: #0d6efd;
}

.collapsible {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.collapsible-header {
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.kpi-table {
    width: 100%;
    border-collapse: collapse;
}

    .kpi-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #eef1f5;
    }

    .kpi-table tr:hover {
        background-color: #f1f5ff;
        cursor: pointer;
    }

.btn-icon {
    background-image: url("../images/expand.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
}

.revert-icon {
    transform: rotate(180deg);
}

