:root {
    --bg-dark: #1a1a1f;
    --bg-sidebar: #25252b;
    --bg-card: #2a2a32;
    --accent-orange: #e85d3b;
    --accent-green: #7cb342;
    --accent-blue: #3d4a7a;
    --accent-purple: #715dbc;
    --accent-yellow: #f4c430;
    --text-muted: #8b8b92;

    
        --body-bg: #0d1117;
        --body-color: #c9d1d9;
        --card-bg: #161b22;
        --card-border: #30363d;
        --accent-blue: #1f6feb;
        --nav-hover: #21262d;
    
}

@font-face {
    font-family: 'CCZoinks Regular';
    font-style: normal;
    font-weight: normal;
    src: local('CCZoinks Regular'), url('CCZoinks.woff') format('woff');
    }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: #fff;
    min-height: 100vh;
}

main .container-fluid {
    padding-top: 10px;
}

.blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.25); /* optional frosted look */
    z-index: 5;
    display: flex;               /* allows centering or layout */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
  }
  

.logo-brand {
    font-family: 'CCZoinks Regular', sans-serif;
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 5px #000;
}

.logo-brand a {
    text-decoration: none;
    color: inherit;
}

.logo-brand span {
    position: relative;
    display: inline-block;
    color: var(--accent-yellow);
}

.logo-accent {
    position: relative;
    display: inline-block;
}

.logo-underline {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 10px;
    color: var(--accent-yellow);
    transform: rotate(-5deg);
    transform-origin: right center;
}

/* Mobile icon buttons */
.btn-icon {
    background: transparent;
    border: none;
    padding: 0.25rem 0.5rem;
    color: inherit;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.btn-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
}

.text-purple {
    color: var(--purple, #8b5cf6) !important;
}

/* Offcanvas styling */
.offcanvas {
    background: var(--nav-bg, #1a1a2e);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close {
    filter: invert(1);
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: inherit;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--purple, #8b5cf6);
}

/* Ensure hamburger icon is visible */
.navbar-toggler:focus {
    box-shadow: none;
}

.cheeky {
    background: url(/images/cleverman-wink.webp) right / contain no-repeat;
}

.clever {
    background: url(/images/cleverman_colour2.webp) right / contain no-repeat;
}

.stupid {
    background: url(/images/cleverman_colour3.webp) right / contain no-repeat;
}

.hopeless {
    background: url(/images/cleverman-hopeless.webp) right / contain no-repeat;
}

.horse {
    background: url(/images/cleverman-horse.webp) right / contain no-repeat;
}

/* horse Racing */
tr.winner-row td {
    background: #497517;
}


#leagueTablesCards img {
    height: 65px;
    width: auto;
}

#leagueTablesCards p {
    font-size: 0.8rem;
    margin: 0;
}

#leagueTablesCards .card {
    height: 110px;
    justify-content: center;
    text-align: center;
}

.league-table.table>:not(caption)>*>* {
    /*padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 1px;
    padding-right: 1px;*/
    text-align: center;
    font-size: 15px;
}

.league-table td.table-form {
    text-align: left !important;
    text-wrap-mode: nowrap;
}

.form-badges {
    display: inline-block; width: 24px; line-height: 24px; text-align: center; font-weight: bold; font-size: 0.8rem; border-radius: 2px;
}

.football {
    background: url(/images/cleverman-football.webp) right / contain no-repeat;
}

.football-cards .stats-card {
   /* background-color: #f5f5f5; */
   position: relative;
    /* Ensure the container has enough padding on the right so text doesn't overlap the image */
   padding-right: 80px;
}


.football-cards .stats-card::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    /* Size of the white box */
    width: 70px;
    height: 70px;
    
    /* The Background Color */
    background-color: #ffffff; 
    
    /* Rounded Corners */
    border-radius: 12px;
    
    /* Center the logo and scale it down to create "padding" */
    /* 60% size means there is 20% whitespace on all sides */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%; 
    
    /* Optional: A shadow on the box itself to lift it off the dark background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.football-cards .stats-card.football-world-cup::after {
    /* 1. Remove any existing background image */
   background-image: none; 
    
   /* 2. Set the font family to Bootstrap Icons */
   font-family: "bootstrap-icons" !important;
   
   /* 3. Set the content to the Unicode of the Trophy icon (\f5fa) */
   /* You can find these codes on the Bootstrap Icons website cheat sheet */
   content: "\f5e6"; 
   
   /* 4. Center the icon inside the rounded box */
   display: flex;
   align-items: center;
   justify-content: center;
   
   /* 5. Style the icon (Color and Size) */
   font-size: 30px; /* Adjust to fit inside your 70px box */
   color: #d7aa43;     /* Make it dark so it contrasts with the white box */
   font-style: normal;
}

