/* width */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    opacity: 0;
}

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

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

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


html, body {
    font-family: Inter,'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: unset;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTU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zYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

html {
    min-height: 100vh;
    background-color: #070707;
    touch-action: pan-y;
    height: auto;
}

body {
    background-color: transparent;
    color: white;
    font-size: 0.8rem;
    height: auto;
}

.bg-ann {
    background-color: #c3c3c317 !important;
}

.bg-ann-50 {
    background-color: #53535317 !important;
}


.small-icon {
    max-height: 20px;
}

.v-mid {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.nav-pills .nav-link.nav-link-light {
    background-color: transparent;
    padding: .2rem 2rem;
    border: 1px solid #c3c3c37a;
    color: #c3c3c37a;
}

    .nav-pills .nav-link.nav-link-light.active {
        border: 1px solid #dc3545;
        color: white;
        box-shadow: 1px 1px 5px 0px #00000061;
        background-color: #dc3545;
    }

    .nav-pills .nav-link.nav-link-light.nav-pill-green.active {
        border: 1px solid #338818;
        color: white;
        background-color: #338818;
    }

    .nav-pills .nav-link.nav-link-light.nav-pill-red.active {
        border: 1px solid #ce0000;
        color: white;
        background-color: #ce0000;
    }

    .nav-pills .nav-link.nav-link-light.nav-pill-blue.active {
        border: 1px solid #0056d9;
        color: white;
        background-color: #0056d9;
    }

.fs-9 {
    font-size: 0.9rem !important;
}

.fs-10 {
    font-size: 0.8rem !important;
}

.fs-15 {
    font-size: 0.7rem !important;
}

.fs-20 {
    font-size: 0.65rem !important;
}

.text-light-gray {
    color: #cdcdcd !important;
}

.marquee-container {
    overflow: hidden; /* Hide overflowing content */
    white-space: nowrap; /* Prevent text from wrapping */
    box-sizing: border-box;
}

.marquee {
    display: inline-block;
    padding-left: 100%; /* Start the text outside of the view */
    animation: scroll-loop 20s linear infinite;
}

@keyframes scroll-loop {
    from {
        transform: translateX(0); /* Start position */
    }

    to {
        transform: translateX(-105%); /* End position */
    }
}

.ddown {
    background-color: #5353534d;
    color: #ebebeb;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: .3rem;
    min-width: 150px;
}

    .ddown option {
        color: black;
    }

    .ddown:focus, .ddown:focus-visible {
        border: 1px solid #ffffff3d;
        outline: unset;
    }

.gameball {
    color: white;
    background-color: #5353534d;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-block;
    padding: 0.45rem;
}

    .gameball:hover {
        cursor: pointer;
        background-color: #d9d9d94d;
    }

    .gameball.chosen {
        background-color: #dc3545;
    }

    .gameball.gameball-570.chosen {
        background-color: #338818;
    }

    .gameball.gameball-590.chosen {
        background-color: #ce0000;
    }

    .gameball.gameball-580.chosen {
        background-color: #0056d9;
    }

.container-lg {
    max-width: 800px;
}

.bg-jp {
    background: rgb(220,156,53);
    background: linear-gradient(0deg, rgba(220,156,53,1) 0%, rgba(220,53,69,1) 100%);
    background: rgb(220,156,53);
    background: linear-gradient(0deg, rgba(220,156,53,1) 0%, rgba(217,12,31,1) 100%);
    background: rgb(235,188,54);
    background: radial-gradient(circle, rgba(235,188,54,1) 0%, rgba(203,13,30,1) 100%);
}

.nav-bottom-border.nav-pills .nav-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,.5);
}

    .nav-bottom-border.nav-pills .nav-link.active {
        color: #fff;
        border-bottom: 3px solid #a1832d;
        border-radius: 0 !important;
        background-color: transparent;
        font-weight: bold;
    }

.atc-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    box-shadow: 0px -5px 12px 0px #00000057;
}

.bg-dark-gray {
    background-color: #2b2b2b;
}

