﻿.text-danger {
    font-weight: 600;
}

.premium-table tbody tr:hover {
    background-color: #f5f7fa;
}

.stat-card.new {
    
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-card.reviewed {
    background: #0d6efd; /* blue */
}

.stat-card.action {
    background: #198754; /* green */
}

.stat-card.active {
    outline: 3px solid white;
    transform: scale(1.05);
}

.stat-card {
    margin-bottom: 12px;
}

/*.row {
    display: flex;
}*/

/*.col-6 {
    display: flex;
    flex-direction: column;
}*/

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .stat-card.new {
        background: #6c757d;
        color: white;
    }

    .stat-card.reviewed {
        background: #0d6efd;
        color: white;
    }

    .stat-card.action {
        background: #198754;
        color: white;
    }

.col-6 .stat-card {
    margin-bottom: 12px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.stat-card {
    padding: 16px;
    border-radius: 12px;
    color: white;
    text-align: left;
    font-weight: 500;
}

    /* Existing colors (keep yours if already there) */
    .stat-card.high {
        background: #ef4444;
    }

    .stat-card.medium {
        background: #f59e0b;
    }

    .stat-card.low {
        background: #22c55e;
    }

    .stat-card.new {
        background: #6b7280;
    }

    .stat-card.reviewed {
        background: #2563eb;
    }

    .stat-card.action {
        background: #15803d;
    }

.stat-value {
    font-size: 22px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

@media (max-width: 992px) {
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.top-risk-scroll {
    padding-top: 10px;
    max-height: 350px;
    overflow-y: auto;
}

    .top-risk-scroll h5 {
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
    }

.equal-card {
    height: 300px;
    overflow: hidden;
}

.premium-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: visible; /* VERY IMPORTANT */
}

.row {
    align-items: flex-start !important;
}

.table-responsive {
    display: block;
}

.page-content {
    height: auto !important;
    overflow-y: visible !important;
}

.main-content,
.content-area {
    overflow-y: auto;
    height: 100%;
}

.chart-panel,
.chart-card {
    padding: 16px;
    border-radius: 12px;
    background: white;
}

.top-risk-scroll {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.chart-header .icon {
    margin-right: 6px;
    font-size: 16px;
}
