.player-comparison-dashboard {
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
    color: #ffffff;
    background-color: #1a1a1a;
    width: 100%;
    overflow-x: hidden;
}

/* Hide extra header to match Single view look */
.player-comparison-header { display: none; }

.player-comparison-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.player-comparison-header p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Layout for two independent NCAA instances */
.comparison-container {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: none; /* allow full viewport width like NCAA */
    margin: 0 auto;
    padding: 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-side {
    flex: 0 0 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: visible; /* let iframe manage its own scroll area */
    display: block;
    min-width: 0;
    margin: 8px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparison-side .side-header { 
    display: block; 
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    margin: -8px -8px 8px -8px;
    border-radius: 6px 6px 0 0;
    text-align: center;
}

.comparison-side .side-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.ncaa-side-iframe { 
    width: 100%; 
    height: 240vh; 
    border: 0; 
    background: rgba(255, 255, 255, 0.02); 
    display: block; 
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    /* Zoom is handled by the embed file inside the iframe */
}

@media (max-width: 1100px) {
    .comparison-container {
        flex-direction: column;
    }
    .ncaa-side-iframe {
        height: 78vh;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .player-comparison-header h1 {
        font-size: 2.5rem;
    }
    
    .player-comparison-header p {
        font-size: 1.1rem;
    }
}