:root {
    --sidebar-width: 280px;
    --logo-area-height: 70px;
    --bg-surface: #1E1E1E;
    --text-secondary: #a0a0a0;
    --text-light: #E0E0E0;
    --brand-gold: #c8a461;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #150c01;
    color: var(--text-light);
    /* On large screens, prevent the main page from scrolling */
    overflow: hidden;
}

/* --- The Fixed Sidebar Styling --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    z-index: 1000;
    background-color: #fff;
    color:#000;
}

.logo-area {
    padding: 15px 25px;
    height: var(--logo-area-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.logo-area img {
    height: 70px;
    margin: 0 auto;
}

/* Sidebar Scroll Area */
.sidebar-menu-scroll {
    position: absolute;
    top: var(--logo-area-height);
    bottom: 0;
    left: 0;
    width: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* --- Common Menu Styles --- */
.sport-list,
.other-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sport-list li a,
.other-menu-list li a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.sport-list li a:hover,
.other-menu-list li a:hover {
    background-color: #333;
    color: var(--text-light);
}

.menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.menu-section {
    margin-top: 1.5rem;
}

.menu-section-title {
    color: var(--brand-gold);
    font-weight: 600;
    padding: 10px 25px;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.sports-carousel .item{
    background: #4d2c03;
    border-radius: 12px;
    padding: 20px 10px 20px 16px;
    cursor: pointer;
    transition: all .3s ease;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    text-align: end;
    width: 100% !important;
    position: relative;
    min-width: 142px;
    margin-left:34px;
}
/*.sports-carousel .owl-item:first-child{
   /* margin-left: 24px;*/
/*}*/

.sports-carousel .item .sport-icon-container {
    width: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -43px;
}

.sports-carousel .item .sport-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    -webkit-filter: brightness(1.1);
    filter: brightness(1.1);
}
.mobileLogo{
    display:none;
}

.sports-carousel .item .sport-name {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .8px;
    line-height: 20px;
    text-wrap: nowrap;
}
.border-shadow-container {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 22px;
    width: 100%;
}
.border-shadow-container:after, .border-shadow-container:before {
    content: "";
    position: absolute;
    left: 0;
    background: #fecd8d;
    z-index: 0;
}

.border-shadow-container:after {
    bottom: -10px;
    width: 100%;
    height: 1px;
    opacity: .6;
}

.border-shadow-container:before {
    bottom: -10.7px;
    width: 44px;
    height: 2px;
    box-shadow: 0 0 0 1px #fecd8d;
    border-radius: 4px;
}

.top-matches-carousel .top-match-card {
    background: #4d2c03;
    border-radius: 8px;
    padding: 8px 10px 10px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 136px;
    flex-direction: column;
    min-width: 30%;
}
.top-matches-carousel .match-info {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    grid-gap: 6px;
    gap: 6px;
    width: 100%;
    margin-bottom: 6px;
}
.match-info .category-and-live {
    display: flex;
    align-items: center;
    grid-gap: 8px;
    gap: 8px;
    justify-content: space-between;
}
.match-info .category-and-live .category-name-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 8px;
    gap: 8px;
    width: 100%;
}
.match-info .category-and-live .category-name-container .sport-icon-container {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    grid-gap: 6px;
    gap: 6px;
}
.match-info .category-and-live .category-name-container .sport-name-top-matches {
    font-size: 10px;
    font-weight: 800;
    color: #fecd8d;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.top-matches-ctn .top-match-card .match-info .market-types {
    display: flex
;
}
.match-info .market-types {
    display: flex
;
}
.market-enabled {
    margin: 3px;
    font-size: 10px;
    font-weight: 700;
    background: #ea6314;
    border-radius: 50%;
    color: #000;
}
.market-enabled .market-enabled-inner {
    height: 25px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 800;
}
.match-info .competition-name-top-matches {
    font-size: 11px;
    font-weight: 700;
    color: #fecd8d;
    text-transform: capitalize;
    letter-spacing: .5px;
    text-wrap: nowrap;
}
.match-info .event-details {
    display: flex
;
    flex-direction: column;
    grid-gap: 1px;
    gap: 1px;
}
.match-info .event-details .event-name-container {
    display: flex
;
    justify-content: space-between;
    align-items: center;
}
.match-info .event-details .event-name-container .team-names {
    font-size: 12px;
    font-weight: 600;
    color: var(--ion-text-light);
    line-height: 1.2;
}
.top-match-wrap .live-img-top-matches {
    width: 32px !important;
    position: relative;
    top: -4px;
}
.top-matches-ctn .top-match-card .match-info .event-details .event-time-top-matches .date-display-top-matches {
    font-size: 10px;
    color: var(--ion-text-light);
    display: flex;
    grid-gap: 3px;
    gap: 3px;
    font-weight: 600;
}

