.api-football-schedule,
.api-football-live-carousel {
    background: #f8f9ff;
    padding: 10px;
    border-radius: 20px;
}

.api-football-live-carousel.af-loading {
    opacity: 0.55;
    pointer-events: none;
}

.af-match-card {
    direction: rtl;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    /*padding: 14px;*/
    min-height: 110px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 20%;
}

.af-right .af-league {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
}

.af-right .af-league img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.af-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
    background: rgba(193, 60, 73, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    color: #c13c49;
}

.af-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
    background: #39ff88;
    box-shadow: 0 0 10px rgba(57, 255, 136, 0.65);
    vertical-align: middle;
}

.af-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 80%;
}

.af-team {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 42%;
}

.af-team.home {
    justify-content: left;
    margin-left: 10%;
}

.af-team.away {
    flex-direction: row-reverse;
    text-align: left;
    justify-content: right;
    margin-right: 10%;
}

.af-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 50px;
    padding: 5px;
}

.af-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.af-name {
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    opacity: 0.95;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: sans-serif;
}

.af-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.af-score {
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.af-time {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
    white-space: nowrap;
}

.af-empty {
    opacity: 0.85;
    padding: 12px;
}

.api-football-wrapper .api-live-results {
    display: flex;
    flex-direction: column;
}

.api-football-wrapper .af-match-card {
    width: 100%;
    flex-direction: column;
}

.api-football-wrapper .af-match-card .af-right {
    width: 100%;
    justify-content: center;
    font-size: 12px;
}

.api-football-wrapper .af-match-card .af-right .af-league img {
    width: 30px;
    height: 30px;
}
.api-football-wrapper .af-match-card .af-time{
    white-space: nowrap;
}

.api-football-wrapper .af-match-card .af-team {
    flex-direction: column-reverse;
}

.api-football-wrapper .af-match-card .af-logo {
    width: 30px;
    height: 30px;
    padding: 0;
}
.api-football-wrapper .af-match-card .af-body{
    width: 100%;
}
.api-football-wrapper .af-match-card .af-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 8px;
}

.af-league-filters {
    display: flex;
    gap: 15px;
    overflow: auto;
    margin: 15px 0;
}

.af-filter-btn {
    border: none;
    background: #f3f3f3;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: .2s;
    font-family: inherit;
}

.af-filter-btn img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.af-filter-btn.active {
    background: #2853d7;
    color: #fff;
}

.af-day-title {
    margin-top: 30px;
}

.today-suggestions-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.today-suggestion-card {
    display: flex;
    width: 50%;
    flex-direction: column;
    row-gap: 30px;
    padding-bottom: 20px;
}

.today-suggestion-card .teams {
    display: flex;
    justify-content: center;
    border-bottom: 1px dashed #848484;
    column-gap: 30px;
    padding-bottom: 15px;

}

.today-suggestion-card .teams .team {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.today-suggestion-card .teams .team img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.today-suggestion-card .teams .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.today-suggestion-card .teams .center .status {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

.today-suggestion-card .odds {
    display: flex;
    justify-content: space-around;
}

.today-suggestion-card .odd-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    width: 50%;
}

.today-suggestion-card .odd-label {
    font-size: 18px;
    color: #000;
    font-weight: 400;
}

.today-suggestion-card .odd-label.odd-value {
    color: #00C853;
    font-weight: bold;
}

.today-suggestion-card .odd-label:first-child {
    border-left: 1px dashed #848484;
}

.today-suggestion-card .odd-label span {
    color: #848484;
    font-size: 14px;
    font-weight: 400;
}

.today-suggestion-card a {
    display: flex;
    justify-content: center;
    border: 1px solid #2853D7;
    color: #2853D7;
    border-radius: 10px;
    padding: 5px;
}

@media screen and (max-width: 768px) {
    .af-match-card {
        padding: 10px 5px;
        min-height: auto;
        flex-direction: column;
    }

    .af-right {
        width: 100%;
    }

    .af-right .af-league img {
        width: 30px;
        height: 30px;
    }

    .today-suggestion-card,
    .af-body {
        width: 100%;
    }

    .af-team {
        margin: 0 !important;
        flex-direction: column-reverse !important;
    }

    .today-suggestion-card .teams .team img {
        width: 60px;
    }

    .today-suggestions-wrapper {
        row-gap: 60px;
    }
}