.players-main {
    width: 100%;
    max-width: 1220px;
}

.players-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.players-page h3 {
    color: #fff;
    font-size: 36px;
    padding: 10px 0 24px;
}

.container-players {
    width: 100%;
    padding: 0 10px 40px;
}

.tabs-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 20px;
}

.tabs-select {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.tabs-moving-select {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 25px #0000001f;
    transition: transform 250ms ease;
}

.tabs-item {
    position: relative;
    z-index: 1;
    min-height: 56px;
    padding: 0 18px;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.tabs-current {
    color: var(--main-color);
}

.tabs-page-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 20px 45px #00000025;
    padding: 24px 18px 28px;
    min-height: 450px;
}

.players-container-controls-top {
    max-width: 320px;
}

.players-container-main {
    width: 100%;
    min-height: 400px;
    margin: 0 auto;
    color: #000;
    overflow: auto;
    opacity: 1;
    transition-duration: 400ms;
    padding-bottom: 10px;
    border-radius: 14px;
}
.player-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 15%;
    max-width: 250px;
    min-width: 200px;
    background-color: #f3f3f3;
    box-shadow: 0 0 5px #00000025;
    margin: 20px;
    border-radius: 5px;
    overflow: hidden;
}
.player-image img {
    width: 100%;
}
.player-image {
    position: relative;
}
.player-number {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--main-color);
    color: #fff;
    font-weight: 600;
    padding: 5px;
    font-size: 18px;
    width: 35px;
    text-align: center;
    border-top-right-radius: 3px;
}
.player-name-team {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    gap: 5px;
}
.player-name {
    font-size: 20px;
    letter-spacing: 1px;
    height: 40px;
    display: flex;
    align-items: center;
}
.player-team {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 17px;
}
.player-team img {
    width: 50px;
}
.players-container-main table {
    margin: 0 auto;
    border-collapse: separate;
    border: none;
    border-spacing: 0;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 3px 8px #0000001e;
}
.players-container-main table thead {
    color: #fff;
    font-size: 18px;
    position: sticky;
    z-index: 50;
}
.players-container-main table tbody {
    border: 1px solid #eee;
}
.players-container-main table thead th {
    background-color: var(--orange-color);
    height: 35px;
    padding: 0 8px;
    text-transform: uppercase;
    font-size: 16px;
}
.players-container-main table thead th:first-child {
    border-top-left-radius: 8px;
}
.players-container-main table thead th:last-child {
    border-top-right-radius: 8px;
}
.players-container-main table tbody tr:nth-child(odd) td,
.players-container-main table tbody tr:nth-child(odd) {
    background-color: #f3f3f3;
}
.players-container-main table tbody tr:nth-child(even) td,
.players-container-main table tbody tr:nth-child(even) {
    background-color: #fff;
}
.players-container-main table tbody tr td {
    padding: 5px;
    font-size: 16px;
    vertical-align: middle;
    text-align: center;
}
.players-container-main table thead tr th:nth-child(1),
.players-container-main table tbody tr td:nth-child(1) {
    width: 35px;
    min-width: 35px;
    max-width: 35px;
    font-size: 16px;
    text-align: center;
    padding: 0;
}
.players-container-main table thead tr th:nth-child(2),
.players-container-main table tbody tr td:nth-child(2) {
    padding: 5px 10px;
    text-align: left;
}
.players-container-main table tbody tr td:nth-child(2) img {
    width: 100%;
    transform: scale(1.1) translateY(3px);
}

.players-player-name {
    color: #111;
    font-weight: 700;
}
.players-player-link {
    color: var(--main-color) !important;
    text-decoration: none;
    font-weight: 700;
}
.players-player-link:hover {
    color: var(--orange-color-secondary) !important;
}

.players-half-season::before {
    content: "* ";
    color: var(--orange-color);
}

