.player-stats-container {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    margin-top: 65px;

}



/* Stats Grid Layout */
/* .stats-grid-container {
    display: flex;
    gap: 20px;
    margin-top: 10px;
} */

.heading-player-stats {
    margin-top: 15px;
}

/* 
.stat-column {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;

} */

.stats-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.stat-column {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}



.stat-column h3 {
    font-size: 1.5em;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}


.stat-heading {
    position: absolute;
    top: 10px;
    left: 15px;
}


/* Featured Player Styles */
.fist-top-featured-player {
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 8px 16px;
}

.fist-top-featured-player img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #007bff;
    /* Blue border around player image */
}

.fist-top-featured-player .player-info {
    flex-grow: 1;
    text-align: left;
}

.fist-top-featured-player .player-info h4 {
    font-size: 18px;
    font-weight: 800;
    color: white;
    margin-bottom: 0 !important;
}

.fist-top-featured-player .player-info p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #ccc;
    margin-top: 0 !important;
}

.fist-top-featured-player .player-count {
    font-size: 24px;
    font-weight: 800;
    color: white;
}


.fist-top-featured-player.goal {
    background-color: #2c3e50;

}

.fist-top-featured-player.assist {
    background-color: #2c3e50;

}

.fist-top-featured-player.key-pass {
    background-color: #2c3e50;

}


.featured-player {
    padding: 8px 16px;
}

/* Player List Styles */
.player-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;

}

.player-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1em;
    color: #555;
}

.player-list li:last-child {
    border-bottom: none;
}

.player-list .team {
    color: #888;
    font-size: 0.9em;
    margin-left: 5px;
}

.player-list .count {
    font-weight: bold;
    color: #333;
}

/* Full List Link */
.full-list-link {
    text-decoration: none;
    color: #02357B;
    font-weight: bold;
    margin-top: auto;
    display: block;
    text-align: right;
}

.full-list-link:hover {
    text-decoration: underline;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    .stats-grid-container {
        grid-template-columns: 1fr;
    }

    .header-nav nav ul {
        flex-direction: column;
        align-items: center;
    }

    .header-nav nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }
}



.stats-filter-section {
    background-color: #fff;
    font-family: 'Arial', sans-serif;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
}

.stats-navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats-filters {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.stats-filters select {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 4px #00000012, 0 0 4px #00000029;
}


/* FOR RESPONSIVE  */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 1024px) {
    .stats-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (phones, below 768px) */
@media (max-width: 767px) {
    .stats-grid-container {
        grid-template-columns: 1fr;
    }
}


.stats-filter-form{
    display: flex;
    gap: 10px;
}


.stats-filter-form .stats-league-dropdown {
    min-width: 180px;
}