.top-match-wrap .odds-section {
    display: flex;
    grid-gap: 6px;
    gap: 6px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
.top-match-wrap .team-odds {
    display: flex;
    width: 100%;
}
.exch-odd-view {
    display: flex
;
    align-items: center;
    flex: 1 1;
    width: 100%;
    min-width: 56px;
    padding: 0;
}
.top-match-wrap .odds-section .team-odds .exch-odd-view {
    min-width: unset !important;
    width: unset !important;
}
.top-match-wrap .odds-section .team-odds .exch-odd-view .back-odd.back-odd, .top-match-wrap .odds-section .team-odds .exch-odd-view .lay-odd.back-odd {
    background: #b2d9ff;
    border: 1px solid #89bce2;
}
.top-match-wrap  .odds-section .team-odds .exch-odd-view .back-odd.lay-odd, .top-match-wrap  .odds-section .team-odds .exch-odd-view .lay-odd.lay-odd {
    background: #ffc3dc;
    border: 1px solid #ff828280;
}
.top-match-wrap .odds-section .team-odds .exch-odd-view .lay-odd {
    border-radius: 0 30px 30px 0 !important;
}
.exch-odd-view .exch-odd-button {
    padding: 0 !important;
    min-height: 20px;
    display: flex
;
    align-items: center;
    justify-content: center;
}
.top-match-wrap .odds-section .team-odds .exch-odd-view .back-odd, .top-match-wrap .odds-section .team-odds .exch-odd-view .lay-odd {
    min-width: 100%;
    max-width: 60px;
    height: 35px;
    border-radius: 0;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-match-wrap .top-match-card .odds-section .team-odds .exch-odd-view .back-odd {
    border-radius: 30px 0 0 30px !important;
}
.exch-odd-view .exch-odd-button {
    padding: 0 !important;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.exch-odd-view .exch-odd-button.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: default;
}
.MuiSvgIcon-root {
    fill: #fff;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}
.exch-odd-view .exch-odd-button.disabled .lock-icon {
    height: 16px;
    width: 16px;
    margin-left: auto;
    margin-right: auto;
}
.top-match-wrap .match-info .event-details .event-time-top-matches .date-display-top-matches {
    font-size: 10px;
    color: var(--ion-text-light);
    display: flex;
    grid-gap: 3px;
    gap: 3px;
    font-weight: 600;
}
.top-match-wrap .top-match-card .odds-section .team-odds .exch-odd-view .back-odd .exch-odd-button-content .price, 
.top-match-wrap .top-match-card .odds-section .team-odds .exch-odd-view .lay-odd .exch-odd-button-content .price {
    font-weight: 700;
    color: #150c01;
    font-size: 11px;
    line-height: 1;
}
.top-match-wrap .top-match-card .odds-section .team-odds .exch-odd-view .back-odd .exch-odd-button-content .size, 
.top-match-wrap .top-match-card .odds-section .team-odds .exch-odd-view .lay-odd .exch-odd-button-content .size {
    font-size: 8px;
    color: #150c01;
    opacity: .8;
    line-height: 1;
    margin-top: 1px;
}

.home-casino-img-slider{
    width:94% !important;
    border-radius: 12px;
}

/* --- Custom Carousel Navigation Styles --- */

/* 1. Make the title container a flexbox */
.new-launch-container {
    display: flex;
    justify-content: space-between; /* Pushes title to the left and arrows to the right */
    align-items: center;          /* Vertically centers them */
    padding: 8px 15px;            /* Example padding */
      /* Example border */
}

/* 2. Style the custom arrow buttons */
.custom-nav-controls button {
    background-color: #4d2c03;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 9px; 
    border: none;
    margin-left: 8px;   
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    transition: background-color 0.2s, color 0.2s;
    user-select: none; /* Prevents text selection on double click */
}

.custom-nav-controls button:hover {
    background-color: #e0e0e0;
    color: #000;
}

.trending-games-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.home-casino-img {
    border-radius: 12px;
    display: block;
}

.bottom-tab {
    width: 100%;
}

.bottom-tab, .bottom-tab .support {
    display: flex
;
    flex-direction: column;
}
.bottom-tab .support {
    height: auto;
    background: #fecd8d;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    grid-gap: 6px;
    gap: 6px;
}
.bottom-tab .secure .safe-msgs .safe1{
    font-size: 18px;
    font-weight: 700;
    color:#fff;
}
.bottom-tab .support .help-msg {
    color: #150c01;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    padding: 4px;
}
.bottom-tab .support .social-icons {
    display: flex
;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    grid-gap: 4px;
    gap: 4px;
}
.bottom-tab .support .social-icons .sm-link {
    background: border-box;
    border:none;
    color:#150c01;
}
.bottom-tab .secure {
    height: auto;
    display: flex
;
    flex-direction: row;
    grid-gap: 10px;
    gap: 10px;
}
.bottom-tab .secure .secure-img {
    min-width: 120px;
}
.bottom-tab .secure .safe-msgs {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    grid-gap: 12px;
    gap: 12px;
}
.bottom-tab .line {
    margin-top: 12px;
    width: 100%;
    height: 1px;
    background: var(--ion-button-bg-2);
}

.bottom-tab .copyright {
    height: auto;
    display: flex
;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 0 32px;
}

.bottom-tab .copyright .copyright-msgs {
    display: flex
;
    flex-direction: column;
    justify-content: flex-start;
    grid-gap: 10px;
    gap: 10px;
    margin-left: 6px;
    width: 75%;
}
.bottom-tab .copyright .copyright-imgs {
    display: flex;
    flex-direction: row;
    grid-gap: 8px;
    gap: 8px;
    width: 25%;
}
.bottom-tab .copyright .copyright-msgs .cpr {
    width: 90%;
    color: #fff;
    font-weight: 400;
    font-size: 15px;
}
.bottom-tab .copyright .copyright-msgs .msg1 {
    line-height: 1;
    color: #979fb6;
}
.bottom-tab .copyright .copyright-imgs .copyright-img {
    width: 80px;
    height: 80px;
}


.rules-regulations-footer {
    width: 90%;
    background: #fecd8d;
    padding: 10px;
    display: flex;
    justify-content: center;
    color: #000;
    text-transform: uppercase;
    font-family: "Lato";
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    position: fixed;
    bottom: 0;
    z-index: 999;
}

.main-header{
    background-color: #4d2c03;
}
.main-header .nav-link{
    color:#fff;
    text-transform: none;
    min-width: auto;
    padding: 6px 14px !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: .05px;
}
.main-header .nav-link.active, .main-header .nav-link:hover{
    background: #fecd8d;
    border-radius: 20px;
    border-top: 3px solid #fff;
    color:#150c01;
}
#sidebar-toggle-btn img{
    width:30px;
    height:30px;
}
.btn-theme, .btn-theme-dark{
    font-size: 14px !important;
    font-weight: 500 !important;
    background: #fecd8d;
    color: #150c01;
    padding: 7px 20px;
    text-transform: capitalize;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height:1;
}
.main-header .navbar{
    padding:5px 0;
}
.btn-theme-dark, .btn-theme:hover{
    background-color: #ea6314;
    color:#000000;
}
.btn-theme-dark:hover{
    background: #fecd8d;
    color: #150c01;
}

#sidebar-toggle-btn {
    color: var(--text-light); /* Use the light text color from your theme */
    border: none;             /* Remove the default button border */
    padding-left: 0;
}

/* Remove the blue focus ring that Bootstrap adds, as it's not needed here */
#sidebar-toggle-btn:focus {
    box-shadow: none;
}


