/* ... Previous styles ... */
/* Append to the end of the file */

/* Dashboard Stats */
.stats-dashboard {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    flex: 1;
    min-width: 140px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 3px solid transparent;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-card.active {
    border-color: var(--primary);
    background: #EFF6FF;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-head);
    line-height: 1.1;
}

/* Card Themes */
.stat-card.blue .stat-number {
    color: #0EA5E9;
}

.stat-card.blue.active {
    background: #E0F2FE;
}

.stat-card.white .stat-number {
    color: #334155;
}

.stat-card.red .stat-number {
    color: #EF4444;
}

.stat-card.red.active {
    background: #FEF2F2;
    border-color: #EF4444;
}

.stat-card.green .stat-number {
    color: #22C55E;
}

.stat-card.green.active {
    background: #F0FDF4;
    border-color: #22C55E;
}


/* Filter Bar */
.filter-bar {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group select,
.filter-group input {
    padding: 0.7rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 0.95rem;
    min-width: 200px;
}

.search-group {
    flex: 1;
    display: flex;
    gap: 0.5rem;
}

#search-filter {
    width: 100%;
}

.btn-refresh {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s, transform 0.2s;
}

.btn-refresh:hover {
    background: #E2E8F0;
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .stats-dashboard {
        gap: 1rem;
    }

    .stat-card {
        min-width: 45%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-group {
        width: 100%;
    }
}