
.team-container {
    border-radius: 5px;
}

    .team-container .header {
        background: #640500; /* Firebrick */
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* Gold */
        padding: 10px 10px;
        border-radius: 5px 5px 0 0;
    }

        .team-container .header img {
            display: block;
        }

        .team-container .header .title-section h1 {
            font-size: 20px;
            margin: 0;
            color: #FFD700;
            text-align: center;
        }



.team-card-body {
    background-color: #640000; /* Firebrick */
    color: #fff;
    padding: 5px 5px 0;
    margin-top: 1px;
}

.team-card-body2 {
    background-color: transparent; /* Firebrick */
    color: #fff;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 165px);
    gap: 10px;
    padding: 20px 0;
    justify-content: center;
}

.player-card {
    background-color: #790000; /* IndianRed */
    text-align: center;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px; /* Adjust as needed */
    overflow: hidden;
}

    .player-card .position {
        position: absolute;
        top: 5px;
        right: 5px;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 12px 7px 15px;
        font-size: 1.2em;
        color: #fff;
        line-height: 0;
        z-index: 2;
    }

    .player-card .player-image {
        object-fit: cover;
        /* Placeholder for image */
        position: relative;
        z-index: 1;
    }
    /*
        .player-card .player-image:hover {
            transform: matrix(1.5, 0, 0, 1.5, 0, 68);
        }*/

    .player-card .number {
        font-size: 14px;
        line-height: 0;
        font-weight: bold;
        color: #ffffff;
        height: 50px;
        width: 50px;
        position: absolute;
        bottom: 30px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .player-card .number::after {
            content: "";
            background: url(t-shirt.svg) no-repeat center center;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            width: 50px;
            height: 100%;
            z-index: 1;
            background-size: 40px;
        }

        .player-card .number b {
            position: relative;
            z-index: 2;
        }

    .player-card .name {
        font-size: 1.2em;
        background: #a10;
        color: #fff;
        width: 100%;
        padding: 5px;
        position: relative;
        z-index: 2;
    }

.subs-coach-section {
    grid-column: span 1; /* Occupy one column */
    background-color: #cd5c5c26; /* IndianRed */
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #fff;
    text-align: center;
}

.subs h3,
.coach h3 {
    /* color: #FFD700; */
    margin-top: 0;
    margin-bottom: 5px;
}

.subs p,
.coach p {
    margin: 2px 0;
}



.live-on,
.social-media,
.supported-by {
    display: flex;
    align-items: center;
}

    .live-on img,
    .social-media img,
    .supported-by img {
        height: 20px;
        margin-left: 5px;
        background-color: #ccc; /* Placeholder for image */
    }

.image-not-included {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}




.card-tabs {
    display: flex;
    gap: 5px;
    justify-content: space-around;
    text-align: center;
    margin: 5px 0;
    color: #fff;
    flex-wrap: wrap;
}

    .card-tabs .tab {
        background: #640500;
        min-width: 150px;
        border-radius: 0;
        border-top: 1px solid #871d17;
        flex-grow: 1;
    }

        .card-tabs .tab.active {
            background: #bf0a00;
        }

        .card-tabs .tab a {
            display: block;
            width: 100%;
            padding: 15px 10px;
        }

            .card-tabs .tab a:hover {
                background: rgb(255 255 255 / 10%);
            }








/* leagueTables */
.leagueTables {
    width: calc(100% - 5px);
    border-radius: 5px;
    overflow: hidden;
}

    .leagueTables .leagueTable td:nth-child(2) {
        text-align: right;
        width: 200px;
        border: 0;
    }

    .leagueTables .card:last-child {
        margin-bottom: 0 !important;
    }

    .leagueTables .tabTitle span {
        background: #e8e8e8;
    }

    .leagueTables .title {
        margin-right: 10px;
        margin-bottom: 15px;
        font: 600 22px/32px "cairo";
        letter-spacing: -1px;
        text-align: right;
        border-right: 4px solid #e88301;
        padding-right: 6px;
    }

.leagueTable {
    font-size: 12px;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 5px;
    background: #830000;
}

    .leagueTable th {
        padding: 3px;
        text-align: center;
        height: 40px;
    }

        .leagueTable th:first-child {
            text-align: right;
            padding-right: 20px;
        }

    .leagueTable tr {
        border-bottom: 1px solid rgba(255, 0, 0, .2);
        color: #fff;
    }

    .leagueTable:last-child tr:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0);
    }

    .leagueTable thead tr:first-child {
        background: #fff;
        color: #111;
    }

    .leagueTable tr:hover {
        background: rgba(255, 0, 0, .1);
        border-bottom: 1px solid rgba(255, 0, 0, .1);
    }

    .leagueTable td {
        padding: 5px;
        text-align: center;
    }

        .leagueTable td div.name {
            display: flex;
            align-items: center;
        }

    .leagueTable b {
        font-size: 11px;
    }

    .leagueTable img {
        max-width: 35px;
        max-height: 30px;
        margin-left: 3px;
    }

    .leagueTable a {
        text-decoration: none;
        color: #ffffff;
    }

.showTop th {
    height: 45px;
}

