/* Enhanced Wallet Analyzer Styles */

.results-header {
    margin-bottom: 2rem;
}

.filters-panel {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-top: 1rem;
}

.filters-panel label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.filters-panel input[type="range"] {
    width: 150px;
}

.filters-panel select {
    padding: 0.4rem 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: white;
}

.wallet-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.wallet-rank {
    font-weight: bold;
    color: rgba(255,255,255,0.5);
    min-width: 40px;
}

.wallet-address {
    color: #60a5fa;
    text-decoration: none;
    font-family: monospace;
    transition: color 0.2s;
}

.wallet-address:hover {
    color: #93c5fd;
}

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

.metric-card {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.metric-card.primary {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(37,99,235,0.2));
    border: 1px solid rgba(59,130,246,0.3);
}

.metric-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.metric-value span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* Score Classes */
.score-elite {
    color: #10b981 !important;
    text-shadow: 0 0 10px rgba(16,185,129,0.5);
}

.score-good {
    color: #60a5fa !important;
}

.score-avg {
    color: #fbbf24 !important;
}

.score-poor {
    color: #ef4444 !important;
}

/* Risk Classes */
.risk-low {
    color: #10b981 !important;
}

.risk-medium {
    color: #fbbf24 !important;
}

.risk-high {
    color: #ef4444 !important;
    font-weight: bold;
}

/* Wallet Stats */
.wallet-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.stat-row span:first-child {
    color: rgba(255,255,255,0.6);
}

.stat-row span:last-child {
    color: white;
    font-weight: 500;
}

.positive {
    color: #10b981 !important;
}

.negative {
    color: #ef4444 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-panel {
        flex-direction: column;
        gap: 1rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wallet-stats {
        grid-template-columns: 1fr;
    }
}
