﻿.sport_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sport_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
}

.sport_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sport_header_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.sport_header_datetime {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.sport_header_back_bar {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    background-color: var(--dark);
    border-radius: 4px;
}

.sport_back_button {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 0 4px 0 0;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.sport_back_button_icon {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
}

.sport_back_button:focus .sport_back_button_icon,
.sport_back_button:active .sport_back_button_icon {
    border-color: var(--primary-green);
}

.sport_back_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.sport_header_back_bar_breadcrumb {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.sport_header_back_bar_breadcrumb_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
    text-align: right;
}

.sport_header_back_bar_breadcrumb_icon {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .sport_header_back_bar_breadcrumb_icon {
        width: 100%;
        max-width: 32px;
        height: auto;
    }

.sport_header_back_bar_breadcrumb_icon img {
    width: 100%;
    max-width: 32px;
    height: auto;
}

.sport_coupons_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--dark);
    border-radius: 8px;
}

.sport_coupons_mobile_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    background-color: var(--light);
    border: 2px solid var(--dark);
    border-radius: 4px;
    cursor: pointer;
}

.sport_coupons_mobile_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.sport_coupons_mobile_icon {
    width: auto;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sport_coupons_mobile_button[data-active="true"] .sport_coupons_mobile_icon {
    transform: rotate(-180deg);
    transition: 0.2s ease-out;
}

.sport_coupons_mobile_button[data-active="false"] .sport_coupons_mobile_icon {
    transition: 0.2s ease-out;
}

.sport_coupons_nav_container {
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 4px;
}

    .sport_coupons_nav_container[data-active="true"] {
        display: flex;
    }

    .sport_coupons_nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

.sport_coupons_nav_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .sport_coupons_nav_button:focus,
    .sport_coupons_nav_button:active {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.sport_coupons_nav_link {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .sport_coupons_nav_link:focus,
    .sport_coupons_nav_link:active {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

    .sport_coupons_nav_link[data-active="true"] {
        background-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.sport_coupons_nav_search {
    height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
}

.sport_coupons_nav_search_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sport_coupons_nav_search_input::placeholder {
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
}

.sport_coupons_nav_search_input {
    width: 100%;
    height: 30px;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: transparent;
    border: none;
}

.sport_coupons_nav_search:focus,
.sport_coupons_nav_search:active {
    border-color: var(--primary-green);
    transition: 0.2s ease-out;
}

.sport_coupons_nav_button {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .sport_coupons_nav_button:focus,
    .sport_coupons_nav_button:active {
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

.sport_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sport {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
}

.search_result_not_found {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8px 0 0 0;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: var(--dark);
    background-color: var(--grey);
    border-radius: 8px;
}

.sports_card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--grey);
    border-radius: 8px;
}

.sports_card_header_button {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 4px;
    background-color: var(--dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sports_card_header_link {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 4px;
    text-decoration: none;
    background-color: var(--dark);
    border: none;
    border-radius: 4px;
}

.sports_card_title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.flag_icon {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
}

    .flag_icon img {
        width: 100%;
        max-width: 28px;
        height: auto;
        display: block;
    }

.sports_card_title_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
    text-align: left;
}

.sport_card_header_actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sport_card_header_count {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.sport_card_header_toggle_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .sport_card_header_toggle_icon img {
        width: 100%;
        max-width: 20px;
        height: auto;
        display: block;
    }

.sports_card_header_button[data-active="true"] .sport_card_header_toggle_icon {
    transform: rotate(-180deg);
    transition: 0.2s ease-out;
}

.sports_card_header_button[data-active="false"] .sport_card_header_toggle_icon {
    transition: 0.2s ease-out;
}

.sports_card_body {
    width: 100%;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 2px;
}

    .sports_card_body[data-active="true"] {
        display: flex;
    }

.sports_card_body_grouped {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 0;
    border-bottom: 1px solid var(--dark);
}

.sport_body_grouped_market_type {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

    .sport_body_grouped_market_type:nth-child(2) {
        display: none;
    }

.sport_card_market_type {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sport_card_market_type_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    text-align: center;
}

.sports_card_body_fixtures {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.sports_outrights_card_body_fixtures {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.sport_fixture {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sport_outrights_fixture {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sport_markets_fixtures {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
}

.sport_fixture_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.sport_outrights_fixture_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.sport_fixture_title {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
}

.sport_outrights_fixture_title {
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
}

.sport_fixture_title_text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.sport_outrights_fixture_title_text {
    font-size: 12px;
}

.sport_fixture_more_bets_link {
    width: 128px;
    height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    background-color: var(--light);
    border: 2px solid var(--primary-green);
    border-radius: 48px;
}

.sport_fixture_more_bets_link_text {
    font-size: 12px;
    font-weight: bold;
    color: var(--dark);
}

.sport_fixture_more_bets_link_count {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.sport_fixture_more_bets_link:focus,
.sport_fixture_more_bets_link:active {
    background-color: var(--primary-green);
    transition: 0.2s ease-out;
}

.sport_fixture_body {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.sport_outrights_fixture_body {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.sport_outrights_fixture_grouped {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1px;
}

.sport_fixture_participants {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.sport_outrights_fixture_participants {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.sport_fixture_participant_text {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border-radius: 8px;
}

.sport_outrights_fixture_participant_text {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 4px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
    background-color: var(--light);
    border-radius: 8px;
}

.sport_fixture_participant_odds {
    display: flex;
    flex: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
}

.sport_outrights_fixture_participant_odds {
    display: flex;
    flex: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
}

.participant_match_odds {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.sport_outrights_participant_odds {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.add_bet_link {
    width: 64px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
    text-decoration: none;
    background-color: var(--dark);
    border-radius: 4px;
}

    .add_bet_link:focus,
    .add_bet_link:active {
        font-weight: bold;
        color: var(--dark);
        background-color: var(--primary-orange);
        transition: 0.2s ease-out;
    }

    .add_bet_link.handicap_odds {
        padding-top: 12px;
    }

.add_bet_link_grouped {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.participant_handicap_odds {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.handicap_value {
    position: absolute;
    top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}

.sport_page_content_container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px auto 0 auto;
    padding: 8px;
    border: 2px solid var(--grey);
    border-radius: 8px;
}

.sport_page_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sport_page_content_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.sport_page_content_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
}

    .sport_page_content_text a {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        color: var(--dark);
    }

.sport_page_content_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 36px;
}

    .sport_page_content_list li {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        color: var(--dark);
    }

.sport_results_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: rgba(8, 21, 53, 0.75);
    z-index: 99999;
}

.sport_results_modal {
    width: 100%;
    max-width: 480px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--dark);
    border-radius: 8px;
}

.sport_results_modal_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
}

.sport_results_modal_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.close_sport_results_modal {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.sport_results_modal_body::-webkit-scrollbar {
    display: none;
}

.sport_results_modal_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.results_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.results_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.results_message_text {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: var(--light);
}

.results {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 4px;
    background-color: var(--light);
    border-radius: 4px;
}

.results_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.results_header_date {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.results_header_event {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
}

.results_body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.results_body_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark);
}

@media only screen and (min-width: 680px) {
    .sport_coupons_container {
        border-radius: 4px;
    }

    .sport_body_grouped_market_type {
        width: 50%;
        justify-content: flex-end;
    }

        .sport_body_grouped_market_type:nth-child(2) {
            display: flex;
        }

    .sport_fixture {
        width: calc(50% - 4px);
    }

    .sport_outrights_fixture_grouped {
        width: calc(50% - 1px);
    }
}

@media only screen and (min-width: 960px) {
    .sport_card_market_type {
        width: 96px;
    }

    .sport_outrights_fixture_grouped {
        width: calc(33.33% - 2px);
    }

    .participant_match_odds {
        width: 96px;
    }

    .participant_handicap_odds {
        width: 96px;
    }

    .add_bet_link {
        width: 96px;
    }
}

@media only screen and (min-width: 1200px) {
    .sport_coupons_nav_link:hover {
        background-color: var(--primary-green);
    }

    .sport_coupons_mobile_button {
        display: none;
    }

    .sport_coupons_nav_container {
        display: flex;
    }


    .sport_coupons_nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sport_coupons_nav_button {
        width: initial;
        min-width: 108px;
        justify-content: center;
    }

        .sport_coupons_nav_button:hover {
            border-color: var(--primary-green);
            transition: 0.2s ease-in-out;
        }

        .sport_coupons_nav_link {
            width: initial;
            min-width: 108px;
            justify-content: center;
        }

    .sport_body_grouped_market_type:nth-child(2) {
        display: none;
    }

    .sport_fixture {
        width: 100%;
    }

    .sport_outrights_fixture_grouped {
        width: calc(50% - 1px);
    }

    .sport_fixture_more_bets_link:hover {
        background-color: var(--primary-green);
        transition: 0.2s ease-in-out;
    }

    .add_bet_link:hover {
        color: var(--dark);
        background-color: var(--primary-orange);
        transition: 0.2s ease-in-out;
        }

    .sport_back_button:hover .sport_back_button_icon {
        border-color: var(--primary-green);
        transition: 0.2s ease-in-out;
    } 
}

@media only screen and (min-width: 1360px) {
    .sport_body_grouped_market_type:nth-child(2) {
        display: flex;
    }

    .sport_fixture {
        width: calc(50% - 4px);
    }
}

@media only screen and (min-width: 1680px) {
    .sport_outrights_fixture_grouped {
        width: calc(33.33% - 2px);
    }
}
