/* =========================================
   FOXBET - LIVE FOOTBALL
   Dark Navy / Blue Sportsbook Style
========================================= */


/* =========================================
   PAGE
========================================= */

.live-page {
    padding-top: 14px;
    padding-bottom: 86px;
}

.live-page .section {
    margin-bottom: 14px;
}


/* =========================================
   LIVE HEADING
========================================= */

.live-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 64px;

    margin-bottom: 10px;
}

.live-heading-main {
    min-width: 0;
}

.live-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    height: 21px;

    padding: 0 7px;

    margin-bottom: 7px;

    background: rgba(53, 199, 89, 0.10);

    border: 1px solid rgba(53, 199, 89, 0.28);

    border-radius: 3px;

    color: #35c759;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.live-pulse {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #35c759;

    box-shadow:
        0 0 0 3px rgba(53, 199, 89, 0.10);
}

.live-heading h1 {
    margin: 0;

    color: #ffffff;

    font-size: 21px;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.3px;
}

.live-heading p {
    margin: 5px 0 0;

    color: #718b9e;

    font-size: 9px;
    line-height: 1.4;
}


/* =========================================
   LIVE COUNTER
========================================= */

.live-counter {
    min-width: 52px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 7px 8px;

    background: #0d2940;

    border: 1px solid #19405a;

    border-radius: 4px;
}

.live-counter-number {
    color: #35c759;

    font-size: 17px;
    line-height: 1;
    font-weight: 900;
}

.live-counter-label {
    margin-top: 4px;

    color: #6f899c;

    font-size: 7px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;
}


/* =========================================
   CONTROL BAR
========================================= */

.live-control-bar {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 6px 9px;

    margin-bottom: 9px;

    background: #0a2338;

    border: 1px solid #173b54;

    border-radius: 3px;
}

.live-status {
    min-width: 0;

    display: flex;
    align-items: center;

    color: #70899c;

    font-size: 8.5px;
}

.live-status-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    margin-right: 6px;

    border-radius: 50%;

    background: #35c759;
}

