.sports-table-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sports-table-box.sports-table-compact {
    padding: 12px;
}

.sports-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sports-table-header h3 {
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
}

.sports-table-header span {
    font-size: 12px;
    color: #777;
}

.sports-table {
    margin-bottom: 0;
    width: 100%;
    table-layout: auto;
}

.sports-table th,
.sports-table td {
    vertical-align: middle;
    white-space: nowrap;
    padding: 0.45rem;
}

.sports-table thead th {
    font-size: 13px;
    font-weight: 700;
}

.sports-table tbody td {
    font-size: 14px;
}

.sports-table-compact .sports-table th,
.sports-table-compact .sports-table td {
    padding: 0.4rem;
}

.sports-table-compact .sports-table {
    font-size: 13px;
}

.sports-team-name {
    min-width: 180px;
}

.sports-table-compact .sports-team-name {
    min-width: 200px;
}

.sports-team-highlight {
    background: #fff3cd !important;
    font-weight: 700;
}

.sports-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sports-team-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex: 0 0 26px;
}

.sports-category-module {
    overflow: hidden;
}

@media (max-width: 991px) {
    .sports-category-module .row > div {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .sports-category-module {
        padding: 12px !important;
    }

    .sports-category-module h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .sports-tabs {
        width: 100%;
        display: flex;
        margin-top: 10px;
    }

    .sports-tabs .btn {
        flex: 1;
        font-size: 13px;
        padding: 6px 4px;
    }

    .sports-table-header {
        display: block;
    }

    .sports-table-header h3 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .sports-table-header span {
        display: block;
        font-size: 11px;
    }

    .sports-table {
        font-size: 12px;
    }

    .sports-table th,
    .sports-table td {
        padding: 0.35rem;
    }

    .sports-team-logo {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    .sports-team-name {
        min-width: 160px;
    }

    .sports-table-compact .sports-team-name {
        min-width: 180px;
    }

    .sports-table-compact .sports-table {
        font-size: 12px;
    }

    .sports-table-compact .sports-table th,
    .sports-table-compact .sports-table td {
        padding: 0.3rem;
    }

    /* Ukrywanie dodatkowych kolumn tylko w compact */
    .sports-table-compact .col-w,
    .sports-table-compact .col-r,
    .sports-table-compact .col-p,
    .sports-table-compact .col-goals {
        display: none;
    }
}