.input-dark, .input-dark:focus {
    background: #141414;
    color: #fff;
    border: 0;
    max-width: 180px;
    box-shadow: unset;
    font-size: 0.9rem;
    padding: .3rem .5rem;
    border: 1px solid transparent;
}

    .input-dark:focus {
        border-bottom: 1px solid #a1832d !important;
    }

.text-gold {
    color: #a1832d !important;
}

.btn-pink {
    background-color: #dc3545;
    color: white;
    border: 0;
}

    .btn-pink:hover, .btn-pink:focus, .btn-pink:active {
        background-color: #b82f3c;
        color: white;
    }

.btn-gold {
    background-color: #ab8b2f;
    color: white;
    border: 0;
}

    .btn-gold:hover, .btn-gold:focus, .btn-gold:active {
        background-color: #977a29;
        color: white;
    }


.border-bottom-gold-thick {
    border-bottom: 3px solid #d9b241;
}

.btn-clear {
    color: inherit;
    border: 0;
    background-color: unset;
}

    .btn-clear:hover {
        color: inherit !important;
    }

    .btn-clear:focus, .btn:active:focus {
        outline: unset;
        box-shadow: unset;
        color: inherit;
    }


.link-gold {
    color: #ab8b2f !important;
}

    .link-gold:hover, .link-gold:focus, .link-gold:active {
        color: #977a29 !important;
    }

/* Initial hidden state */
.betslip-panel {
    position: fixed;
    bottom: -110%; /* Start off the viewport */
    left: 0;
    width: 100%;
    transition: bottom 0.2s ease; /* Smooth transition */
    height: 90vh;
    z-index: 4;
}

    /* When visible */
    .betslip-panel.show {
        bottom: 0; /* Slide up into the viewport */
    }

    .betslip-panel .card {
        border: 0;
        background-color: #202020;
        border-top-left-radius: 0.8rem !important;
        border-top-right-radius: 0.8rem !important;
        overflow: hidden;
    }

    .betslip-panel .card-header {
        background-color: #202020;
        border: 0;
    }

    .betslip-panel .card-body {
        background-color: #1b1b1b;
        border: 0;
    }

    .betslip-panel .cart-item-count {
        background-color: #ffffff0d;
        color: #ffffff85;
    }

/* Overlay to dim the background */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none; /* Prevent clicks when not visible */
    z-index: 3;
}

    .overlay.show {
        opacity: 1;
        pointer-events: auto; /* Enable clicks */
    }

.hover-pointer:hover {
    cursor: pointer;
}

.cart-item {
    border-radius: 0.5rem;
    background-color: #ffffff0a;
}

.cart-item-subtotal {
    color: #ffce52;
    background-color: #ffffff1a;
}

.fw-medium {
    font-weight: 500 !important;
}

/*.cart-payment {
    width:100%;
    background-color:black;
    position:fixed;
    bottom:0;
    left:0;
    z-index:5;
}*/

.text-gold-bright {
    color: #d2ac3c;
}

.fix-nav, .stack-nav-lvl2 .ant-tabs-nav, .stack-nav-lvl2.ant-menu {
    position: sticky;
    top: 4.38em;
    left: 0;
    width: 100%;
    transition: top 0.3s ease;
    z-index: 1;
    background-color: #070707;
}

.ant-menu-horizontal {
    border: 0;
}

.bg-root {
    background-color: #070707;
}

.checkbox-gold .ant-checkbox-input:checked + .ant-checkbox-inner {
    background-color: #ab8b2f;
    border-color: #ab8b2f;
}

.ant-checkbox-wrapper:hover .checkbox-gold .ant-checkbox-inner, .checkbox-gold.ant-checkbox:hover .ant-checkbox-inner, .checkbox-gold .ant-checkbox-input:focus + .ant-checkbox-inner, .checkbox-gold.ant-checkbox-checked::after {
    border: 1px solid #ab8b2f;
}

