/**
 * Echo Trainer Analytics - Professional Styling
 */

.stat-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1.2;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.chart-container {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-height: 300px;
}

.mode-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-transform: capitalize;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.session-row {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s;
}

.session-row:hover {
    background: linear-gradient(135deg, #252f3f 0%, #1a202e 100%);
    border-color: #4b5563;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .stat-value {
        font-size: 2rem;
    }
    
    .session-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .session-row > div {
        justify-content: center;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 2s infinite;
}