/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

i.fas {
    font-family: "Font Awesome 6 Free" !important;
}

img {
    max-width: unset;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sidebar Styles */
.sidebar {
    background-color: white;
    color: #333;
    padding: 16px;
    width: 280px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.layout-container {
    display: flex;
    flex-wrap: nowrap;
}

.layout-sidebar-left {
    width: 20%;
    background-color: #f8f9fa;
    padding: 10px;
}

.layout-content-center {
    width: 50%;
    padding: 10px;
}

.layout-sidebar-right {
    width: 30%;
    background-color: #f8f9fa;
    padding: 10px;
}

/* Responsive layout for tablet and mobile */
@media (max-width: 991.98px) {
    .layout-sidebar-left,
    .layout-sidebar-right {
        display: none !important;
    }

    .layout-content-center {
        width: 100% !important;
    }

    .layout-container {
        flex-direction: column;
    }
}

/* Top Navigation Buttons */
.top-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.second-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.nav-btn {
    flex: 1;
    background-color: #e0e0e0;
    color: #666;
    height: 60px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn.active {
    background-color: #243a48;
    color: white;
}

.nav-btn small {
    font-size: 10px;
}

.nav-btn:hover {
    opacity: 0.8;
}

/* All Sports Title */
.all-sports-title {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Sports List */
.sports-list {
    display: flex;
    flex-direction: column;
}

.sport-item {
    background-color: #f5f5f5;
    color: #333;
    padding: 12px 16px;
    margin-bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sport-item.active {
    background-color: #243a48;
    color: white;
    border-radius: 4px;
}

.sport-item:hover {
    background-color: #e0e0e0;
}

.sport-item.active:hover {
    background-color: #243a48;
}

.sport-name {
    display: flex;
    align-items: center;
}

.sport-icon {
    margin-right: 8px;
}

.srl-text {
    margin-right: 8px;
    font-size: 12px;
}

.arrow {
    font-size: 12px;
    color: #999;
}

.sport-item.active .arrow {
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    background-color: #f8f9fa;
    overflow: auto;
}

/* Carousel Styles */
.carousel-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.slide-1 {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.slide-2 {
    background: linear-gradient(135deg, #1f6fb2, #185a9d);
}

.slide-3 {
    background: linear-gradient(135deg, #145da0, #0c3c78);
}

/* Sports Tabs */
.sports-tabs {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    background-color: white;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.sports-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.tab-btn {
    background-color: #e9ecef;
    color: #495057;
    border: none;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab-btn.active {
    background-color: #243a48;
    color: white;
}

.tab-btn:hover {
    opacity: 0.85;
}

.count {
    background-color: rgba(0, 0, 0, 0.1);
    color: #495057;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.active-count {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Events Section */
.event-card {
    border: 1px solid #e9ecef;
    border-radius: 2px;
    padding: 6px;
    background-color: white;
}
.event-card .row {
    column-gap: 45px;
}

.time-column .text-muted.small,
.event-header {
    font-size: 11px;
    font-weight: bold;
    color: #080808;
}
.text-success,
.text-danger {
    font-size: 12px;

    font-weight: bold;
}

.team-icon {
    color: #28a745;
}

.score-box {
    background-color: #f1f3f5;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    color: #2c5aa0;
}

.locked-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    width: 100%;
    cursor: not-allowed;
}

.fav-btn {
    border: none;
    background: none;
    color: #ccc;
    font-size: 16px;
    cursor: pointer;
}

.fav-btn:hover {
    color: #ffc107;
}

.event-header {
    font-size: 11px;
    color: #888;
}

.match-time {
    font-size: 13px;
    color: #dc3545;
}

.score-title {
    font-size: 13px;
    color: #666;
}
.view-all-link {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 15px;
    font-size: 14px;
}
.view-all-link a {
    color: #000; /* Black text */
}
.view-all-link a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .locked-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}
/* Offcanvas header style */

/* Offcanvas body background */
.offcanvas-body {
    /* background-color: #f8f9fa !important; */
}

/* Menu items */
.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #333;
}

.menu-item:hover {
    background-color: #e2f0ff;
}

.menu-item:last-child {
    border-bottom: none;
}

.account-info {
    opacity: 0.9;
    font-size: 0.8rem;
}

/* Layout */
.main-container {
    max-width: 600px;
    margin: 10px auto;
}

/* Header Styles */

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
}

/* Radio Section */
.radio-section {
    background: #f8f9fa;
}

/* Button Styles */
.amount-btn {
    background: #007bff;
    border: 2px solid #007bff;
    transition: all 0.3s;
}

.amount-btn:hover,
.amount-btn.active {
    background: #00bcd4;
    border-color: #00bcd4;
    color: black !important; /* force text color to black on hover/active */
}

/* Submit buttons */
.btn-edit {
    background: #00bcd4;
    color: white;
}

.btn-submit {
    background: #4caf50;
    color: white;
}

.btn-edit:hover,
.btn-submit:hover {
    color: black !important;
}

/* homw and all Table Styles */
.table-container {
    border: 1px solid #e9ecef;
    overflow-x: auto;
}

.table-wrapper {
    min-width: 600px;
}

.table-header {
    background: #1f2020 !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-content {
    max-height: 150px;
    overflow-y: auto;
}

.table-row {
    border-bottom: 1px solid #e9ecef;
}

/* Section Visibility */
.deposit-section {
    display: block;
}

.withdrawal-section {
    display: none;
}

.withdrawal-section.active {
    display: block;
}

.deposit-section.inactive {
    display: none;
}
/*Custom styles only for wallet page */

.wallet-main-container {
    max-width: 600px;
    margin: 10px auto;
}

.wallet-header {
    background-color: #007bff;
}

.wallet-back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
}

.wallet-amount-btn {
    background: #007bff;
    border: 2px solid #007bff;
    transition: all 0.3s;
}

.wallet-amount-btn:hover,
.wallet-amount-btn.active {
    background: #00bcd4;
    border-color: #00bcd4;
}

.wallet-btn-edit {
    background: #00bcd4;
}

.wallet-btn-submit {
    background: #4caf50;
}

.wallet-table-container {
    border: 1px solid #e9ecef;
    overflow-x: auto;
}

.wallet-table-wrapper {
    min-width: 500px;
}

.wallet-table-header {
    background: #00bcd4 !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

.wallet-table-content {
    max-height: 150px;
    overflow-y: auto;
}

.wallet-table-row {
    border-bottom: 1px solid #e9ecef;
}

.wallet-table-row:nth-child(even) {
    background-color: #f8f9fa;
}
.custom-tab {
    color: #ffffff;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.custom-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff33;
}

.custom-tab.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
/* use to home nav-pill */
.nav-pills .nav-link {
    font-size: 0.8rem;
}
.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    line-height: 1.2;
}
/* casio page css */
:root {
    --topbar: #243a48;
    --tabsbar: #243a48;
    --selcat: #243a48;
    --search: #e41a1e;
    --thumb-caption: #243a48;
}

/* TOP BAR */
.casino-topbar {
    background: var(--topbar);
    min-height: 40px;
}

/* Search */
.search-box input {
    height: 26px;
    font-size: 0.75rem;
    border-radius: 0;
}

.search-box button {
    height: 26px;
    font-size: 0.75rem;
    border-radius: 0;
    padding: 0 0.5rem;
    background: var(--search);
    color: #fff;
}

/* PRIMARY TABS */
.tabs-strip {
    background: var(--tabsbar);
    white-space: nowrap;
    overflow-x: auto;
    margin: 6px 0;
    padding: 0;
}

.tabs-strip::-webkit-scrollbar {
    height: 6px;
}

.tabs-strip::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.tabs-strip::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* ul inline flex */
.tabs-strip ul {
    display: inline-flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    gap: 4px;
}

/* nav links styling */
.tabs-strip .nav-link {
    color: #fff;
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 0;
    background: var(--tabsbar);
    white-space: nowrap;
    flex-shrink: 0;
}

.tabs-strip .nav-link.active {
    background: #fff;
    color: #000;
    font-weight: 600;
}

/* CATEGORY STRIP */
.cat-strip {
    background: #fff;
    border-top: 1px solid #cfd4d6;
    border-bottom: 1px solid #cfd4d6;
    white-space: nowrap;
    overflow-x: auto;
    margin: 0;
    padding: 0.2rem 0;
}

.cat-pill {
    border: 1px solid #cfd4d6;
    border-radius: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 110px;
    height: 32px;
    justify-content: center;
    background: #fff;
    color: #000;
}

.cat-pill.active {
    background: var(--selcat);
    color: #fff;
    border-color: var(--selcat);
}

.icon-20 {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.cat-strip::-webkit-scrollbar {
    height: 6px;
}

.cat-strip::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.cat-strip::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cat-strip .cat-wrapper {
    display: inline-flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0 4px;
    gap: 4px;
}

/* GAME GRID */
.game-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border: 1px solid #cfd4d6;
    border-radius: 0;
}

.thumb-caption {
    background: var(--thumb-caption);
    color: #fff;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem;
    margin-top: 1px;
}

.row.g-0 > [class^="col"] {
    padding: 1px;
}

/* this is for sports-book */
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* For desktop - height */
@media (min-width: 992px) {
    .carousel-item img {
        height: 200px;
        object-fit: cover;
    }
}

/* Referral Code & Link */
#referralCode,
#referralCode:focus,
#referralLink:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
    border: none !important;
}

/* Additional Css */

.scrollbar-hide {
    -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

body::-webkit-scrollbar,
div::-webkit-scrollbar,
ul::-webkit-scrollbar {
    -ms-overflow-style: none;
    /* display: none; */
    width: 2px;
    background: transparent;
}

.button__Qkvay {
    display: none !important;
}

.chat_support_btn {
    z-index: 1111;
}

.p_eye {
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
}

.container-fluid {
    padding: 0px;
}

.row {
    margin: 0px;
    justify-content: center;
}

.row > * {
    padding: 0px;
    margin: 0px;
}

body,
body a,
body p,
body div,
body h1,
body h2,
body h3,
body h4 {
    color: inherit;
    background-color: inherit;
}

.form-control,
.form-control:focus,
.form-control:hover {
    box-shadow: none;
    border: none;
}

/* Light Theme */

.light {
    .header {
        background-color: #007bff;
    }
}

/* Dark theme */

.nav-link {
    color: #fff;
    background: #292d2e;
    margin: 0 2px 0 2px;
}

.app_dark,
body {
    background: #323740;
    color: #333;
}
.app_col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app_col > * {
    margin: 0;
    padding: 0;
}
.app_row{
    display: flex;
    flex-direction: row;
    align-items: center;
}


.app_dark, body.app_dark {
    
    footer, .app_card_box {
        background: #292d2e;
    }

    .app_color {
        color: #333;
    }

    .app_bar {
        background: #323740;
        color: #fff;
    }

    .app_bar_1 {
        background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
        color: #fff;
    }

    .aap_bar_gradient {
        background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
        color: #fff;
        font-weight: 600;
    }

    .app_btn, a.btn, input{
        background: #292d2e;
        color: #fff;
        border: 1px solid #fff;
    }

    .nav-link {
        color: #fff;
        background: #292d2e;
        margin: 0 2px 0 2px;
    }

    .list-group-item {
        color: #fff;
        background: #1a1c1c;
        border: 1px solid #4e5052;
        border-radius: 6px;
    }

    .app_content {
        color: #fff;
        background: #292d2e;
        background-color: #292d2e;
        border: none;
    }

    ::placeholder {
        color: #fff;
        opacity: 1; /* Firefox */
    }

    ::-ms-input-placeholder {
        /* Edge 12-18 */
        color: #fff;
    }

    .table > :not(caption) > * > * {
        background: #3e3e3e;
        color: white;
        font-size:  0.75rem
    }
}
/* additional css */
.modal-header-dark {
    background-color: #292d2e;
    color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.modal-body-dark {
    background-color: #3e3e3e;
    color: white;
}
.form-group-button {
    margin-bottom: 6px;
    margin-right: 12px;
}


.app_toast {
    opacity: 1;
    position: fixed;
    top: 5%;
    right: -100%;
    min-width: 200px;
    max-width: 250px;
}

.app_toast .toast_div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}