/* =====================================================
   STATISTICS STYLES
   ===================================================== */

.stats {
    margin-top: 20px;
}

/* Statistics Header */
.statistics-header {
    margin-bottom: 50px;
    text-align: center;
}

.statistics-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.statistics-title i {
    color: #149199;
}

.statistics-badge {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.statistics-badge i {
    color: #149199;
}

/* Statistics Cards Grid */
.statistics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Individual Stat Card */
.stat-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Color-coded left borders */

.stat-card-primary {
    border-left: 4px solid #1a75cc;
}

.stat-card-green {
    border-left: 4px solid #149199;
}

.stat-card-orange {
    border-left: 4px solid #ffc107;
}

.stat-card-red {
    border-left: 4px solid #b75b5b;
}

.stat-card-cyan {
    border-left: 4px solid #52d1da;
}

/* Stat Icons */
.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-card-green .stat-icon {
    background: rgba(20, 145, 153, 0.15);
    color: #149199;
}

.stat-card-primary .stat-icon {
    background: rgba(35, 102, 202, 0.15);
    color: #1a75cc;
}

.stat-card-orange .stat-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #d39e00;
}

.stat-card-red .stat-icon {
    background: rgba(183, 91, 91, 0.15);
    color: #b75b5b;
}

.stat-card-cyan .stat-icon {
    background: rgba(82, 209, 218, 0.15);
    color: #2ca0a8;
}

/* Stat Content */
.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-title {
    font-size: 0.9rem;
    color: #353434;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.stat-unit {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: 3px;
}

/* Responsive Design */
@media screen and (min-width: 1200px) {
    .statistics-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 767px) {
    .statistics-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 16px;
        gap: 12px;
    }

    .statistics-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 8px;
    }

    .statistics-badge {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .stat-title {
        /*font-size: 0.85rem;*/
    }
}