:root {
    --primary-color: #005483;
    --secondary-color: #EE441D;
    --background-color: #f5f7fa;
    --text-color: #2c3e50;
    --border-color: #e2e8f0;
}

.spsb_player_detailed_statistics.spsb_comparision_table_wrap {
	margin: unset;
}

.spsb_player_detailed_statistics #spsb_comparision_table {
	overflow: auto;
}

.spsb_player_detailed_statistics #spsb_comparision_table thead td {
	white-space: nowrap;
}

.spsb_header_team_url,
.spsb_header_team_url:hover {
    color: #fff !important;
}

.spsb_light_green {
    background-color: #c2ef83 !important;
}

.spsb_dark_green {
    background-color: #a8e55f !important;
}

.spsb_green {
    background-color: #90ee90 !important;
}

.spsb_yellow {
    background-color: #fff0b8 !important;
}

.spsb_red {
    background-color: #ff9999 !important;
}

.spsb_pink {
    background-color: #ffe9e6 !important;
}

.spsb_blue {
    background-color: #dbf2fd !important;
}

.spsb_null {
    background-color: #fff !important;
}

.spsb_grey {
    background-color: #e5e7eb !important;
}

body .spsb_header_team_url .badge {
	width: 80px;
	padding: 4px;
	border-radius: 2px;
	background-color: #FFF;
	display: flex;
	max-height: unset !important;
	min-height: unset !important;
	min-width: unset !important;
	max-width: unset !important;
}

.spsb_fixture_header_team_logo {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: flex;
}

.spsb_fixture_header_team_stats {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.spsb_fixture_header_team_stats.spsb_away_fixture_header_team_stats {
    align-items: end;
}

.spsb_fixture_header_odds {
    color: #000;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
    text-align: center;
}

.spsb_fixture_header_form {
    display: flex;
    gap: 0.125rem;
    white-space: nowrap;
}

.spsb_fixture_header_form_indicator {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.125rem;
}

.spsb_fixture_header_W {
    background-color: #22c55e;
}

.spsb_fixture_header_L {
    background-color: #ef4444;
}

.spsb_fixture_header_D {
    background-color: #e4990a;
}

.spsb_fixture_header_team_name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.spsb_fixture_header_league {
    font-size: 0.875rem;
    color: #cbdbfb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #121d38;
    padding-bottom: 5px;
}

.spsb_fixture_header_league img {
    width: 20px;
}

.spsb_header_country_url {
    color: #cbdbfb;
}

.spsb_header_country_url:hover {
    color: #cbdbfb !important;
    text-decoration: underline;
}

.spsb_fixture_header_time {
    font-size: 12px;
    color: #a6b4d6;
}

.spsb_fixture_header_stats {
    color: #a6b4d6;
    font-size: 13px;
    font-weight: 500;
}

.spsb_header_wraning_wrapper {
    display: flex;
    margin: 15px 0 -5px;
    align-items: center;
    justify-content: center;
}

.spsb_header_wraning {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    color: #4a4a4a;
    max-width: 1440px;
    border-radius: 2px;
    box-sizing: border-box;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 204, 128, 0.1);
    border-left: 4px solid rgba(255, 165, 0, 0.6);
}

.spsb_fixture_container {
	display: flex;
	gap: 20px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 0px;
}

.spsb_fixture_main_content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spsb_table_title_wrapp {
    gap: 10px;
    display: flex;
    align-items: center;
}

.spsb_table_title {
    color: #263558 !important;
    font-weight: 700 !important;
}

.spsb_table_title_desc {
    color: #000000B0;
    /* font-size: 16px;
    font-weight: 450; */
    /* text-transform: capitalize; */
}

.spsb_0_10 {
    background-color: rgba(255, 233, 230, 1) !important;
}

.spsb_11_20 {
    background-color: rgba(255, 224, 220, 1) !important;
}

.spsb_21_30 {
    background-color: rgba(255, 218, 199, 1) !important;
}

.spsb_31_40 {
    background-color: rgba(255, 240, 184, 1) !important;
}

