﻿.detail-header {
    border-radius: 20px;
    background: transparent;
}

.detail-header-info {
    background: var(--offside-black);
    box-shadow: 0px 2px 2px #00000012;
    border-radius: 10px 10px 0 0;
}

.header-info-logo-wrapper {
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-info-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-team-logo {
    max-height: clamp(5rem, 2vw, 5rem);
    max-width: clamp(5rem, 2vw, 5rem);
}

.header-info-name {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--base-white);
}

.header-info-flag {
    max-width: clamp(1rem, 2.2vw, 1.25rem);
    max-height: clamp(1rem, 2.2vw, 1.25rem);
}

.header-info-country-name {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.8rem, 2.2vw, 1.125rem);
    color: var(--reading-gray);
}

.header-tabs {
    /*background: var(--offside-black);*/
    border-top: 1px solid #39383F;
    border-radius: 0 0 10px 10px;
}

.header-tab {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.9rem, 2.2vw, 1.2rem);
    color: var(--reading-gray);
    position: relative;
    cursor: pointer;
}

.header-tab.active {
    color: var(--base-white);
}

.header-tab.active::after {
    content: "";
    position: absolute;
    bottom: -15.6px;
    left: -5px;
    right: 0;
    width: 120%;
    height: 3px;
    background-color: #D94646;
    border-radius: 10px 10px 0px 0px;
}

.card {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 2px 2px #00000012;
    border-radius: 10px;
    border: none;
}

.card-gray {
    background: #F6F6F6 0% 0% no-repeat padding-box;
    border-radius: 10px;
    border: none;
}

.card-font {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    letter-spacing: 0px;
    color: #242129;
    white-space: nowrap;
}

.card-font-semibold {
    font: normal normal medium 24px/24px Barlow;
}

.card-secondary-font {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.75rem, 2vw, 1.1rem);
    letter-spacing: 0px;
    color: #7F7E81;
}

.referee-statistics {
    background: var(--base-white);
    border-radius: 10px;
}

.stat-table-tab {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.813rem, 2.2vw, 1.125rem);
    color: var(--reading-gray);
    position: relative;
    cursor: pointer;
}

.stat-table-tab.active {
    color: var(--offside-black);
}

.stat-table-tab.active::after {
    content: "";
    position: absolute;
    bottom: -17px;
    left: -3px;
    right: 0;
    width: 110%;
    height: 4px;
    background-color: #D94646;
    border-radius: 10px 10px 0px 0px;
}

.standing-table-tab {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.813rem, 2.2vw, 1.125rem);
    color: var(--reading-gray);
    position: relative;
    cursor: pointer;
}

.standing-table-tab.active {
    color: var(--offside-black);
}

.standing-table-tab.active::after {
    content: "";
    position: absolute;
    bottom: -17px;
    left: -3px;
    right: 0;
    width: 110%;
    height: 4px;
    background-color: #D94646;
    border-radius: 10px 10px 0px 0px;
}

.stat-table-content {
    border-top: 1px solid var(--secondary-line);
}

.stat-table {
    background: var(--base-gray);
    border-radius: 10px;
    width: 100%;
}


.team-logo {
    max-width: clamp(1.4rem, 2vw, 2rem);
    max-height: clamp(1.4rem, 2vw, 2rem);
}

.stat-table thead tr {
    font-family: "Barlow";
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.65rem, 2vw, 0.813rem);
    color: var(--offside-black);
    text-align: center;
    border-bottom: 1px solid #E5E2E2;
}

.stat-table tbody tr {
    font-family: "Barlow";
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #242129;
    border-bottom: 1px solid #E5E2E2;
}


.stat-table thead tr th {
    border-right: 1px solid #E5E2E2;
}

.stat-table tbody tr td {
    border-right: 1px solid #E5E2E2;
}

.stat-table tbody tr td:last-child,
.stat-table thead tr th:last-child {
    border-right: none !important;
}

