/* Enhanced Dashboard Styles */

/* Stat Cards */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.bg-primary {
    background: #00d9ff;
}

.stat-icon.bg-success {
    background: #10b981;
}

.stat-icon.bg-warning {
    background: #d29922;
}

.stat-icon.bg-danger {
    background: #f85149;
}

.stat-icon.bg-info {
    background: #00d9ff;
}

.stat-icon.bg-gradient-primary {
    background: #00d9ff;
}

.stat-icon.bg-gradient-success {
    background: #10b981;
}

.stat-icon.bg-gradient-warning {
    background: #d29922;
}

.stat-icon.bg-gradient-info {
    background: #00d9ff;
}

.stat-icon.bg-purple {
    background: #a855f7;
}

.stat-icon.bg-cyan {
    background: #06b6d4;
}

.stat-icon.bg-teal {
    background: #14b8a6;
}

.stat-icon.bg-indigo {
    background: #6366f1;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

.stat-content small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* Chart Container */
.card-body canvas {
    max-height: 400px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

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

/* Card Enhancements */
.card.shadow-sm {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.card-title {
    color: var(--text);
    font-weight: 600;
}

/* Animation */
.stat-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