.live-refresh-button {
    height: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 0 8px;

    background: #102f46;

    border: 1px solid #1c455e;
    border-radius: 3px;

    color: #86a0b1;

    font-size: 7.5px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.live-refresh-button svg {
    width: 13px;
    height: 13px;
}

.live-refresh-button:hover {
    background: #153850;

    border-color: #2a5873;

    color: #ffffff;
}

.live-refresh-button:active {
    transform: translateY(1px);
}


/* =========================================
   LIVE LIST
========================================= */

.live-list {
    width: 100%;
}


/* =========================================
   LEAGUE BLOCK
========================================= */

.live-list .league-block {
    overflow: hidden;

    margin-bottom: 8px;

    background: #0b253b;

    border: 1px solid #183d56;

    border-radius: 4px;
}


/* =========================================
   LEAGUE HEADER
========================================= */

.live-list .league-header {
    min-height: 34px;

    display: flex;
    align-items: center;

    padding: 6px 9px;

    background: #102f47;

    border-bottom: 1px solid #193f58;

    cursor: pointer;
}

.live-list .league-header:hover {
    background: #12354e;
}

.live-list .league-logo {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    object-fit: contain;

    margin-right: 7px;
}

.live-list .league-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.live-list .league-name {
    overflow: hidden;

    color: #ffffff;

    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.live-list .league-country {
    color: #607b8e;

    font-size: 7px;
    line-height: 1;
}

.live-list .league-arrow {
    width: 14px;
    height: 14px;

    margin-left: auto;

    color: #587487;

    transition: transform 0.15s ease;
}


/* =========================================
   LIVE MATCH ROW
========================================= */

.live-list .match-row {
    position: relative;

    min-height: 76px;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 7px;

    padding: 8px 8px;

    background: #0d2940;

    border-bottom: 1px solid #153850;

    cursor: pointer;

    transition:
        background 0.15s ease;
}

.live-list .match-row:last-child {
    border-bottom: 0;
}

.live-list .match-row:hover {
    background: #12344c;
}


/* =========================================
   LIVE TIME / STATUS
========================================= */

.live-list .match-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 4px;

    background: #102f46;

    border: 1px solid #1c455e;

    border-radius: 3px;

    text-align: center;
}

.live-list .match-time .live-label {
    color: #35c759;

    font-size: 7px;
    line-height: 1;

    font-weight: 900;

    letter-spacing: 0.3px;
}

.live-list .match-time .minute {
    margin-top: 5px;

    color: #ffffff;

    font-size: 10px;
    line-height: 1;

    font-weight: 800;
}


/* =========================================
   TEAMS
========================================= */

.live-list .teams {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.live-list .team {
    min-width: 0;

    display: flex;
    align-items: center;

    min-height: 19px;
}

.live-list .team-logo {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    object-fit: contain;

    margin-right: 6px;
}

.live-list .team-name {
    overflow: hidden;

    color: #e9f0f4;

    font-size: 9px;
    line-height: 1.15;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================
   SCORE
========================================= */

.live-list .score {
    min-width: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;
}

.live-list .score span {
    color: #ffffff;

    font-size: 11px;
    line-height: 1;

    font-weight: 900;
}


/* =========================================
   LIVE ODDS
========================================= */

.live-list .match-odds {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.live-list .odd {
    min-width: 43px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    background: #12334b;

    border: 1px solid #1d4963;

    border-radius: 3px;

    color: #a6bac7;

    font-size: 8px;
    line-height: 1;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.live-list .odd:hover {
    background: #17405a;

    border-color: #2b627e;

    color: #ffffff;
}

.live-list .odd.active,
.live-list .odd.selected {
    background: #35c759;

    border-color: #35c759;

    color: #06131e;
}


/* =========================================
   SCORE / EVENT HIGHLIGHTS
========================================= */

.live-list .match-row.goal {
    background:
        linear-gradient(
            90deg,
            rgba(53, 199, 89, 0.08),
            #0d2940
        );
}

.live-list .goal-indicator {
    color: #35c759;

    font-size: 7px;
    font-weight: 800;
}


/* =========================================
   LIVE EMPTY
========================================= */

.live-empty {
    width: 100%;

    padding: 35px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background: #0b253b;

    border: 1px solid #183d56;

    border-radius: 4px;
}

.live-empty-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 11px;

    background: #102f46;

    border: 1px solid #1c455e;

    border-radius: 4px;

    color: #35c759;
}

.live-empty-icon svg {
    width: 23px;
    height: 23px;
}

.live-empty h2 {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.live-empty p {
    max-width: 290px;

    margin: 7px 0 15px;

    color: #6d8799;

    font-size: 9px;
    line-height: 1.5;
}

.live-empty-button {
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 13px;

    background: #35c759;
    color: #06131e;

    border-radius: 3px;

    font-size: 8px;
    font-weight: 900;
}

.live-empty-button:hover {
    background: #45d968;
}


/* =========================================
   ERROR
========================================= */

.live-error {
    width: 100%;

    padding: 30px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background: #0b253b;

    border: 1px solid #523b3b;

    border-radius: 4px;
}

.live-error-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    background: #33252a;

    border: 1px solid #594048;

    border-radius: 4px;

    color: #e58b8b;
}

.live-error-icon svg {
    width: 22px;
    height: 22px;
}

.live-error h2 {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.live-error p {
    max-width: 320px;

    margin: 7px 0 14px;

    color: #718b9d;

    font-size: 9px;
    line-height: 1.5;
}

.live-error-button {
    height: 30px;

    padding: 0 14px;

    background: #12334b;

    border: 1px solid #25516b;

    border-radius: 3px;

    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}

.live-error-button:hover {
    background: #17405a;
}


/* =========================================
   INFORMATION PANEL
========================================= */

.live-info-panel {
    min-height: 57px;

    display: flex;
    align-items: center;

    padding: 9px;

    margin-top: 10px;

    background: #091f32;

    border: 1px solid #153850;

    border-radius: 4px;
}

.live-info-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 8px;

    background: #102f46;

    border: 1px solid #1b435c;

    border-radius: 3px;

    color: #6f94aa;
}

.live-info-icon svg {
    width: 17px;
    height: 17px;
}

.live-info-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.live-info-text strong {
    color: #b9c9d3;

    font-size: 8.5px;
    font-weight: 800;
}

.live-info-text span {
    color: #5e788b;

    font-size: 7.5px;
    line-height: 1.35;
}


/* =========================================
   LOADING
========================================= */

.live-loading {
    min-height: 130px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;

    background: #0b253b;

    border: 1px solid #183d56;

    border-radius: 4px;

    color: #6d8799;

    font-size: 9px;
}

.live-loading .loading-spinner {
    width: 22px;
    height: 22px;

    border: 2px solid #1b4058;
    border-top-color: #35c759;

    border-radius: 50%;

    animation: foxbet-live-spin 0.8s linear infinite;
}

@keyframes foxbet-live-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    .live-page {
        max-width: 1100px;

        margin-left: auto;
        margin-right: auto;

        padding-top: 18px;
        padding-bottom: 30px;
    }

    .live-heading {
        min-height: 72px;
    }

    .live-heading h1 {
        font-size: 25px;
    }

    .live-heading p {
        font-size: 10px;
    }

    .live-list .match-row {
        grid-template-columns:
            65px
            minmax(0, 1fr)
            auto;

        min-height: 82px;

        padding: 9px 12px;
    }

    .live-list .match-time {
        min-height: 48px;
    }

    .live-list .team-name {
        font-size: 10px;
    }

    .live-list .score span {
        font-size: 12px;
    }

    .live-list .odd {
        min-width: 50px;
        height: 27px;
    }

}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1100px) {

    .live-page {
        max-width: 1180px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .live-page {
        padding-top: 10px;
    }

    .live-heading h1 {
        font-size: 19px;
    }

    .live-heading p {
        font-size: 8px;
    }

    .live-counter {
        min-width: 47px;
    }

    .live-list .match-row {
        grid-template-columns:
            43px
            minmax(0, 1fr)
            auto;

        gap: 5px;

        padding: 7px 6px;
    }

    .live-list .team-logo {
        width: 16px;
        height: 16px;

        flex-basis: 16px;

        margin-right: 5px;
    }

    .live-list .team-name {
        font-size: 8px;
    }

    .live-list .odd {
        min-width: 39px;

        padding: 0 4px;

        font-size: 7px;
    }

    .live-list .match-time .minute {
        font-size: 9px;
    }

}