.stat-table tbody tr:last-child {
    border-bottom: none !important;
}

.stat-table th:first-child,
.stat-table td:first-child {
    width: 310px;
}

.stat-table td,
.stat-table th {
    padding: 14px 16px;
    height: 56px;
    vertical-align: middle;
}

.stat-table .card-set {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.stat-table .card-set img {
    width: 16px;
    height: 22px;
}

.team-name {
    font-size: clamp(0.7rem, 2vw, 1rem);
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.transfer-table-header {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.6875rem, 0.85vw, 0.75rem);
    line-height: 1.2;
    color: var(--offside-black);
}

.transfer-icon {
    max-height: clamp(1rem, 2vw, 1.25rem) !important;
    max-width: clamp(1.2rem, 2vw, 1.5rem) !important;
}

.team-detail-logo {
    max-width: clamp(5rem, 8vw, 6.5rem);
    max-height: clamp(5rem, 8vw, 6.5rem);
}

.row-hover-active {
    background: var(--l-color) !important;
    --bs-table-accent-bg: var(--l-color) !important;
    --bs-table-striped-bg: var(--l-color) !important;
}


@media (max-width: 550px) {
    .stat-table-tab.active::after {
        content: "";
        position: absolute;
        bottom: -17px;
        left: -3px;
        right: 0;
        width: 110%;
        height: 4px;
        background-color: #D94646;
        border-radius: 10px 10px 0px 0px;
    }

    .header-info-logo {
        width: 54%;
        height: 98%;
        object-fit: cover;
    }


    .stat-table td,
    .stat-table th {
        padding: 0px 3px;
        height: 38px;
        vertical-align: middle;
    }


    .stat-table thead tr th {
        border-bottom: 0px solid #E5E2E2;
    }

    .stat-table tbody tr {
        border-bottom: 0px solid #E5E2E2;
    }

    .stat-table thead tr th {
        border-right: 0px solid #E5E2E2;
    }

    .stat-table tbody tr td {
        border-right: 0px solid #E5E2E2;
    }

    .stat-table tbody tr td:last-child,
    .stat-table thead tr th:last-child {
        border-right: none !important;
    }

    .stat-table tbody tr:last-child {
        border-bottom: none !important;
    }

    .stat-table th:first-child,
    .stat-table td:first-child {
        width: 50px;
    }
}

.team-squad {
    background: var(--base-white);
    border-radius: 10px;
}

.next-match-team-logo {
    max-height: clamp(0.938rem, 8vw, 1.25rem);
    max-width: clamp(0.938rem, 8vw, 1.25rem);
}

.match-win {
    background-color: #DBFFE3;
    
}

.match-draw {
    background-color: #EFEFEF;
   
}

.match-lose {
    background-color: #FFDBDB;
    
}

.team-detail-info-logo {
    max-width: clamp(1.2rem, 2vw, 1.813rem);
    max-height: clamp(1.2rem, 2vw, 1.813rem);
}

.team-detail-stat-table {
    table-layout: fixed;
    width: 100%;
}

.team-detail-matches-tab-div,
.team-detail-standing-tab-div {
    background: var(--base-gray);
    border-radius: 10px;
}



.team-detail-stat-table td,
.team-detail-stat-table th {
    padding: 15px 20px;
    vertical-align: middle;
}

.team-detail-stat-table table tbody tr td:not(:first-child) {
    text-align: center;
}

.team-detail-stat-table table tbody tr td:first-child {
    text-align: start;
}

.team-detail-stat-table table tbody tr:last-child {
    border-bottom: 1px solid #E5E2E2;
}

.team-detail-matches-table {
    background: var(--base-gray) !important;
    border-radius: 10px !important;
    width: 100% !important;
}

.team-detail-matches-table thead tr {
    text-align: center !important;
    border-bottom: 1px solid #E5E2E2 !important;
}

.team-detail-matches-table tbody tr {
    border-bottom: 1px solid #E5E2E2 !important;
}


.team-detail-matches-table thead tr th {
    border-right: 1px solid #E5E2E2 !important;
}

.team-detail-matches-table tbody tr td {
    border-right: 1px solid #E5E2E2 !important;
}

.team-detail-matches-table tbody tr td:last-child,
.team-detail-matches-table thead tr th:last-child {
    border-right: none !important;
}

.team-detail-matches-table tbody tr:last-child {
    border-bottom: none !important;
}

.team-detail-matches-table td,
.team-detail-matches-table th {
    /* padding: 14px 16px !important; */
    vertical-align: middle !important;
}

.team-detail-matches-table thead tr {
    border-bottom: 1px solid #E5E2E2 !important;
}

.team-detail-stat-table th {
    border: none !important;
}

.team-detail-stat-table thead tr th:first-child {
    border-top-left-radius: 10px;
}

.team-detail-stat-table thead tr th:last-child {
    border-top-right-radius: 10px;
}

.team-detail-stat-table thead tr th {
    overflow: hidden;
}

.team-squad-tab {
    border-top: 1px solid var(--secondary-line);
    border-bottom: 1px solid var(--secondary-line);
}

.team-squad-tab span {
    background: var(--secondary-line);
    border-radius: 6px;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(0.8rem, 2vw, 1rem);
    cursor: pointer;
}

.team-squad-tab span.active {
    background: var(--primary-color);
    color: white;
}

.team-detail-squad-table {
    table-layout: fixed;
    width: 100%;
}

.team-detail-squad-table thead tr th,
.team-detail-squad-table tbody tr td {
    padding: 10px 10px;
}

.team-detail-squad-table thead tr th {
    border-right: 1px solid #E5E2E2 !important;
}

.team-detail-squad-table tbody tr td {
    border-right: 1px solid #E5E2E2 !important;
}

.team-detail-squad-table tbody tr td:last-child,
.team-detail-squad-table thead tr th:last-child {
    border-right: none !important;
}

.team-detail-squad-table thead tr {
    border-bottom: 1px solid #E5E2E2 !important;
}

.team-detail-squad-table tbody tr {
    border-bottom: 1px solid #E5E2E2 !important;
}

.team-detail-squad-table thead tr th:first-child,
.team-detail-squad-table tbody tr td:first-child {
    padding-left: 50px;
}

.matches-collapse {
    border: 1.5px solid #E5E2E2;
    width: clamp(2rem, 2vw, 2.625rem);
    height: clamp(2rem, 2vw, 2.625rem);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.matches-collapse img {
    transition: transform 0.2s ease;
}

.matches-collapse.collapsed img {
    transform: rotate(-90deg);
}

.sortable {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.sort-icon {
    width: 14px;
    height: 14px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4px;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.sortable.active .sort-icon {
    display: inline-block !important;
}

.sortable.asc .sort-icon {
    transform: translateX(-50%) rotate(180deg);
}

.sortable.desc .sort-icon {
    transform: translateX(-50%) rotate(0deg);
}

.ofs-mini-standing-title {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #000000;
    font-size: 13px;
}

.ofs-mini-standing-table tr {
    position: relative;
}

.ofs-mini-standing-table tr::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 55%;
    border-radius: 0 4px 4px 0;
    background-color: var(--leftbar-color, transparent);
}

.ofs-mini-standing-table {
    width: 100%;
    border-collapse: collapse;
}

.ofs-mini-standing-table th,
.ofs-mini-standing-table td {
    padding: 5px;
    text-align: end;
    vertical-align: middle;
}

.ofs-mini-standing-table thead tr th {
    font-family: "Barlow", sans-serif;
    font-weight: 500 !important;
    font-style: normal;
    color: var(--reading-gray);
    font-size: 13px;
}

.ofs-mini-standing-table th:nth-child(1) {
    width: 4%;
}

/* .ofs-mini-standing-table th:nth-child(2) {
                width: 60%;
                text-align: left;
                padding-left: 10px;
            } */

.ofs-mini-standing-table td:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.ofs-mini-standing-table td:nth-child(2) {
    text-align: left;
    padding-left: 10px;
}


.ofs-mini-standing-table tbody tr {
    font-family: "Barlow", sans-serif;
    /* font-weight: 600; */
    font-style: normal;
    color: #000000;
    font-size: 12px;
}


.ofs-mini-standing-table th:nth-child(2) {
    width: 35%;
    text-align: left;
    padding-left: 2px;
}


.ofs-mini-standing-table th,
.ofs-mini-standing-table td {
    padding: 3px 3px;
    text-align: center;
    vertical-align: middle;
}

.mini-outcome-item {
    position: relative;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #000;
    font-size: 12px;
}

.mini-outcome-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: clamp(1.313rem, 2vw, 1.688rem);
    border-radius: 0 4px 4px 0;
}

.mini-outcome-item::before {
    background: var(--color, #000);
}

.flag-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ofs-match-detail-card {
    background: var(--base-white);
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.ofs-match-detail-title {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #000000;
    font-size: clamp(10px, 0.7vw, 14px);
}

.basket-match-result-header,
.basket-match-result-row {
    display: grid;
    grid-template-columns: 2.2fr repeat(4, 1fr) 1fr;
    align-items: center;
}


/* OT varsa 1 kolon daha ekle */
.basket-match-result-card.has-ot .basket-match-result-header,
.basket-match-result-card.has-ot .basket-match-result-row {
    grid-template-columns: 2.2fr repeat(5, 1fr)
        /* 1P-4P + OT */
        1fr;
}

.basket-match-result-header {
    font-size: 13px;
    color: #999;
    padding-bottom: 10px;
    text-align: center;
}

.basket-match-result-row {
    padding: 14px 0;
    border-top: 1px solid #eee;
}


/* TEAM */
.basket-match-result-team {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
    font-size: clamp(0.7rem, 2vw, 14px);
}

.basket-match-result-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    overflow: hidden;
    flex-shrink: 0;
}

.basket-match-result-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CELL */
.basket-match-result-cell {
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 14px);
}

.basket-match-result-cum {
    color: #c44;
    font-size: clamp(0.7rem, 2vw, 14px);
    margin-left: 4px;
}

/* TOTAL */
.basket-match-result-total {
    font-weight: bold;
    font-size: clamp(0.7rem, 2vw, 14px);
}

@media (max-width: 550px) {
    .sort-icon {
        width: 10px;
        height: 10px;
        left: 80%
    }

    .team-detail-stat-table td,
    .team-detail-stat-table th {
        padding: 5px 0px;
        vertical-align: middle;
    }

    .team-detail-stat-table table tbody tr td:first-child {
        text-align: center;
    }

    .team-detail-matches-table td,
    .team-detail-matches-table th {
        padding: 5px 5px !important;
        vertical-align: middle !important;
    }

    .team-detail-squad-table thead tr th:first-child,
    .team-detail-squad-table tbody tr td:first-child {
        padding-left: 0px;
    }

    .team-detail-squad-table thead tr th,
    .team-detail-squad-table tbody tr td {
        padding: 5px 10px;
    }

    .team-detail-squad-table thead tr th {
        border-right: none !important;
    }

    .team-detail-squad-table tbody tr td {
        border-right: none !important;
    }

    .team-detail-squad-table tbody tr td:last-child,
    .team-detail-squad-table thead tr th:last-child {
        border-right: none !important;
    }

    .team-detail-squad-table thead tr {
        border-bottom: none !important;
    }

    .team-detail-squad-table tbody tr {
        border-bottom: none !important;
    }
}

.ofs-team-matches-comp-name {
    color: var(--true-black);
    text-align: left;
    font: normal normal clamp(0.625rem, 3cqw, 0.75rem)/1.42 Open Sans;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.ofs-team-matches-comp-logo {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
    display: block;
}

.ofs-team-matches-table-header {
    color: var(--offside-black);
    text-align: left;
    font: normal normal clamp(0.8125rem, 2.5cqw, 1rem)/1.2 Barlow;
    letter-spacing: 0px;
    color: #242129;
    opacity: 1;
}

.ofs-plus-icon,
.ofs-minus-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    object-fit: contain;
}

.ofs-team-matches-team-name {
    color: var(--true-black);
    text-align: right;
    font: normal normal 13px / 17px Barlow;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.ofs-team-matches-team-logo {
    width: 14px;
    height: 14px;
    display: block;
    object-fit: contain;
}

.header-info-logo {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    display: inline-block;
}

.competition-filter {
    padding: 6px 12px;
    cursor: pointer;
}

.ofs-team-matches-table-value {
    color: var(--true-black);
    text-align: center;
    font: normal normal 12px/17px Open Sans;
    letter-spacing: 0px;
    opacity: 1;
}

.ofs-matches-scrollable-table {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
    scrollbar-width: thin;
}
.match-filter {
    padding: 6px 12px;
    cursor: pointer;
}
.ofs-team-match-red-card-number{
    position: absolute;
        color: white;
        font-size: 0.5rem;
        font-weight: 700;
        line-height: 1;
        text-align: center;
}
.ofs-team-overview-info-logo{
    display: inline-block;
    object-fit: contain;
    max-width: 20px;
    max-height: 20px;
}
.ofs-like-value{
        text-align: right;
        font: normal normal bold 18px/22px Barlow;
        letter-spacing: 0px;
        color:#46D981;
        opacity: 1;
}
.ofs-dislike-value{
    color: var(--primary-color);
        text-align: right;
        font: normal normal bold 18px/22px Barlow;
        letter-spacing: 0px;
        opacity: 1;
}
.ofs-like-icon{
    display: inline-block;
    object-fit: contain;
    width: 16px;
    height: 14px;
}
.ofs-like-container{
    width: 32px;
    height: 32px;
}
.ofs-bg-green{
    background-color: #46D981;
}
.ofs-team-squad-card-icon{
    display: inline-block;
    object-fit: contain;
    width: 10px;
    height: 14px;
}
.ofs-team-squad-header{
    color: var(--offside-black);
        text-align: center;
        font: normal normal 11px/13px Barlow;
        letter-spacing: 0px;
        opacity: 1;
}
.ofs-team-squad-table-value{
    color: var(--offside-black);
    font: normal normal 12px/17px Open Sans;
    letter-spacing: 0px;
}
.ofs-team-squad-table-player-photo{
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: inline-block;
}
.ofs-team-squad-table-player-name{
    text-align: left;
        font: normal normal 13px/16px Barlow;
        letter-spacing: 0px;
        opacity: 1;
}
.ofs-team-squad-table-country-flag{
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: inline-block;
}
.ofs-team-squad-table-country-name{
    text-align: left;
        font: normal normal 12px/14px Barlow;
        letter-spacing: 0px;
        color: #8C8C8C;
        opacity: 1;
}
.ofs-team-transfers-table-header{
    color: var(--offside-black);
        text-align: left;
        font: normal normal 11px/13px Barlow;
        letter-spacing: 0px;
        opacity: 1;
}
.ofs-team-against-score{
    color: var(--offside-black);
        text-align: center;
        font: normal normal 14px/19px Open Sans;
        letter-spacing: 0px;
        opacity: 1;
}
.ofs-team-against-status-logo{
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: inline-block;
}
.ofs-team-against-dropdown-item{
    color: var(--true-black);
        text-align: left;
        font: normal normal 12px/14px Barlow;
        letter-spacing: 0px;
        opacity: 1;
}