/* Shootout-specific styles */
.main-shootout-content {
    flex-grow: 1;
    margin: 0 auto;
    padding: 1rem 1rem;
    max-width: 1200px;
    width: 100%;
}

.player-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.player-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.player-team {
    font-size: 1.25rem;
    color: #60A5FA;
    margin-bottom: 1rem;
}

.player-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #60A5FA;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #D1D5DB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shootout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Show desktop stats on wide screens, hide mobile stats */
.player-stats-desktop {
    display: block;
}

.player-stats-mobile {
    display: none;
}

.video-player-container {
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.3);
    padding: 1.5rem;
    height: fit-content;
}

.video-player {
    width: 100%;
    height: 70vh;
    background: #000;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.video-info {
    text-align: center;
    color: #D1D5DB;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.video-details {
    font-size: 0.9rem;
    line-height: 1.6;
}

.attempts-sidebar {
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.3);
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.attempt-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(75, 85, 99, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.attempt-item:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateX(4px);
}

.attempt-item.active {
    background: rgba(96, 165, 250, 0.1);
    border-color: #60A5FA;
}

.attempt-result {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.attempt-result.goal {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.attempt-result.miss {
    background: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.attempt-result.save {
    background: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.attempt-info {
    flex-grow: 1;
}

.attempt-date {
    font-size: 0.875rem;
    color: #D1D5DB;
    font-weight: 500;
}

.attempt-opponent {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.attempt-details {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

.legend {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.legend-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #D1D5DB;
    margin-bottom: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.legend-label {
    font-size: 0.75rem;
    color: #9CA3AF;
}

/* Video Controls */
.video-controls {
    padding: 1rem 0;
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.autoplay-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toggle Switch Styles */
.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background: #374151;
    border-radius: 24px;
    margin-right: 0.75rem;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(75, 85, 99, 0.3);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
    background: #10B981;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.875rem;
    color: #D1D5DB;
    font-weight: 500;
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

@media (max-width: 768px) {
    .shootout-container {
        grid-template-columns: 1fr;
    }
    
    /* Hide desktop stats, show mobile stats on narrow screens */
    .player-stats-desktop {
        display: none;
    }
    
    .player-stats-mobile {
        display: block;
    }
    
    .player-name {
        font-size: 1rem;
    }
    
    .player-stats {
        gap: 1rem;
    }
    
    .video-player {
        height: 65vh;
    }
    
    .toggle-label {
        font-size: 0.8rem;
    }
}

/* No Video Message Styles */
.no-video-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border: 2px dashed rgba(75, 85, 99, 0.5);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 400px;
}

.no-video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-video-message h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-video-message p {
    color: #9CA3AF;
    font-size: 1rem;
    max-width: 400px;
}

.attempt-item.no-video {
    opacity: 0.7;
    cursor: default;
}

.attempt-item.no-video .attempt-info {
    font-style: italic;
}

.attempt-item.no-video .attempt-date {
    color: #EF4444;
}

@media (max-width: 768px) {
    .no-video-message {
        min-height: 300px;
        padding: 2rem 1rem;
    }
    
    .no-video-icon {
        font-size: 3rem;
    }
    
    .no-video-message h3 {
        font-size: 1.25rem;
    }
    
    .no-video-message p {
        font-size: 0.9rem;
    }
}

/* Player Stats Section */
.player-stats-section {
    background: linear-gradient(145deg, #1F2937 0%, #1A202C 100%);
    border-radius: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.3);
    padding: 2rem;
    margin-bottom: 3rem;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stats-card {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(75, 85, 99, 0.3);
    padding: 1.5rem;
}

.stats-card-wide {
    grid-column: 1 / -1;
}

.stats-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #60A5FA;
    margin-bottom: 1.25rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    gap: 1rem;
}

.stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-box {
    text-align: center;
    padding: 0.75rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 0.5rem;
}

.stat-box .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #10B981;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-box .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-box .stat-label {
        font-size: 0.7rem;
    }
}