.showTop tr:nth-child(2) {
    height: 40px;
}

    .showTop tr:nth-child(2) td {
        background: #4c9ce1;
    }

    .showTop tr:nth-child(2) * {
        color: #fff;
    }

.leagueTables .squadTable td:nth-child(2) {
    text-align: center;
    width: auto;
}

.leagueTables .leagueTable th:nth-child(3) {
    display: table-cell !important;
}

.leagueTables .matchCenterBox.light .nav-tabs {
    background: #4c9ce1;
    padding: 10px 10px 5px;
    height: auto !important;
}

.leagueTables nav .title {
    color: #fff;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 21px;
}

.leagueTables nav .col {
    max-width: 100% !important;
    min-width: 270px;
    margin-bottom: 5px;
}

.leagueTables .leagueHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


    .leagueTables .legTitle {
    display: flex;
    gap: 5px;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 5px 0;
    background: #640000;
    justify-content: start;
}

/* Responsive Rules */
@media (max-width: 680px) {
    .quickView {
        font-size: 50%;
    }

    .leagueTable th:nth-child(4),
    .leagueTable td:nth-child(4),
    .leagueTable th:nth-child(8),
    .leagueTable td:nth-child(8),
    .leagueTable th:nth-child(9),
    .leagueTable td:nth-child(9),
    .leagueTable th:nth-child(10),
    .leagueTable td:nth-child(10),
    .leagueTables .leagueTable th:nth-child(1),
    .leagueTables .leagueTable td:nth-child(1),
    .leagueTables .leagueTable th:nth-child(2),
    .leagueTables .leagueTable td:nth-child(2),
    .leagueTables .leagueTable th:nth-child(3),
    .leagueTables .leagueTable td:nth-child(3),
    .leagueTables .leagueTable th:nth-child(4),
    .leagueTables .leagueTable td:nth-child(4),
    .leagueTables .leagueTable th:nth-child(5),
    .leagueTables .leagueTable td:nth-child(5),
    .leagueTables .leagueTable th:nth-child(6),
    .leagueTables .leagueTable td:nth-child(6),
    .leagueTables .leagueTable th:nth-child(7),
    .leagueTables .leagueTable td:nth-child(7),
    .leagueTables .leagueTable th:nth-child(8),
    .leagueTables .leagueTable td:nth-child(8),
    .leagueTables .leagueTable th:nth-child(9),
    .leagueTables .leagueTable td:nth-child(9),
    .leagueTables .leagueTable th:nth-child(10),
    .leagueTables .leagueTable td:nth-child(10),
    .leagueTables .leagueTable th:nth-child(11),
    .leagueTables .leagueTable td:nth-child(11) {
       /* display: none !important;*/
    }

    .leagueTables .leagueTable th:nth-child(1),
    .leagueTables .leagueTable td:nth-child(1),
    .leagueTables .leagueTable th:nth-child(2),
    .leagueTables .leagueTable td:nth-child(2),
    .leagueTables .leagueTable td:nth-child(3),
    .leagueTables .leagueTable th:nth-child(8),
    .leagueTables .leagueTable th:nth-child(9),
    .leagueTables .leagueTable td:nth-child(9),
    .leagueTables .leagueTable td:nth-child(10) {
        display: table-cell !important;
    }

    .leagueTables .leagueTable.topScores th:nth-child(1),
    .leagueTables .leagueTable.topScores td:nth-child(1),
    .leagueTables .leagueTable.topScores th:nth-child(2),
    .leagueTables .leagueTable.topScores td:nth-child(2),
    .leagueTables .leagueTable.topScores th:nth-child(3),
    .leagueTables .leagueTable.topScores td:nth-child(3),
    .leagueTables .leagueTable.topScores th:nth-child(4),
    .leagueTables .leagueTable.topScores td:nth-child(4) {
        display: table-cell !important;
    }

    .leagueTable tr > th {
        /* background: white;
        position: sticky;
        top: 65px;
        box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);*/
    }

    .leagueTable.displayAll th,
    .leagueTable.displayAll td {
        display: table-cell !important;
    }

    .leagueTable.displayAll tbody td:first-child {
        text-align: right !important;
    }
}

.leagueTables .legTitle img {
    width: 50px;
    height: 50px;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
}

.leagueTables .legTitle h2 {
    font-size: 14px;
}

.leagueTable-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.leagueTable thead tr:first-child a,
.leagueTable tr:hover a {
}


.leagueTable .team-icon {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    padding: 2px 2px;
}




.topscores-grid {
}

    .topscores-grid table {
        width: 80%;
        margin: auto;
        background: #262626;
        color: #fff;
        border-collapse: collapse;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

        .topscores-grid table thead {
            background: #d41f0d;
            border-radius: 76px;
        }

            .topscores-grid table thead th {
                padding: 5px 5px;
            }


        .topscores-grid table tbody {
        }

            .topscores-grid table tbody tr:nth-child(odd) {
                background-color: #1f1f1f;
            }

            .topscores-grid table tbody td {
                padding: 15px 5px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

                .topscores-grid table tbody td:first-child,
                .topscores-grid table tbody td:last-child {
                    background: #fff;
                    color: red;
                    font-size: 19px;
                    padding: 0;
                    text-align: center;
                    width: 60px;
                }
.left-tabs select {
    padding: 10px;
}