/* Dashboard Widget Styles */
.dashboard-widget.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.dashboard-widget.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.dashboard-widget .widget-value {
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Recent Activity Styles */
.recent-activity .avatar {
    transition: all 0.2s ease;
}

.recent-activity .activity-item:hover .avatar {
    transform: scale(1.1);
}

/* Statistics Overview Hover Effects */
.statistics-overview .stat-card {
    transition: all 0.3s ease;
}

.statistics-overview .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-widget {
        margin-bottom: 1rem;
    }
    
    .dashboard-widget .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}