.sorted-asc::after {
    content: " ↑";
    color: #666;
}

.sorted-desc::after {
    content: " ↓";
    color: #666;
}

#matchesTable th {
    cursor: pointer;
    padding: 12px 8px;
    text-align: center;
    white-space: nowrap;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: pre-line;
    height: 60px;
    vertical-align: middle;
    min-width: 45px;
}

#matchesTable th:hover {
    background-color: #e9ecef;
}

#matchesTable th[data-column="HomeGoals"],
#matchesTable th[data-column="AwayGoals"] {
    min-width: 60px;
}

#matchesTable th[data-column="HomeName"],
#matchesTable th[data-column="AwayName"] {
    min-width: 150px;
}

#matchesTable th[data-column="probabilities"] {
    min-width: 150px;
}

#matchesTable tbody tr:hover {
    background-color: #e9ecef !important;
}

#matchesTable td {
    padding: 16px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.team-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 10px;
    object-fit: contain;
}

.team-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin: 8px 0 24px 0;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#matchesTable {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.score {
    font-weight: bold;
    font-size: 1.1em;
}

.prob-container {
    width: 150px;
    height: 20px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.prob-home {
    background-color: #2ecc71;
    height: 100%;
}

.prob-draw {
    background-color: #95a5a6;
    height: 100%;
}

.prob-away {
    background-color: #e74c3c;
    height: 100%;
}

.prob-tooltip {
    position: relative;
    display: inline-block;
}

.prob-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1;
}

.search-container {
    margin-bottom: 20px;
}

#searchInput {
    width: 100%;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

#searchInput:focus {
    outline: none;
    border-color: #35b0ab;
    box-shadow: 0 0 0 2px rgba(53, 176, 171, 0.2);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    #matchesTable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