.sidebar {
    /* Add a transition for the slide-in/out animation */
    transition: transform 0.3s ease-in-out;
}

/* --- 2. The Backdrop/Overlay --- */
/* This darkens the main content when the sidebar is open */

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999; /* Just below the sidebar */
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* The active state for the backdrop (when sidebar is open) */
.sidebar-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.sports-carousel-wrapper {
    overflow-x: hidden;
}

.exch-mob-header-ctn{    
    width: 100%;
    display:none;
    justify-content: space-evenly;
    background: #4d2c03;
    font-size: 12px;
    height: 60px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    bottom: 0;
    z-index: 999999999;
}
.exch-mob-header-ctn .exch-mob-nav-link {
        height: inherit;
        text-decoration: none;
        color: unset;
}
.exch-mob-header-ctn .active{
    background: #150c01;
    border-top: 4px solid #fecd8d;
}
.exch-mob-header-ctn .exch-mob-nav-link .exch-nav-item-ctn {
    width: 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.exch-mob-header-ctn .exch-nav-item-label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}
.exch-mob-header-ctn .exch-mob-nav-link .exch-nav-item-ctn .mh-img
 {
    -webkit-filter: var(--mob-header-icon);
    filter: brightness(0) invert(1);
    height: 24px;
}
.exch-mob-header-ctn .exch-mob-nav-link .exch-nav-item-ctn .home-icon .mh-img{
    filter: brightness(0) saturate(100%) invert(88%) sepia(29%) saturate(4902%) hue-rotate(137deg) brightness(98%) contrast(101%);
}