.app-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    box-shadow: 0 -.08rem .16rem 0 #0003;
    font-size: 0.7rem;
}

    .app-nav-bottom .nav-link {
        color: #969696;
        padding: 0;
        border-radius: 0;
    }

    .app-nav-bottom img {
        filter: grayscale(100%) brightness(50%);
        height: 23px;
    }

    .app-nav-bottom .nav-link.active {
        background: rgb(255,235,179);
        background: radial-gradient(circle, rgba(255,235,179,0.17130602240896353) 0%, rgba(251,218,167,0.039653361344537785) 34%, rgba(203,13,30,0) 64%);
        border-bottom: 3px solid #d9b241;
        padding: 0.5rem;
    }

        .app-nav-bottom .nav-link.active img {
            filter: unset;
            height: 25px;
        }

.ant-result-title, .ant-result-subtitle {
    color: white;
}

.line-height-1 {
    line-height: 1 !important;
}

.ant-empty-img-simple-g {
    stroke: #b9b9b98c;
}

.ant-empty-img-simple-path {
    fill: #4a4a4a;
}

.ant-empty-img-simple-ellipse {
    fill: #4a4a4a;
}

.ant-empty-description {
    color: gray;
}

.ant-picker-dropdown .ant-picker-panel-container .ant-picker-panels {
    display: inline-flex;
    animation: none;
    flex-wrap: nowrap;
    direction: ltr;
}

.ant-picker .ant-picker-suffix, .ant-picker .ant-picker-separator {
    color: rgb(255 255 255 / 25%);
}

.ant-select, .ant-input {
    color: white;
}

    .ant-picker.ant-picker-borderless, .ant-select:not(.ant-select-customize-input) .ant-select-selector, .ant-input, .ant-input-affix-wrapper {
        background-color: #c3c3c317 !important;
        border: 1px solid transparent;
    }

        .ant-input-affix-wrapper .ant-input {
            background-color: transparent !important;
        }

            .ant-input-affix-wrapper .ant-input::placeholder {
                color: #ffffff61;
            }

.text-black-50 .ant-input {
    color: #222222 !important;
}

.ant-select-multiple .ant-select-selection-item-remove {
    color: rgb(255 255 255 / 45%);
}

.ant-select-multiple .ant-select-selection-item {
    background: #ffffff17;
    border: 1px solid #f0f0f000;
    color: white;
}

.ant-picker-input > input {
    color: white;
}

.divider-gray.ant-divider-horizontal.ant-divider-with-text::before, .divider-gray.ant-divider-horizontal.ant-divider-with-text::after {
    border-top-color: #ffffff40;
}

.ant-divider-dashed {
    border-color: #ffffff40;
}

.ant-tabs-top > .ant-tabs-nav::before {
    border-bottom: 0;
}

.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: white;
}

.ant-tabs-ink-bar {
    background: #d9b241;
}

.ant-spin {
    color: #a1832d;
}

.ant-spin-container::after {
    background: transparent;
}

.ant-spin-dot-item {
    background-color: #d9b241;
}

.ant-spin-nested-loading > div > .ant-spin {
    z-index: 1;
}

    .ant-spin-nested-loading > div > .ant-spin .ant-spin-text {
        color: #f1d88ead;
        text-shadow: none;
        margin-top: 0.5rem;
    }

.ant-segmented {
    background-color: #c3c3c317 !important;
    color: #ffffff54;
    padding: 5px;
}

.ant-select-clear {
    background: #ffffff00;
}

.ant-picker-clear {
    background: #1e1e1e;
}

.anticon, .ant-input-password-icon.anticon {
    color: #ffffff75;
}

.ant-segmented-item:hover, .ant-segmented-item:focus {
    color: #ffffff;
}

.ant-segmented-item-selected {
    background-color: #a88a3c;
    color: #ffffff;
}

.ant-segmented-thumb {
    background-color: #a88a3c;
}

.ant-picker-range .ant-picker-active-bar {
    background: #d9b241;
}

.ant-page-header-heading-title {
    font-size: 16px;
}

