﻿/* Dashboard styles */
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dashboard-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #2b5876;
    margin-bottom: 0.5rem;
}

.dashboard-desc {
    color: #4e4376;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.kpi-dashboard {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.kpi-card {
    background: linear-gradient(135deg, #fff 70%, #f4f6fb 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.10), 0 1.5px 4px rgba(44, 62, 80, 0.07);
    border: 1px solid #e0e6ef;
    padding: 1.5rem 2rem;
    flex: 1 1 180px;
    min-width: 180px;
    text-align: center;
    transition: box-shadow 0.2s;
    position: relative;
}

    .kpi-card .kpi-icon {
        font-size: 2rem;
        color: #4e4376;
        margin-bottom: 0.5rem;
        display: block;
    }

    .kpi-card:hover {
        box-shadow: 0 8px 24px rgba(44, 62, 80, 0.16), 0 2px 8px rgba(44, 62, 80, 0.10);
    }

.kpi-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2b5876;
    margin-bottom: 0.5rem;
}

.kpi-label {
    font-size: 1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dashboard-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.10), 0 1.5px 4px rgba(44, 62, 80, 0.07);
    border: 1px solid #e0e6ef;
    padding: 1.5rem;
    flex: 1 1 320px;
    min-width: 320px;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b5876;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border: 1px solid #e0e6ef !important;
}

th {
    background: #f4f6fb;
    color: #2b5876;
    font-weight: 600;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

tr:nth-child(odd) {
    background: #fff;
}

.dashboard-charts {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.dashboard-section canvas {
    margin-top: 0.5rem;
    max-width: 100%;
    height: 180px;
}

h1, h2, h3, h5 {
    color: #2b5876;
    font-family: 'Segoe UI', Arial, sans-serif;
}

@media (max-width: 900px) {
    .dashboard-row, .dashboard-charts {
        flex-direction: column;
        gap: 1rem;
    }

    .kpi-dashboard {
        flex-direction: column;
        gap: 1rem;
    }
}