.players-container-main table thead tr th:nth-child(3),
.players-container-main table tbody tr td:nth-child(3)  {
    padding: 5px 15px;
    text-align: left;
    max-width: 210px;
}
.players-container-main table tbody tr td:nth-child(2) a,
.players-container-main table tbody tr td:nth-child(3) a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: #000;
    line-height: 16px;
    text-decoration: none;
}
.players-container-main table tbody tr td:nth-child(2) a:hover,
.players-container-main table tbody tr td:nth-child(3) a:hover {
    color: var(--orange-color-secondary);
}
.players-container-main table tbody tr td:nth-child(2) a {
    gap: 5px;
}
.players-container-main table tbody tr td:nth-child(3) img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    padding-right: 5px;
}

.players-team-link,
.players-team-link-static {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
}

.players-team-link-static {
    justify-content: flex-start;
}

.players-team-link img,
.players-team-link-static img {
    width: 48px;
    flex-shrink: 0;
}

.players-container-main table thead tr th:nth-child(1),
.players-container-main table thead tr th:nth-child(2),
.players-container-main table tbody tr td:nth-child(1),
.players-container-main table tbody tr td:nth-child(2) {
    position: sticky;
    left: 0;
}
.players-container-main table thead tr th:nth-child(2),
.players-container-main table tbody tr td:nth-child(2) {
    left: 35px;
}


.players-container-load-more {
    text-align: center;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.players-container-load-more p {
    color: #000;
}
.players-container-load-more button {
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    background-color: #e4e4e4;
    border-radius: 5px;
    padding: 10px 0;
    font-weight: 500;
    transition-duration: 250ms;
    cursor: pointer;
    width: 130px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.players-container-load-more button svg {
    width: 20px;
    height: 20px;
}
.players-container-load-more button:hover {
    box-shadow: 0 0 10px #00000050;
}


.players-container-controls {
    display: flex;
    flex-direction: row;
    color: #000;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    gap: 15px;
    padding: 0 10px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.players-container-controls div > span {
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding-left: 5px;
}
.players-container-controls > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.players-container-controls > div > div {
    flex: 1;
}
.players-container-controls select, .players-container-controls input {
    box-sizing: border-box;
    border: none;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #f1f1f1;
    height: 32px;
    width: 100%;
}
.input-search-container input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 2px solid #f1f1f1;
}
.input-search-container input::placeholder {
    color: #777;
}
.input-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}
#input-search-clear {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    background: #f1f1f1;
    right: 42px;
    border: none;
    top: 4px;
}

#input-search-btn {
    background-color: var(--orange-color);
    border: none;
    color: #fff;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
    padding: 0 8px;
}

#players-not-found {
    display: none;
    font-style: italic;
    font-size: 18px;
    text-align: center;
}
.players-info-text {
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 15px;
}
.players-info-text p {
    color: #222;
    line-height: 20px;
}

.players-info-text-compact {
    padding-top: 10px;
    margin-bottom: 0;
}

.players-info-text-compact p {
    text-align: center;
}

.players-empty-state,
.players-top10-status {
    color: #555;
    font-style: italic;
    text-align: center;
    
}
.players-empty-state {
    font-size: 18px !important;
    height: 50px;
}

/* TOP 5 */
.players-container-top5 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
}
.players-container-top5 > div {
    flex: 1;
    min-width: 290px;
    max-width: 500px;
    width: 100%;
}
.players-top5-table {
    color: #000;
}
.players-top5-table table {
    margin: 0 auto;
    border-collapse: separate;
    border: none;
    border-spacing: 0;
    box-shadow: 0 3px 8px #0000001e;
    width: 100%;
}
.players-top5-table table tbody {
    border: 1px solid #eee;
}
.players-top5-table table thead th {
    background-color: var(--orange-color);
    height: 35px;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
}
.players-top5-table table thead th:first-child {
    border-top-left-radius: 8px;
}
.players-top5-table table thead th:last-child {
    border-top-right-radius: 8px;
}
.players-top5-table table tbody tr:nth-child(odd) td,
.players-top5-table table tbody tr:nth-child(odd) {
    background-color: #f3f3f3;
}
.players-top5-table table tbody tr:nth-child(even) td,
.players-top5-table table tbody tr:nth-child(even) {
    background-color: #fff;
}
.players-top5-table table tbody tr td {
    padding: 5px;
    font-size: 16px;
    vertical-align: middle;
    text-align: center;
}
.players-top5-table table tbody tr td:first-child {
    width: 25px;
    font-size: 14px;
    padding: 0;
}
.players-top5-table table tbody tr .players-top5-name-img {
    padding-left: 0;
}

