/* Enhanced Player Profile Styles */

/* Chart Tab Navigation */
.chart-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.chart-tab-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
}

.chart-tab-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
    color: #333;
}

.chart-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.chart-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.chart-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Level Display */
.profile-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.profile-level-badge .level-icon {
    font-size: 20px;
}

.profile-level-progress {
    margin-top: 15px;
}

.level-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
    border-radius: 10px;
}

.level-progress-text {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* Title Display */
.profile-titles {
    margin-top: 20px;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin: 4px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

.title-badge.the_dominator {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.title-badge.sharpshooter {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.title-badge.iron_will {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

/* Chart Containers */
.profile-chart-container {
    height: 300px;
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-chart-container .loading {
    text-align: center;
    color: #667eea;
    font-size: 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (prefers-color-scheme: dark) {
    .profile-chart-container {
        background: rgba(255, 255, 255, 0.05);
    }
}

.dark-mode .comparison-grid span {
    color: white;
}

/* Player Comparison */
.player-comparison {
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comparison-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.comparison-controls select {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comparison-controls select:hover {
    border-color: #667eea;
}

.comparison-controls select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#compare-player-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#compare-player-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

#compare-player-btn:active {
    transform: translateY(0);
}

#comparison-results .loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 15px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.comparison-player {
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
}

.comparison-player h4 {
    margin: 0 0 20px 0;
    font-size: 20px;
    text-align: center;
}

.comparison-player .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-player .stat-row:last-child {
    border-bottom: none;
}

.comparison-player .stat-row.highlight {
    background: #fff3cd;
    margin: 0 -10px;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

.comparison-player.player-2 .stat-row {
    flex-direction: row-reverse;
}

.comparison-vs {
    text-align: center;
    padding: 30px;
}

.vs-text {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.h2h-total {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* Visibility Toggles */
.visibility-controls {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.visibility-controls h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
}

.visibility-toggle-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.visibility-toggle-row:last-child {
    border-bottom: none;
}

.visibility-toggle-row label {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.visibility-toggle {
    width: 50px;
    height: 26px;
    position: relative;
    display: inline-block;
}

.visibility-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    max-width: 50px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #667eea;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Trophy Case */
.trophy-case {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.trophy-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.trophy-item:hover {
    transform: rotateY(10deg) rotateX(-5deg) scale(1.05);
}

.trophy-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    animation: trophy-float 3s ease-in-out infinite;
}

.dark-mode p.visibility-description {
    color: white;
}

body label.period-toggle-label {
    color: black!important;
}

@keyframes trophy-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.trophy-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.trophy-date {
    font-size: 12px;
    color: #666;
}

/* Achievement Progress Bars */
.achievement-progress {
    margin: 30px 0;
}

.achievement-progress-item {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.achievement-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.achievement-progress-icon {
    font-size: 24px;
}

.achievement-progress-name {
    flex: 1;
    margin: 0 15px;
    font-weight: 600;
}

.achievement-progress-percentage {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

.achievement-progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.achievement-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
    border-radius: 10px;
    position: relative;
}

.achievement-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.achievement-progress-text {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Historical Performance */
.historical-performance-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.period-toggle {
    display: none;
}

.period-toggle-label {
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-toggle:checked + .period-toggle-label {
    background: #667eea;
    color: white!important;
}

@media (max-width: 768px) {
    .comparison-controls {
        flex-direction: column;
    }

        .pool-tracker-profile {
        padding: 15px 0px!important;
    }

    .pool-tracker-profile-login {
    padding: 40px 0!important;
}

    .profile-chart-container {
    max-width: 270px;
    }
    
    #compare-player-btn {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    .comparison-controls select {
        background: #2a2a2a;
        color: white;
        border-color: #444;
    }
    
    .comparison-controls select:hover,
    .comparison-controls select:focus {
        border-color: #667eea;
    }
}

/* Share Card */
.profile-share-card {
    width: 600px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin: 20px 0;
}

.share-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.share-card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid white;
    overflow: hidden;
}

.share-card-name {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.share-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.share-card-stat {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.share-card-stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.share-card-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Charts Grid - Stack on mobile */
    .charts-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Chart Containers - Better mobile height */
    .profile-chart-container {
        height: 250px !important;
        min-height: 250px;
    }
    
    /* Historical Performance Controls */
    .historical-performance-controls {
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .period-toggle-label {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    /* Chart Titles */
    .profile-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    /* Comparison Grid - Stack vertically */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .comparison-vs {
        order: -1;
        padding: 15px;
        margin: 0;
    }
    
    .vs-text {
        font-size: 32px;
    }
    
    .h2h-total {
        font-size: 13px;
    }
    
    /* Comparison Controls */
    .comparison-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    #compare-player-select {
        width: 100%;
    }
    
    #compare-player-btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    /* Comparison Player Cards */
    .comparison-player {
        padding: 15px;
    }
    
    .comparison-player h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .comparison-player .stat-row {
        padding: 8px 0;
        font-size: 14px;
    }
    
    /* Player Comparison Container */
    .player-comparison {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    /* Trophy Case - Better mobile grid */
    .trophy-case {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .trophy-item {
        padding: 12px 8px;
    }
    
    .trophy-icon {
        font-size: 32px;
    }
    
    .trophy-name {
        font-size: 12px;
        margin-top: 6px;
    }
    
    .trophy-date {
        font-size: 10px;
    }
    
    /* Level & Titles */
    .profile-level-badge {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .level-icon {
        font-size: 24px;
    }
    
    .profile-titles {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .title-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .title-icon {
        font-size: 16px;
    }
    
    /* Level Progress */
    .level-progress-text {
        font-size: 13px;
        margin-top: 8px;
    }
    
    /* Achievement Progress */
    .achievement-progress-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .achievement-progress-icon {
        font-size: 20px;
    }
    
    .achievement-progress-name {
        font-size: 14px;
    }
    
    .achievement-progress-percentage {
        font-size: 13px;
    }
    
    .achievement-progress-text {
        font-size: 12px;
        margin-top: 6px;
    }
    
    /* Section Headings */
    .profile-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .profile-section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    /* Share Card */
    .profile-share-card {
        width: 100%;
        padding: 20px;
    }
    
    .share-card-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .player-comparison,
    .visibility-controls,
    .achievement-progress-item {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .comparison-player {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .comparison-player .stat-row {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .level-progress-bar {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .achievement-progress-bar {
        background: rgba(255, 255, 255, 0.1);
    }
}
/* Darts Statistics Section */
.darts-stats-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
}

.darts-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.darts-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.darts-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.darts-stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.darts-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.darts-stat-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.darts-favorite-numbers {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

.darts-favorite-numbers h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.favorite-numbers-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.favorite-number-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.profile-level-badge span {
    color: white!important;
}

.number-badge-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white!important;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.number-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Dark Mode for Darts Stats */
@media (prefers-color-scheme: dark) {
    .darts-stats-section {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    }
    
    .darts-stat-card {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .darts-stat-value {
        color: #8b9eea;
    }
    
    .darts-stat-label {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .darts-favorite-numbers h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .favorite-number-item {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .number-count {
        color: rgba(255, 255, 255, 0.7);
    }
}
/* New Chart Styles */
.chart-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.profile-chart-container {
    min-height: 300px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile-chart-container canvas {
    max-height: 400px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
}

.loading:before {
    content: " ";
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* Streak Stats Boxes */
.streak-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.streak-stat-box {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s ease;
}

.streak-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.streak-stat-label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.streak-stat-value {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

/* H2H Controls */
.h2h-controls {
    margin-bottom: 20px;
}

.h2h-controls label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.h2h-controls select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.h2h-controls select:focus {
    outline: none;
    border-color: #667eea;
}

#h2h-timeline-container h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

/* Radar Chart Specific */
.radar-chart-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.radar-chart-main {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#radar-chart {
    max-width: 550px;
    height: 400px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.radar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.legend-dot.player {
    background: #667eea;
}

.legend-dot.league {
    background: #9e9e9e;
}

.radar-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.radar-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.radar-metric:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.radar-metric .metric-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.radar-metric .metric-info {
    flex: 1;
}

.radar-metric .metric-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.radar-metric .metric-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-tabs {
        gap: 5px;
    }
    
    .chart-tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .streak-stats {
        grid-template-columns: 1fr;
    }
    
    .profile-chart-container {
        padding: 10px;
    }
    
    .streak-stat-value {
        font-size: 28px;
    }
    
    .radar-chart-main {
        padding: 30px 15px;
    }
    
    #radar-chart {
        max-width: 100%;
        height: 350px;
    }
    
    .radar-legend {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .radar-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .radar-metric {
        padding: 14px;
    }
    
    .radar-metric .metric-icon {
        font-size: 24px;
    }
}

/* Dark mode for new charts */
@media (prefers-color-scheme: dark) {
    .chart-tabs {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .chart-tab-btn {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .chart-tab-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .chart-tab-btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-color: #667eea;
        color: white;
    }
    
    .chart-description {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .profile-chart-container {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .loading {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .h2h-controls label {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .h2h-controls select {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    
    #h2h-timeline-container h4 {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .radar-chart-main {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .legend-item {
        color: rgba(255, 255, 255, 0.85);
    }
    
    .legend-dot {
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .radar-metric {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .radar-metric:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: #667eea;
    }
    
    .radar-metric .metric-name {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .radar-metric .metric-desc {
        color: rgba(255, 255, 255, 0.5);
    }
}
