

.kpi-card.highlight {
    background: #d1e7dd;
}
.kpi-card {
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;
    font-weight: bold;
}

/* Colors */
.sales { background: #0d6efd; }
.returns { background: #6c757d; }
.revenue { background: #0dcaf0; }

.cogs { background: #dc3545; }     /* 🔴 */
.profit { background: #198754; }   /* 🟢 */
.margin { background: #ffc107; }   /* 🟡 */


.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.chart-header button {
    border: none;
    background: #f1f1f1;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
}

.chart-header button:hover {
    background: #ddd;
}

/* Fullscreen mode */
.chart-fullscreen {
    position: fixed !important;
    top: 20px;
    left: 20px;
    width: 95vw !important;
    height: 90vh !important;
    z-index: 9999;
    background: white;
    padding: 20px;
}

.chart-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-4px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.chart-header button {
    border: none;
    background: #f1f3f5;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    transition: 0.2s;
}

.chart-header button:hover {
    background: #dee2e6;
}

/* Small cards */
.small-card {
    height: 100%;
}

/* Fullscreen */
.chart-fullscreen {
    position: fixed !important;
    top: 20px;
    left: 20px;
    width: 95vw !important;
    height: 90vh !important;
    z-index: 9999;
    background: white;
    padding: 20px;
}