.list-group-item {
    color: inherit;
    padding: 1rem;
}

.payment-tab .nav-item {
    padding: 0.5rem;
    min-width: calc(100%/3);
}

.payment-tab .nav-link {
    color: #969696;
    background-color: #1b1b1b;
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid transparent;
}

.payment-tab .payment-icons {
    height: 30px;
    filter: brightness(50%);
}

.payment-tab .nav-link.active .payment-icons {
    filter: brightness(100%);
}

.payment-tab .nav-link.active, .payment-tab .show > .nav-link {
    background-color: #1b1b1b;
    border: 1px solid #d2ac3c;
}

.payment-tab .payment-name {
    line-height: 1;
    margin-top: 1rem;
}

.ant-steps-item-finish .ant-steps-item-icon {
    background-color: transparent;
    border-color: #d9b241;
}

    .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
        color: #d9b241;
    }

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
    background: #d9b241;
}

.ant-steps-item-process .ant-steps-item-icon {
    border-color: #d9b241;
}

.ant-steps-item-wait .ant-steps-item-icon {
    background-color: transparent;
    border-color: rgb(255 255 255 / 25%);
}

    .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {
        color: rgb(255 255 255 / 25%);
    }

.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
    background-color: #d9b241;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after, .ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
    background-color: #f0f0f042;
}

.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: #d9b241;
}

.ant-steps-item-subtitle {
    color: #848484;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: #f6f6f6d9;
}

.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: #e8e8e873;
}

.ant-radio-wrapper {
    color: #8d8d8d;
}

.ant-radio-wrapper-checked {
    color: #fff;
}

.table-bet select, .table-bet input {
    background-color: #5353534d;
    color: #ebebeb;
    border: 1px solid transparent;
    padding: .5rem;
    min-width: 100px;
    line-height: 1.3;
    font-size: 0.8rem !important;
}

    .table-bet select option {
        color: black;
    }

.table-bet td {
    padding: 0.2rem;
}

    .table-bet td:first-child {
        padding-left: 0;
    }

    .table-bet td:last-child {
        padding-right: 0;
    }

.input-clear {
    background-color: transparent !important;
    border: 0 !important;
    color: white !important;
    padding: 0.3rem !important;
    border-radius: 0;
}

    .input-clear:focus {
        border-bottom: 1px solid #ab8b2f !important;
    }

.input-clear-border {
    background-color: transparent !important;
    border: 1px solid #ffffff4f !important;
    color: white !important;
    padding: 0.5rem !important;
    border-radius: 5px;
}

    .input-clear-border:focus {
        border: 1px solid #ab8b2f !important;
    }

.ant-switch {
    background-color: rgb(255 255 255 / 16%);
}

.ant-switch-checked {
    background-color: #a1832d;
}

.ant-btn[disabled], .ant-btn[disabled]:hover, .ant-btn[disabled]:focus, .ant-btn[disabled]:active {
    color: rgb(201 201 201);
    background: #515151;
}

.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    color: rgb(255 255 255 / 25%);
}

.red-pulse .ant-badge-status-processing {
    background-color: #ff1818;
}

    .red-pulse .ant-badge-status-processing::after {
        border: 1px solid #c95d61;
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: transparent !important; /* Remove autofill background */
    color: inherit !important; /* Match input text color */
    -webkit-text-fill-color: inherit !important; /* Remove text color override */
    box-shadow: 0 0 0 1000px transparent inset !important; /* Prevent shadow effect */
    border: 0 !important; /* Ensure consistent border */
    transition: background-color 600000s 0s, color 600000s 0s !important; /* Disable autofill transition */
}

input[data-autocompleted] {
    background-color: #ffffff00 !important;
}

.ant-statistic {
    color: inherit !important;
}

.ant-statistic-content {
    color: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
}

@media (min-width: 992px) {
    .betslip-panel {
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .ant-picker-dropdown .ant-picker-panel-container .ant-picker-panels {
        display: inline-grid;
    }
}