.mobileBtns{
    display:none !important;
}

#loginFormWrap{
    background-color: #150c01;
    border:2px solid #fecd8d;
    color:#ffffff;
    border-radius: 16px;
}
.sports-carousel .owl-stage{
    display:flex;
    gap:8px;
}
.bottom-tab .secure .safe-msgs .safe2 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color:#fff;
}
.mob-header{
    display:none;
}
/* --- Main Layout for Large Screens (The Core Fix) --- */
@media (min-width: 992px) {
    /* 1. The main content area becomes a flex container */
    .main-content {
        margin-left: var(--sidebar-width);
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 2. The header and footer will not grow or shrink */
    .main-header,
    .main-footer {
        flex-shrink: 0;
    }

    /* 3. The content wrapper takes all available space and becomes scrollable */
    .content-wrapper {
        flex-grow: 1;
        overflow-y: auto;
        padding: 1.5rem; /* Add some space around the content */
    }
}


/* --- Layout for Small Screens --- */
@media (max-width: 991.98px) {
    body {
        overflow: auto;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 2000; 
    }

    body.sidebar-is-open .sidebar {
        transform: translateX(0);
    }

    body.sidebar-is-open {
        overflow: hidden;
    }

    .rules-regulations-footer{
        width:100%;
    }

    .main-header {
        position: -webkit-sticky; 
        position: sticky;
        top: 0;
        z-index: 1030; 
    }
    .exch-mob-header-ctn{
        display: flex;
    }
    .mob-header{
        display:block;
        background-color:#150c01;
        position: fixed;
        bottom: 0;
        z-index: 999999999;
        width:100%;
    }
    .bottom-tab .copyright{
        padding-bottom:0;
    }

    .rules-regulations-footer{
       position:relative;
       margin-bottom:60px;
    }

    .mobileBtns{
        display:flex !important;
    }
    
}
@media (max-width: 920px) {
    .border-shadow-container{
        font-size: 20px;
        line-height: 24px;
    }
    .content-wrapper {
        padding: 10px;
    }
    .banners .banner1{
        padding-right: .2rem;
    }
    .banners .banner2{
        padding-left: .2rem;
    }
    .sport-icon-container {
        width: 50px;
        height: 50px;
        left: -24px;
    }
    .sports-carousel .item{
        min-width: 132px;
    }
    .sports-carousel .item .sport-icon-container{
        width:50px;
        height:50px;
    }
}
@media screen and (max-width: 840px){
    .bottom-tab .secure .safe-msgs {
        grid-gap: 4px;
        gap: 4px;
    }
    .bottom-tab .copyright .copyright-imgs .copyright-img {
        width: 80px;
        height: 60px;
    }
}
@media screen and (max-width: 800px){
    .top-matches-carousel .top-match-card{
        padding: 4px 8px 8px;
    }
    .new-launch-container{
        padding-left:0;
    }
    .trending-games-wrap .row.mb-4{
        margin-bottom:10px !important;
    }
    .trending-games-wrap .col-4:nth-child(2){
        padding-left:0;
        padding-right:0;
    }
    .bottom-tab .secure .secure-img{
        min-width:140px;
    }
    
}
@media (max-width: 768px) {
   .sports-carousel .item .sport-icon-container{
    left:-33px;
   }
    .mobileLogo{
        display:inline-block;
    }
}

@media (max-width: 692.50px) {
    .bottom-tab .copyright{
        flex-direction: row;
        align-items: center;
    }
    .bottom-tab .copyright .copyright-imgs{
        flex-direction: column;
    }
    .sports-carousel .item .sport-icon-container{
        left: -23px;
    }
    .sports-carousel .item{
        margin-left:24px;
    }
    .sports-carousel .item .sport-icon{
        width:50px;
        height: 50px;
    }
}

@media screen and (max-width: 576px) {
    .trending-games-wrap .col-lg-4.col-md-4.col-sm-4{
        margin-bottom: 0px;
    }
    
}