/* Stat Card Styling - Consistent across all pages */
.stat-card {
    max-height: 140px !important;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .card-body {
    padding: 0.75rem !important;
}

/* Stat Card Backgrounds with proper colors */
.stat-card.card-muted-primary {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.85), rgba(13, 110, 253, 0.65)) !important;
    border: 1px solid rgba(13, 110, 253, 0.9) !important;
}

.stat-card.card-muted-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.85), rgba(25, 135, 84, 0.65)) !important;
    border: 1px solid rgba(25, 135, 84, 0.9) !important;
}

.stat-card.card-muted-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.85), rgba(13, 202, 240, 0.65)) !important;
    border: 1px solid rgba(13, 202, 240, 0.9) !important;
}

.stat-card.card-muted-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.85), rgba(255, 193, 7, 0.65)) !important;
    border: 1px solid rgba(255, 193, 7, 0.9) !important;
}

.stat-card.card-muted-secondary {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.85), rgba(108, 117, 125, 0.65)) !important;
    border: 1px solid rgba(108, 117, 125, 0.9) !important;
}

/* Stat Card Text Styling */
.stat-card .stat-value {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-size: 1.75rem !important;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-size: 0.9rem !important;
}

.stat-card .stat-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Icon styling */
.stat-card .stat-icon-bg {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.stat-card .stat-icon {
    font-size: 1.5rem !important;
    opacity: 0.9;
}

/* Special text colors for light background cards (info, warning) */
.stat-card.card-muted-info .stat-value,
.stat-card.card-muted-warning .stat-value {
    color: #000000 !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.stat-card.card-muted-info .stat-label,
.stat-card.card-muted-warning .stat-label {
    color: rgba(0, 0, 0, 0.8) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
}

.stat-card.card-muted-info .stat-icon,
.stat-card.card-muted-warning .stat-icon {
    color: #000000 !important;
}
