/* Statistics Modal Styles - Positioning handled in styles.css */

#statistics-modal > div {
    background: linear-gradient(135deg, #1a1a28 0%, #0f0f18 100%) !important;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 0 50px rgba(139, 92, 246, 0.3),
        0 25px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stats-period-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stats-tab {
    padding: 0.5rem 1.25rem;
    background: rgba(55, 65, 81, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.5rem;
    color: #9ca3af;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.stats-tab:hover::before {
    left: 100%;
}

.stats-tab:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(75, 85, 99, 0.6);
    color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.stats-tab.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-color: #8b5cf6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 20px rgba(139, 92, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.stat-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
}

.stat-value.positive {
    color: #10b981;
}

.stat-value.negative {
    color: #ef4444;
}

.stat-value.neutral {
    color: #60a5fa;
}

.performer-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.performer-card.best {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
}

.performer-card.worst {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
}

.performer-card h4 {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.performer-symbol {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.performer-mint {
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.performer-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.stats-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #9ca3af;
}

.stats-loading-spinner {
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.stats-empty {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.125rem;
}