.players-top5-table table tbody tr .players-top5-name-img > div {
    display: flex;
    text-align: left;
}

.players-top5-table table tbody tr .players-top5-name-img a {
    display: flex;
    align-items: center;
    color: #000;
    text-align: left;
    gap: 10px;
}
.players-top5-table table tbody tr .players-top5-name-img a:hover {
    color: var(--orange-color-secondary);
}
.players-top5-table table tbody tr:first-child .players-top5-name-img {
    font-size: 18px;
}
.players-top5-table table tbody tr td:last-child {
    width: 80px;
}
.players-top5-table table tbody tr:first-child td:last-child {
    font-size: 32px;
    font-weight: bold;
    color: var(--main-color);
}
.players-top5-table table tbody tr:not(:first-child) td:last-child {
    font-size: 24px;
    font-weight: 500;
}
.players-top5-table table tbody tr .players-top5-name-img a > img {
    width: 50px;
    border-radius: 10px;
}
.players-top5-table table tbody tr:first-child .players-top5-name-img a > img {
    width: 80px;
}
.players-top5-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
}
.players-top5-name div:last-child {
    font-size: 13px;
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
    line-height: 13px;
}
.players-top5-name img {
    width: 30px;
}

.players-top5-team {
    color: #555;
}

.players-top10-state {
    width: 100%;
}

.players-top10-state td {
    padding: 24px 10px !important;
}

@media screen and (max-width: 991px) {
    .container-players {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    .players-container-top5 {
        flex-direction: column;
        padding: 0 10px;
        overflow-x: auto;
    }
}
@media screen and (max-width: 767px) {
    .players-container-main {
        border-radius: 0;
    }
    .players-page h3 {
        font-size: 32px;
    }
    .tabs-wrap {
        padding: 0 10px;
    }
    .tabs-item {
        min-height: 52px;
        font-size: 14px;
        padding: 0 12px;
    }
    .tabs-page-item {
        border-radius: 0;
        padding: 18px 0 24px;
    }
    .players-container-main table {
        min-width: auto;
    }
    .players-container-main table tbody tr td {
        font-size: 14px;
    }
    .players-container-main table tbody tr td:nth-child(2) img {
        transform: scale(1.1) translateY(3px);
    }
    .players-container-main table tbody tr td:nth-child(2) {
        padding-left: 4px;
        width: 100px;
        line-height: 18px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        clip-path: inset(0px -15px 0 0);
    }
    .players-container-main table tbody tr td:nth-child(3) {
        line-height: 18px;
    }
    .players-container-main table thead th {
        font-size: 14px;
        text-align: center;
    }
    .players-container-main table thead tr th:nth-child(1),
    .players-container-main table tbody tr td:nth-child(1) {
        width: 25px;
        min-width: 25px;
        max-width: 25px;
        font-size: 14px;
    }
    .players-container-main table thead tr th:nth-child(2),
    .players-container-main table tbody tr td:nth-child(2) {
        left: 25px;
    }
    
    .players-container-controls, .players-container-controls > div {
        flex-direction: column;
        gap: 5px;
    }
    .players-container-controls div {
        width: 100%;
    }
    .players-container-controls select {
        width: 100%;
    }
}
@media screen and (max-width: 640px) {
    .container-players {
        padding: 0 0 40px;
    }
    .players-container-main table thead th:first-child {
        border-top-left-radius: 0;
    }
    .players-container-main table thead th:last-child {
        border-top-right-radius: 0;
    }

    .players-container-top5 {
        padding: 0;
        width: 100%;
    }
    .players-container-top5 > div {
        max-width: 100%;
    }
    .players-top5-table table tbody tr .players-top5-name-img a > img {
        width: 40px;
    }
    .players-top5-table table tbody tr:first-child .players-top5-name-img a > img {
        width: 70px;
    }
    .players-top5-table table thead th:last-child {
        border-radius: 0;
    }
}