.football-uefa-cl::after {
    background: url(https://media.api-sports.io/football/leagues/2.png) right / contain no-repeat;
  }

.football-eng-pl::after {
    background: url(https://media.api-sports.io/football/leagues/39.png) right / contain no-repeat;
}

.football-eng-cs::after {
    background: url(https://media.api-sports.io/football/leagues/40.png) right / contain no-repeat;
}

.football-spain-ll::after {
    background: url(https://media.api-sports.io/football/leagues/140.png) right / contain no-repeat;
}

.football-italy-sa::after {
    background: url(https://media.api-sports.io/football/leagues/135.png) right / contain no-repeat;
}

.football-england-fa-cup::after {
    background: url(https://media.api-sports.io/football/leagues/45.png) right / contain no-repeat;
}



.bg-purple {
    background-color: var(--accent-purple) !important;
}

.bg-success {
    background-color: var(--accent-green) !important;
}

.bg-orange {
    background-color: var(--accent-orange) !important;
}

.bg-stripe {
    background-color: #243a4f;
}

.odds-hover-dropdown .dropdown-menu {
    min-width: 140px;
    top: auto;
    bottom: 100%;
    margin-bottom: 0px;
}

.odds-hover-dropdown:hover .dropdown-menu {
    display: block;
}

.odds-hover-dropdown .dropdown-menu a:hover {
    border-radius: 4px;
    flex-grow: 10%;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch; 
}

/*top cards*/
#top-cards .stats-card.h-100 {
    border: 1px solid #454545;
    font-size: 0.7em;
    max-height: 130px;
}

#top-cards a {
    text-decoration: none;
    color: #fff;
}
/* Sidebar - Desktop */

/* Sidebar2 - slides out from under sidebar */
.sidebar2, .sidebar3 {
    position: fixed;
    top: 0;
    left: 100px;
    width: 100px;
    background-color: var(--bg-sidebar);
    z-index: 1029;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.sidebar2.show, .sidebar3.show {
    transform: translateX(0);
}

/* Main content transition */
.main-content {
    transition: margin-left 0.3s ease-in-out;
}

/* When sidebar2 is open, push main content */
.main-content.sidebar2-open, .main-content.sidebar3-open {
    margin-left: 200px; /* Same as sidebar2 width */
}

.sidebar2, .sidebar3 {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

@media (min-width: 768px) {
    .sidebar2, .sidebar3 {
        display: flex;
    }
}

.sidebar {
    background-color: var(--bg-sidebar);
    height: 100vh;
    padding: 20px 10px;
    width: 100px;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 30px;
}

.sidebar-logo i {
    color: #ffc107;
}

.nav-item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.65rem;
    text-align: center;
    margin-bottom: 8px;
}

.nav-pills .nav-link:not(.active) {
    background: #d3d3d3;
    color: #000;
}

.nav-item-sidebar:hover,
.nav-item-sidebar.active {
    background-color: var(--accent-orange);
    color: #fff;
}

.nav-item-sidebar.active-green {
    background-color: var(--accent-green);
    color: #fff;
}

.nav-item-sidebar i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

/* Mobile Bottom Nav */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-sidebar);
    padding: 8px 0;
    z-index: 1050;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .nav-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.6rem;
}

.mobile-nav .nav-item-mobile.active {
    color: var(--accent-orange);
}

.mobile-nav .nav-item-mobile i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}


/* Top Navigation */

.top-blur {
    position: relative;
    z-index: 1025;
}
.top-blur::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5rem; 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari */
    background-color: rgba(26, 26, 31, 0.6); 
    pointer-events: none;
}

.top-nav {
    position: sticky;
    top: 16px;
    padding: 15px 0px;
    z-index: 1030;
}

.top-nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

span.divider {
    font-size: 0.8em;
    border-top: 1px solid #ff4b1530;
    border-bottom: 1px solid #ff4b1530;
    color: #ff4b15;
    font-weight: 500;
    margin-bottom: 8px;
}

nav.top-nav {
    padding: 5px;
    background: linear-gradient(90deg, #1a1a1f 4%, #8bbf52 16%, #8cbf53 84%, #1a1a1f 100%);
}

.top-nav-links a:hover {
    color: #ffd7cd;
}

.top-nav-links a.active {
    text-transform: uppercase;
    border-bottom: solid 2px #fff;
}

.btn-outline-custom {
    border: 1px solid #f5f5f5;
    color: var(--text-white);
    font-size: 0.8rem;
}

.btn-outline-custom:hover {
    border-color: #fff;
    color: #fff;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-orange:hover {
    background-color: #d64a2a;
    color: #fff;
}

.btn-outline-orange {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #d64a2a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #d64a2a;
    --bs-btn-hover-border-color: #d64a2a;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d64a2a;
    --bs-btn-active-border-color: #d64a2a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #d64a2a;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #d64a2a;
    --bs-gradient: none;
}



.btn-purple {
    background-color: var(--accent-purple);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-purple:hover {
    background-color: #c40cab;
    color: #fff;
}

/* User Info */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-details .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details .role {
    color: var(--text-white);
    font-size: 0.75rem;
}

/* Stats Cards */
.stats-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    will-change: transform;
}


.stats-card a {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
  }

.stats-card .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }

.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title-custom {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}


/* Orange Card */
.card-orange {
    background: linear-gradient(135deg, #e85d3b 0%, #f4a574 100%);
}

.card-orange .big-number, .big-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 768px) {
    .card-orange .big-number {
        font-size: 4.5rem;
    }
}

.card-orange .decorative-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.3;
}

