/* Sports Widget Local Styles - Grandpashabet Clone */
.cw_sports_section {
    width: 100%;
    margin-bottom: 24px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    user-select: none;
}

/* Sports Filter Tabs */
.cw_sports_filter_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.cw_sports_tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cw_sports_tabs::-webkit-scrollbar {
    display: none;
}

.cw_sport_tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a2211;
    color: #9aa88c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    padding: 0 10px;
}

.cw_sport_tab.icon_only {
    width: 36px;
    padding: 0;
    border-radius: 50%;
}

.cw_sport_tab svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.cw_sport_tab:hover {
    background: #243017;
    color: #efbf4b;
    border-color: rgba(239, 191, 75, 0.35);
}

.cw_sport_tab.active {
    background: #efbf4b !important;
    color: #11140c !important;
    font-weight: 700;
    border-color: #efbf4b !important;
    box-shadow: 0 2px 8px rgba(239, 191, 75, 0.25);
    padding: 0 16px;
    border-radius: 20px;
}

.cw_sport_tab.active svg {
    fill: #11140c;
}

/* Navigation Arrows (< >) */
.cw_sports_nav_arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw_sports_nav_btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #161c0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #7b886d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cw_sports_nav_btn:hover {
    background: #222b15;
    color: #efbf4b;
    border-color: rgba(239, 191, 75, 0.3);
}

.cw_sports_nav_btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Cards Grid */
.cw_sports_cards_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}

@media (max-width: 991px) {
    .cw_sports_cards_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .cw_sports_cards_grid {
        grid-template-columns: 1fr;
    }
}

/* Single Match Card */
.cw_match_card {
    background: #141b0d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    position: relative;
}

.cw_match_card:hover {
    border-color: rgba(239, 191, 75, 0.25);
    background: #161e0f;
}

/* Card Header */
.cw_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.cw_card_league {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #929e84;
    font-size: 11.5px;
    font-weight: 500;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cw_flag_icon {
    width: 15px;
    height: 11px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
    display: inline-block;
}

.cw_card_fav_btn {
    background: none;
    border: none;
    color: #647057;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cw_card_fav_btn:hover,
.cw_card_fav_btn.active {
    color: #efbf4b;
}

.cw_card_fav_btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Live Time / Pre-match Date */
.cw_card_time_row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11.5px;
}

.cw_live_badge {
    color: #ff4d4d;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cw_live_pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff4d4d;
    box-shadow: 0 0 6px #ff4d4d;
}

.cw_prematch_time {
    color: #839174;
    font-weight: 500;
}

.cw_stream_icon {
    color: #6c785f;
    display: inline-flex;
    align-items: center;
}
.cw_stream_icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Teams & Scores (Live) */
.cw_card_teams {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

.cw_team_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cw_team_info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.cw_team_logo {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
}

.cw_team_name {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.cw_team_score {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding-left: 10px;
}

/* Market & More Bets Row */
.cw_card_market_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 11px;
}

.cw_market_title {
    color: #788568;
    font-weight: 500;
}

.cw_more_markets {
    color: #8c9a7b;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
}
.cw_more_markets:hover {
    color: #efbf4b;
}

/* Odds Container */
.cw_card_odds_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cw_card_odds_grid.two_cols {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 6px;
}

.cw_odd_box {
    background: #1c2413;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.cw_odd_box:hover {
    background: #263118;
    border-color: rgba(239, 191, 75, 0.35);
}

.cw_odd_box.active {
    background: #efbf4b !important;
    border-color: #efbf4b !important;
}

.cw_odd_box.active .cw_odd_lbl,
.cw_odd_box.active .cw_odd_val {
    color: #11140c !important;
    font-weight: 700;
}

.cw_odd_lbl {
    color: #7b886c;
    font-size: 11px;
    font-weight: 600;
}

.cw_odd_val {
    color: #f7ca55;
    font-size: 12.5px;
    font-weight: 700;
}

/* Bottom Card Slider Dot */
.cw_card_slider_bar {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    margin: 12px auto 2px;
}
