.football-games-select {
    border-bottom: 1px solid #fff;
}
#afw-container {
    font-family: sans-serif;
    background: #1f2a36;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    max-width: 900px;
    margin: auto;
}
.afw-tabs {
    text-align: center;
    margin-bottom: 1rem;
}
.afw-tab-button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 0.5em 1em;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
}
.afw-tab-button:hover {
    background: #34495e;
}
.afw-league {
    font-weight: bold;
    background: #2c3e50;
    padding: 0.5em;
    margin-top: 1em;
}
.afw-logo {
    width: 18px;
    vertical-align: middle;
    margin-right: 5px;
}
.afw-team {
    white-space: nowrap;
    padding: 0.3em 0.5em;
}
.afw-score {
    font-weight: bold;
    text-align: center;
    padding: 0.3em;
}
.afw-time {
    width: 60px;
    text-align: center;
    color: #bbb;
}
table {
    width: 100%;
    border-collapse: collapse;
}

.afw-live {
    text-align: center;
    font-size: 1.2em;
}

#afw-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.afw-modal-content {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    max-width: 90%;
    width: 900px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}
.afw-modal-close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
}
.afw-league {
    font-size: 14px;
    color: #555;
    margin-bottom: 0.5em;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.afw-scoreline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
.afw-scoreline .afw-team {
    width: 30%;
}
.afw-scoreline .afw-team img {
    width: 50px;
    margin-bottom: 0.5em;
}
.afw-result {
    width: 40%;
}
.afw-final-score {
    font-size: 28px;
    font-weight: bold;
    margin: 0.2em 0;
}
.afw-status {
    color: green;
}
.afw-events-block {
    margin-top: 1.5em;
}
.afw-half-title {
    background: #eee;
    font-weight: bold;
    padding: 0.5em;
    margin: 1em 0 0.5em 0;
    border-radius: 5px;
}
.afw-event-row {
    display: flex;
    justify-content: space-between;
    margin: 0.3em 0;
}
.afw-event-row.left .afw-event-content {
    text-align: left;
    width: 100%;
}
.afw-event-row.right .afw-event-content {
    text-align: right;
    width: 100%;
}