@media (min-width: 768px) {
    .card-orange .decorative-icon {
        font-size: 5rem;
        right: 20px;
    }
}

/* Green Card */
.card-green {
    background: linear-gradient(135deg, #7cb342 0%, #9ccc65 100%);
}



.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 7px;
    left: 0px;
}

/* Blue Card */
.card-blue {
    background: linear-gradient(135deg, #3d4a7a 0%, #5c6bc0 100%);
}

.time-display {
    font-size: 2rem;
    font-weight: 700;
}

.score-display {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.9;
}

.ball-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 3rem;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .time-display {
        font-size: 2.5rem;
    }
    .score-display {
        font-size: 1.8rem;
    }
    .ball-icon {
        font-size: 4rem;
    }
}

/* White Card */
.card-white {
    background-color: #f5f5f5;
    color: #1a1a1f;
}

.card-white .card-title-custom {
    color: #1a1a1f;
}

.stats-display .main-stat {
    font-size: 2rem;
    font-weight: 700;
}

.stats-display .secondary-stat {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-orange);
}

@media (min-width: 768px) {
    .stats-display .main-stat {
        font-size: 2.5rem;
    }
    .stats-display .secondary-stat {
        font-size: 2rem;
    }
}

/* Dark Card Stats */
.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stats-row:last-child {
    border-bottom: none;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Chart Placeholder */
.chart-placeholder {
    height: 120px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.chart-bar {
    width: 8px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Mini Cards */
.mini-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
}

.mini-card.border-green {
    border-left: 4px solid var(--accent-green);
}

.mini-card .card-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-card .card-value {
    font-size: 1.4rem;
    font-weight: 700;
}


#gamblingNotices img {
    filter:grayscale(100%);
}

/* Main content offset for fixed sidebar on desktop */
@media (min-width: 768px) {
    .main-content {
        margin-left: 100px !important;
    }

    
}

/* Main content padding for mobile bottom nav */
@media (max-width: 767.98px) {
    .main-content {
        padding-bottom: 80px !important;
    }

    nav.top-nav {
        padding: 5px;
        background: #8bbf52;
        margin-left: -16px;
        margin-right: -16px;
    }
}

@media (min-width: 768px) {
    .main-content.sidebar2-open {
        margin-left: 200px;
    }

    .main-content.sidebar3-open {
        margin-left: 200px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 3px;
}

/* football fixtures sections */

span.h2hLink.badge {
    background: black;
    transition: 0.2s;
}

span.h2hLink.badge:hover {
    box-shadow: none;
    transition: 0.2s;
}


.nav-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--body-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.nav-category:hover { background: var(--nav-hover); color: #fff; border-color: var(--accent-blue); transform: translateY(-2px); }
.nav-category .icon img {
    max-width: 40px;
    height: auto;
    border-radius: 2px;
}

/* Accordion Styling */
.accordion { --bs-accordion-bg: var(--card-bg); --bs-accordion-border-color: var(--card-border); --bs-accordion-btn-bg: var(--card-bg); --bs-accordion-btn-color: #fff; --bs-accordion-active-bg: var(--card-bg); --bs-accordion-active-color: #fff; }
.accordion-item { border-radius: 10px !important; margin-bottom: 0.75rem; overflow: hidden; }
.accordion-button { font-weight: 600; padding: 1rem 1.25rem; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-button::after { filter: invert(1); }
.accordion-button:focus { box-shadow: none; border-color: var(--accent-blue); }
.accordion-body { padding: 0; }

.fixture-row--action{
padding: .5rem 0 .75rem;
margin-bottom: .75rem;
border-bottom: 1px solid rgba(255,255,255,.08); /* adjust for theme */
}

.league-link{
display: inline-flex;
align-items: center;
gap: .35rem;
text-decoration: none;
font-weight: 600;
}

.league-link:hover{
text-decoration: underline;
}


.league-header { display: flex; align-items: center; gap: 0.75rem; }
.league-logo {
                        height: 40px;
                        width: auto;
                        background: #dbdbdb;
                        border-radius: 5px;
                        padding: 2px;
                    }
.league-flag { height: 25px; width: auto; border-radius: 2px; }
.league-link { color: #fff; text-decoration: none; }
.league-link:hover { color: var(--accent-blue); text-decoration: underline; }

.fixture-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.15s ease;
}
.fixture-row:last-child { border-bottom: none; }
.fixture-row:hover { background: var(--nav-hover); }

.fixture-date { width: 75px; font-size: 0.8rem; color: #8b949e; flex-shrink: 0; }
.fixture-time { width: 50px; font-weight: 600; color: var(--accent-green); flex-shrink: 0; font-size: 0.9rem; }
.fixture-teams { flex: 1; min-width: 0; }

.team { display: flex; align-items: center; gap: 0.5rem; }
.team-logo { height: 24px!important; width: auto; object-fit: contain; }
.team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.9rem; }
.team-score { font-weight: 700; min-width: 20px; text-align: center; }

.fixture-odds { width: 240px; flex-shrink: 0; }
.odds-container { display: flex; gap: 0.5rem; justify-content: flex-end; }
.odd-btn { background: var(--accent-green); color: #fff; border: none; border-radius: 6px; padding: 0.4rem 0.75rem; font-weight: 600; font-size: 0.85rem; min-width: 55px; text-align: center; }
.odd-label { font-size: 0.65rem; color: #8b949e; text-align: center; margin-bottom: 2px; }
.odds-loading { color: #8b949e; font-size: 0.8rem; }

.badge-live { background: #da3633; animation: pulse 2s infinite; font-size: 0.75rem; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.fixture-count { background: #30363d; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 10px; margin-left: auto; }

.empty-state { text-align: center; padding: 2rem; color: #8b949e; }

.nav-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.nav-category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
}

.nav-category .icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Tablet and up */
@media (min-width: 768px) {
    .nav-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .nav-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.fixture-row {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
border-bottom: 1px solid #eee;
}

.fixture-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
}

.fixture-teams {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.5rem;
}

.fixture-teams > .match-hyphen {
flex-shrink: 0; /* Prevent hyphen from shrinking */
text-align: center;
min-width: 1rem; /* Give it consistent width */
}

.team {
display: flex;
align-items: center;
gap: 0.5rem;
flex: 1; /* Both teams take equal space */
}

.team-home {
flex-direction: row;
justify-content: flex-end;
}

.team-away {
flex-direction: row;
justify-content: flex-start;
}



.team-name {
/*  flex: 1; */
}

.team-score {
font-weight: bold;
min-width: 1.5rem;
text-align: center;
}

.league-header {
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
}

.fixture-count {
margin-left: auto;
}

.fixture-row.postponed {
    background-color: #c3c3c3;
    color: #000;
}

/* Add space for accordion arrow on desktop */
@media (min-width: 768px) {
.fixture-count {
    margin-right: 1rem;
}
}

/* Tablet and up */
@media (min-width: 768px) {
.fixture-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.fixture-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 80px;
}

.fixture-teams {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0;
}

.team-home {
    /*flex-direction: row-reverse;*/
    justify-content: flex-end;
}

.team-away {
    flex-direction: row;
}

.team-name {
    text-align: center;
}

.fs-md-3 {
    font-size: 1.75rem;
}
}
    
    @media (max-width: 768px) {
        .fixture-odds { display: none; }
        .fixture-date { width: 55px; font-size: 0.75rem; }
        .team-logo { height: 16px; width: 16px; }
        .team-name { font-size: 0.85rem; }
        
    }

    @media (max-width: 767px) {
.accordion-button::after {
    display: none;   
}
.logo-brand {
    font-size: 2.5rem;   text-shadow: 2px 2px 5px #000;
}
}

.accordion-button {
    padding-right: 1rem; /* Remove extra padding reserved for arrow */
}
}


/* Custom Scrollbar Styling (Optional) */
/* Hides scrollbar for a cleaner mobile look while retaining functionality */
.date-scroller-wrapper {
    position: relative;
    /* Wrapper handles the positioning of the floating buttons */
}

.date-scroller {
    scroll-behavior: smooth; /* Smooth scrolling for JS actions */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.date-scroller::-webkit-scrollbar {
    display: none;
}

.date-card {
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.date-card:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.date-card.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.date-card.active .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

/* Navigation Buttons Styling */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: white;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
    color: #212529;
}

.nav-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-50%) scale(1.1);
}

.nav-btn-left { left: -20px; }
.nav-btn-right { right: -20px; }

/* Hide buttons on very small screens to rely on swipe only */
@media (max-width: 576px) {
    .nav-btn { display: none; }
    .logo-brand {
        font-size: 2.5rem;   text-shadow: 2px 2px 5px #000;
    }
}