/* ==========================================================================
   UHS INTERACTIVE CHART STYLES
   ========================================================================== */

/* The main arena wrapper */
.uhs-compare-arena {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #5a1222;
    border-radius: 15px;
    animation: fadeIn 0.5s ease-in;
}

/* Header Cards (Summary Stats) */
.uhs-compare-header-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
}

.uhs-player-card {
    flex: 1;
    background: #5a1222;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 4px solid #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.uhs-player-card.winner-glow {
    box-shadow: 0 0 20px #5a1222;
    border-color: #ffffff;
}

.uhs-card-name { 
    font-size: 1.4rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}

.uhs-vs-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    color: #5a1222;
    background: #e3e4e4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #5a1222;
    align-self: center;
    z-index: 2;
    flex-shrink: 0;
}

/* CHART CONTAINER - CRITICAL FOR RENDERING */
.uhs-chart-container {
    display: block !important;
    width: 100% !important;
    min-height: 400px !important;
    position: relative !important;
    background: #fff;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.uhs-apexchart {
    display: block !important;
    width: 100% !important;
    height: 400px !important;
}

/* Animation */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .uhs-compare-header-cards { flex-direction: column; }
    .uhs-vs-circle { margin: -25px auto; }
}