.spsb_41_50 {
    background-color: rgba(246, 247, 205, 1) !important;
}

.spsb_51_60 {
    background-color: rgba(230, 246, 179, 1) !important;
}

.spsb_61_70 {
    background-color: rgba(210, 244, 164, 1) !important;
}

.spsb_71_80 {
    background-color: rgba(114, 218, 35, 0.4509803922) !important;
}

.spsb_81_90 {
    background-color: rgba(194, 239, 131, 1) !important;
}

.spsb_91_100 {
    background-color: rgba(168, 229, 95, 1) !important;
}

.spsb_prediction-stats-column {
    background: #f5f7fa;
}

.spsb_content_box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spsb_content_box h3 {
    margin: 0;
    padding: 0;
}

.spsb_table_title_wrapp {
    gap: 10px;
    display: flex;
    align-items: center;
    padding: 15px;
    box-shadow: 0 1px 10px 0 rgba(13, 30, 49, 0.12);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.spsb_content_box__content {
    padding: 15px;
}

.spsb_prediction_stats_column {
	text-align: center;
	padding: 15px;
	border-radius: 6px;
	transition: transform 0.2s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.spsb_prediction_stats_column:hover {
    transform: translateY(-2px);
}

.spsb_fixtures_h2h_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spsb_fixtures_h2h_title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.spsb_fixtures_h2h_teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
    /* 32px; */
    /* Modified By Dividi */
}

.spsb_fixtures_h2h_team_logo {
    width: 52px;
    height: 52px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dde0e7;
    padding: 0.2em;
    border-radius: 4px;
    position: relative;
    /* Added By Dividi */
}

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

.spsb_fixtures_h2h_stats_bar {
    flex: 1;
    margin: 0 32px;
}

.spsb_fixtures_h2h_progress {
    height: 24px;
    display: flex;
    width: 100%;
    margin: 0.5em 0 0.15em 0;
    /* Added By Dividi */
}

.spsb_fixtures_h2h_progress_wins1 {
    background: #4ade80;
}

.spsb_fixtures_h2h_progress_draws {
    background: #fde047;
    position: relative;
}

.spsb_fixtures_h2h_progress_wins2 {
    background: #f87171;
}

.spsb_fixtures_h2h_results {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.spsb_fixtures_h2h_result_item {
    text-align: center;
}

.spsb_fixtures_h2h_description {
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.spsb_fixtures_h2h_stats_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.spsb_fixtures_h2h_stat_box {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 16px;
}

.spsb_fixtures_h2h_stat_header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.spsb_fixtures_h2h_stat_percentage {
    font-size: 24px;
    font-weight: bold;
}

.spsb_fixtures_h2h_stat_label {
    font-size: 18px;
}

.spsb_fixtures_h2h_stat_matches {
    color: #666;
}

.spsb_fixtures_h2h_progress_wins2 {
    position: relative;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.spsb_fixtures_h2h_progress_wins1 {
    position: relative;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.spsb_h2h_team_url {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spsb_fixtures_h2h_stats_bar {
    margin: 0 50px;
}

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

.spsb_h2h_team_name {
    margin-top: 6px;
    font-weight: 600;
}

.spsb_fixtures_h2h_stat_box {
    box-shadow: 0 1px 4px 0 rgba(30, 55, 86, 0.12);
}

.spsb_fixtures_h2h_teams .spsb_total_matches_wrap {
	text-align: center;
	font-size: inherit;
	font-weight: 400;
	color: #555;
}

.spsb_fixtures_h2h_teams .spsb_total_matches {
	font-weight: bold;
	font-size: 19.2px;
}

.spsb_fixtures_h2h_teams .spsb_home_team_arrow {
    top: 60%;
    width: 34px;
    right: -49px;
    height: 1.2px;
    position: absolute;
    background-color: #697a8a;
}

.spsb_fixtures_h2h_teams .spsb_away_team_arrow {
    top: 60%;
    width: 34px;
    left: -49px;
    height: 1.2px;
    position: absolute;
    background-color: #697a8a;
}

.spsb_single_fixture .spsb_fixture_header_team_name {
	white-space: wrap;
}

.spsb_player_containar {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	transition: transform 0.2s ease;
}

.spsb_player_containar:hover {
	transform: translateY(-2px);
}

.spsb_team_players_wrap .spsb_player_wrap {
	display: flex;
	justify-content: flex-start;
	align-items: center;
    gap: 10px;
}

.spsb_team_players_wrap .spsb_player_logo {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(16, 16, 41, 0.15);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	border-radius: 40px;
}

.spsb_team_players_wrap .spsb_player_name {
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 8px;
	font-size: 18px;
    white-space: wrap;
    text-align: left;
    display: flex;
}

.spsb_team_players_wrap .spsb_player_shirt_number {
	margin-right: 5px;
}

.spsb_team_players_wrap .spsb_player_data {
	display: flex;
	flex-direction: column;
	align-items: baseline;
}

.spsb_team_players_wrap .spsb_player_data_2 {
	font-size: 13px;
	color: #000;
}

.spsb_comparision_table_wrap.spsb_player_detailed_statistics {
    overflow: auto;
}

.spsb_league_fixture_over_pred_val,
.spsb_league_fixture_btts_val {
    width: 70%;
    margin: auto;
    display: flex;
    min-height: 100%;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
}


@media only screen and (max-width: 1500px) {

    .spsb_header_wraning {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }

    .spsb_fixture_container, .spsb_league_container {
        margin: 0 15px !important;
        max-width: 100% !important;
    }

}

/* @media only screen and (max-width: 1024px) {
    .spsb_fixtures_h2h_stats_grid {
        grid-template-columns: repeat(2, 1fr);
    }

} */

@media only screen and (max-width: 768px) {

    
    .spsb_single_fixture .spsb_fixture_header_wrapper {
        flex-direction: unset !important;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .spsb_single_fixture .spsb_header_team_url {
        width: 45% !important;
    }

    .spsb_single_fixture .spsb_fixture_header_match_info.spsb_fixture_header_match_info_desktop {
        order: 1;
        width: 100% !important;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .spsb_single_fixture .spsb_header_team_url.spsb_away_header_team_url {
        display: flex;
        justify-content: end;
    }

}

@media only screen and (max-width: 650px) {

    .spsb_fixtures_h2h_stats_bar {
        margin: 0 5px !important;
    }

    .spsb_fixtures_h2h_teams {
        font-size: 14.5px;
    }

    .spsb_fixtures_h2h_team_logo {
        height: 48px;
        width: 48px;
    }

    .spsb_home_team_arrow,
    .spsb_away_team_arrow {
        display: none;
    }

    .spsb_fixtures_h2h_team_logo_wrapp {
        max-width: 100px;
    }

    .spsb_h2h_team_name {
        line-height: normal;
    }

    .spsb_fixtures_h2h_stats_grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media only screen and (max-width: 600px) {

    .spsb_fixtures_h2h_stats_grid {
        grid-template-columns: repeat(1, 1fr);
    }

}

@media only screen and (max-width: 500px) {

    .spsb_fixture_header_league {
        align-items: baseline;
    }

    .spsb_single_fixture .spsb_fixture_header_form_indicator {
        height: 16px !important;
        width: 16px !important;
    }

    .spsb_single_fixture .spsb_fixture_header_odds {
        line-height: 20px !important;
        font-size: 13px;
    }

    .spsb_single_fixture .spsb_fixture_header_team_name {
        font-size: 0.75rem;
    }

    .spsb_single_fixture .badge {
        min-height: 50px !important;
        min-width: 50px !important;
        max-height: 50px !important;
        max-width: 50px !important;
    }

    .spsb_single_fixture  .spsb_fixture_header_match_info.spsb_fixture_header_match_info_desktop * {
        font-size: 12px !important;
    }

    .spsb_single_fixture  .spsb_fixture_header_league img {
        width: 15px;
    }

}

@media only screen and (max-width: 480px) {

    .spsb_header_wraning {
        margin-left: 10px;
        margin-right: 10px;
    }

    .spsb_fixtures_h2h_result_item>div,
    .spsb_fixtures_h2h_result_item,
    .spsb_ligue_h2h_home_wrapp,
    .spsb_ligue_h2h_away_wrapp,
    .spsb_h2h_home_wins,
    .spsb_h2h_away_wins {
        font-size: 14.5px;
    }

}

@media only screen and (max-width: 440px) {

    .spsb_fixtures_h2h_result_item>div,
    .spsb_fixtures_h2h_result_item,
    .spsb_ligue_h2h_home_wrapp,
    .spsb_ligue_h2h_away_wrapp,
    .spsb_h2h_home_wins,
    .spsb_h2h_away_wins {
        font-size: 14px;
    }

    .spsb_fixtures_h2h_teams {
        margin-bottom: 50px;
    }

    .spsb_fixtures_h2h_stats_bar {
        margin: 0 26px;
    }

    .spsb_home_team_arrow {
        width: 18px;
        right: -25px;
        height: 1.3px;
    }

    .spsb_away_team_arrow {
        width: 18px;
        left: -25px;
        height: 1.3px;
    }

    .spsb_total_matches_wrap {
        font-size: 14.5px;
    }

    .spsb_ligue_h2h_wrapp {
        gap: 26px;
    }

    .spsb_ligue_home_team_arrow {
        width: 18px;
        right: -25px;
    }

    .spsb_ligue_away_team_arrow {
        width: 18px;
        left: -25px;
    }

    .spsb_ligue_h2h_progress_wrapp {
        margin-bottom: 85px;
    }

    .spsb_fixtures_h2h_result_item>div {
        max-width: 42px;
        line-height: normal;
    }

}

@media only screen and (max-width: 440px) {
    .spsb_single_fixture .spsb_fixtures_h2h_stat_percentage {
        font-size: 17px !important;
    }

    .spsb_single_fixture .spsb_fixtures_h2h_stat_label {
        font-size: 13px;
    }

    .spsb_single_fixture .spsb_fixtures_h2h_stat_matches {
        font-size: 15px;
    }

    .spsb_fixtures_h2h_stat_header {
        gap: 5px !important;
    }
}



@media only screen and (max-width: 400px) {

    .spsb_team_players_wrap .spsb_player_name {
        font-size: 15px;
    }

    .spsb_single_fixture .spsb_fixtures_h2h_stat_box {
        flex-direction: column;
        line-height: 1;
    }

    .spsb_single_fixture .spsb_single_fixture .spsb_fixture_header_wrapper {
        flex-direction: column !important;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .spsb_single_fixture .spsb_single_fixture .spsb_header_team_url {
        width: 100% !important;
    }

    .spsb_single_fixture .spsb_fixture_header_team_stats.spsb_away_fixture_header_team_stats {
        align-items: start;
    }


    .spsb_single_fixture .spsb_header_team_url.spsb_away_header_team_url .spsb_fixture_header_team {
    flex-direction: row-reverse;
    }
    .spsb_single_fixture .spsb_away_header_team_url .spsb_fixture_header_team_info {
    text-align: left !important;
    }

    .spsb_single_fixture .spsb_header_team_url {
        width: 100% !important;
    }

    .spsb_single_fixture .spsb_header_team_url.spsb_away_header_team_url {
        display: flex;
        justify-content: start;
        flex-direction: row-reverse;
    }

    .spsb_single_fixture .spsb_away_header_team_url .spsb_fixture_header_team_info {
        text-align: left !important;
    }

    .spsb_single_fixture .spsb_fixture_header_team_stats.spsb_away_fixture_header_team_stats {
        align-items: start;
    }

    .spsb_single_fixture .spsb_fixture_header_match_info.spsb_fixture_header_match_info_desktop {
        order: 1;
        width: 100% !important;
        justify-content: start !important;
        display: flex;
        align-items: start;
    }

    .spsb_fixtures_h2h_description,
    .spsb_team_logo_name {
        font-size: 14px;
    }

    .spsb_goals_better,
    .spsb_goals_bar {
        font-size: 15px;
    }

    .spsb_stats_note {
        font-size: 0.8em;
        line-height: normal;
    }

}