﻿.popular_events_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popular_events_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.popular_events {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px solid var(--border-blue);
}

.popular_events_nav {
    top: 2px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

.popular_events_nav_button {
    width: 132px;
    height: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .popular_events_nav_button:focus,
    .popular_events_nav_button:active,
    .popular_events_nav_button:hover {
        background-color: var(--button-state);
    }

    .popular_events_nav_button[data-active="true"] {
        background-color: var(--button-state);
    }

    .popular_events_nav_button_icon {
        width: 24px;
        height: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .popular_events_nav_button_icon svg {
        width: 24px;
        height: 24px;
        display: block;
    }

.popular_events_nav_button:focus .global_icon_fill,
.popular_events_nav_button:active .global_icon_fill,
.popular_events_nav_button:hover .global_icon_fill  {
    fill: var(--icon-state);
}

.popular_events_nav_button[data-active="true"] .global_icon_fill {
    fill: var(--icon-state);
}

.popular_events_nav_button:focus .popular_events_nav_button_text,
.popular_events_nav_button:active .popular_events_nav_button_text,
.popular_events_nav_button:hover .popular_events_nav_button_text {
    color: var(--text-state);
}

.popular_events_nav_button[data-active="true"] .popular_events_nav_button_text {
    color: var(--text-state);
}

.popular_events_nav_button:nth-child(1) .popular_events_nav_button_icon {
    display: none;
}

.popular_prematch_markets {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popular_prematch_markets_nav::-webkit-scrollbar {
    display: none;
}

.popular_prematch_markets_nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
}

.popular_prematch_markets_nav_link {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
}

    .popular_prematch_markets_nav_link:focus,
    .popular_prematch_markets_nav_link:active,
    .popular_prematch_markets_nav_link:hover {
        background-color: var(--button-state);
    }

    .popular_prematch_markets_nav_link[data-active="true"] {
        background-color: var(--button-state);
    }

    .popular_prematch_markets_nav_link_icon {
        width: 24px;
        height: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .popular_prematch_markets_nav_link_icon svg {
        width: 24px;
        height: 24px;
        display: block;
    }

.popular_prematch_markets_nav_link:focus .global_icon_fill,
.popular_prematch_markets_nav_link:active .global_icon_fill,
.popular_prematch_markets_nav_link:hover .global_icon_fill {
    fill: var(--icon-state);
}

.popular_prematch_markets_nav_link[data-active="true"] .global_icon_fill {
    fill: var(--icon-state);
}

.popular_sport_market_events {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.popular_golf_market_events {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.popular_golf_market_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background-color: var(--surface-1);
    border-radius: 16px;
}

.popular_golf_market_actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular_golf_market_description {
    width: 100%;
    max-width: 380px;
    margin: auto;
    font-weight: 600;
    text-align: center;
}

.popular_golf_market_link {
    width: 100%;
    max-width: 300px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: 600;
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 48px;
}

    .popular_golf_market_link:focus,
    .popular_golf_market_link:active,
    .popular_golf_market_link:hover {
        background-color: var(--primary--green-hover);
    }

    .popular_golf_mark_image {
        width: 100%;
        height: 200px;
        display: block;
        border-radius: 16px;
    }

.popular_live_markets {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 4px;
}

#liveBettingIframe {
    width: 100%;
    min-height: 640px;
    border: none;
}

@media only screen and (min-width: 785px) {
    .popular_golf_market_container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 32px;
    }

    .popular_golf_market_description {
        width: initial;
        max-width: initial;
        text-align: left;
    }

    .popular_golf_market_link {
        margin: initial;
    }
}

@media only screen and (min-width: 1200px) {
    .popular_events_nav_button {
        width: 192px;
        height: 36px;
        gap: 8px;
    }

    .popular_golf_market_description {
        text-align: left;
    }
}
