*{
    margin: 0;
    padding: 0;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    font-size: 14px;
}
.scrip_name{
    text-align: left !important;
}
html{
    background: #070d17;
}
body{
    background: radial-gradient(1200px 700px at 15% -10%, rgba(45, 124, 255, 0.11), transparent 62%),
                radial-gradient(900px 600px at 85% 5%, rgba(33, 203, 255, 0.07), transparent 58%),
                linear-gradient(180deg, #070d17 0%, #091221 36%, #060d18 100%);
    min-height: 100vh;
}
#app-body{
    min-height: calc(100dvh - 70px);
    overflow-x: hidden;
}
#global-overlay{
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    background: rgba(2, 8, 14, 0.66);
}
#global-overlay.active{
    display: block;
}
#global-overlay-content{
    width: 100%;
    height: 100%;
}
.overlay-panel-slide-start{
    transform: translateY(100%) !important;
    opacity: 0.98;
}
.overlay-panel-slide-in{
    transform: translateY(0) !important;
    opacity: 1;
    transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.44s ease;
}
.overlay-panel-slide-out{
    transform: translateY(100%) !important;
    opacity: 0.98;
    transition: transform 0.44s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.44s ease;
}
.close-trade-overlay,
.contact-overlay-panel{
    width: 100%;
    height: 100dvh;
    padding-top: var(--safe-top);
    box-sizing: border-box;
}
.app-body-animating{
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}
.app-body-out-left{
    transform: translateX(-100%);
    opacity: 0.92;
}
.app-body-out-right{
    transform: translateX(100%);
    opacity: 0.92;
}
.app-body-pre-left{
    transform: translateX(-100%);
    opacity: 0.92;
    transition: none !important;
}
.app-body-pre-right{
    transform: translateX(100%);
    opacity: 0.92;
    transition: none !important;
}
.app-body-in{
    transform: translateX(0);
    opacity: 1;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/*start color*/
:root {
    --common-color: #000;
    --border-radius: 50%;
    --addbutton-radius: 25px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}
/*end color */
a, p, abbr, address, ul, ol, li, table, tbody, thead, tr, th, td, pre, button, label,
input, select, option, optgroup, area, time, title, video, source, track, var, wbr, template, img,
svg, circle, path, sup, small, sub, i, ins, details, summary, strong, audio, aside, article, section,
samp, s, q, picture, object, param, form, nav, canvas, caption, meter, head, header, figcaption,
fieldset, meter, mark, map, main, legend, kbd, del, iframe, br, hr, footer, embed, em, dl, dd, dt,
dialog, dfn, colgroup, col, code, cite, blockquote, bdo, dir, track{
/*    line-height: 17px;*/
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #0f1621;
}
h1{
    font-size: 20px;
}
h2{
    font-size: 18px;
    display: flex;
/*    width: 50px;*/
    margin-top: 10px;
}
h3{
    font-size: 17px;
}
h4{
    font-size: 16px;
}
h5{
    font-size: 15px;
}
h6{
    font-size: 14px;
}
p{
    font-size: 12px;
}
a{
    text-decoration: none;
}
ul{
    list-style-type: none;
}
input{
    outline: none;
}
.navy_blue_bg{
    background: #f1faee;
}

.navy_blue_clr{
    color: #000;
}
.light_grey_clr{
    color: #fff;
}
.light_navyblue{
    color: #8494a3;
}
.white_clr{
    color: #000;
}
.green_bg{
    color: #39e27e!important;
}
.green_clr{
    color: #39e27e!important;
}
.red_clr{
    color: #e87a72 !important;
}
.blue_clr{
    color: #0000fd;
}
.red_bg{
/*    background: #b24153;*/
    color:#e87a72;
}
.light_red_bg{
/*    background: #ffcdd2;
    padding: 3px;*/
    display: inline-block;
    border-radius: 2px;
    font-weight: 500;
    font-size: 13px;
/*    line-height: 1.25;*/
}
.light_green_bg{
/*    background: #c8e6ca;
    padding: 3px 3px;*/
    display: inline-block;
    border-radius: 2px;
    font-weight: 500;
    font-size: 13px;
/*    line-height: 1.25;*/
}
.light_blue_bg{
    background: #bbdefa;
/*    padding: 3px;*/
    display: inline-block;
    border-radius: 2px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.25;
}
.m-t-10{
    margin-top: 10px;
}
/*start index page*/

.top_header {
    padding: 5px;
    top: 0px;
    width: 100%;
}

.header_loction_left {
    text-align: center;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}
.header_loction_left > a:first-child{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 9px;
    flex: 0 0 auto;
}
.header_loction_left > a:first-child i{
    font-size: 30px;
    line-height: 1;
}
.header_loction_left h2{
    margin-top: 0;
    line-height: 1.2;
}
.header_loction_left .down_arrow{
    position: absolute;
    top: 2px;
    right: 0;
}
.header_loction_left .down_arrow i{
    font-size: 20px;
}
.future_btns{
    padding: 0 8px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0b1018;
    border-bottom: #000 0.05em solid;
}
.future_btns .tab{
    display: flex;
}
.future_btns .tab .tablinks {
    background: transparent;
    border: transparent;
    width: 100%;
    margin: 0;
    padding: 2px;
    color: #8494a3;
    font-size: 11px;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
}
.future_btns .tab .tablinks.active{
    color: #fff;
    border-bottom: #184e7d 2px solid;
}
.future_btns .tab .tablinks.active::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    background: #f1faee;
    bottom: 0;
    left: 0;
}
.future_cntnt>div{
    display: none;
}
.future_cntnt>div:first-child{
    display: block;
}
.future_cntnt .tabcontent .future_search{
    position: relative;
    border-bottom: 0.05em solid;
    display: none;
}
.future_cntnt .tabcontent .future_search input{
    background: none;
    width: 100%;
    border: none;
    background: #000000;
    padding: 15px 40px;
    color: #000;
    font-size: 16px;
}
.future_cntnt .tabcontent .future_search input::-webkit-input-placeholder {
    color: #000;
    font-size: 16px;
}

.future_cntnt .tabcontent .future_search input:-ms-input-placeholder {
    color: #000;
    font-size: 16px;
}

.future_cntnt .tabcontent .future_search input::placeholder {
    color: #000;
    font-size: 16px;
}
.future_search .search_btn, .future_search .filter_btn{
    position: absolute;
    outline: none;
    background: transparent;
    border: none;
}
.future_search .search_btn{
    left: 13px;
    top: 15px;
}
.future_search .filter_btn{
    right: 13px;
    top: 15px;
}
.future_search .search_btn i, .future_search .filter_btn i{
    color: #8494a3;
    background: transparent;
    font-size: 18px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td, th {
    text-align: left;
    padding: 4px;
}
.mxc_list{
    padding: 3px 8px;
}
.mxc_list table tr td{
    /* border-bottom:0.05em solid #4f708d; */
    text-align: center;
    vertical-align: top;
}
.list_cntnt .title {
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;

}
.list_cntnt .title_number{
    font-size: 14px;
    padding: 3px;
    border-radius: 5px;
    font-weight: bold;
    width: fit-content;
    margin: 0 auto;
    letter-spacing: -1px;
}
.list_cntnt .id{
    font-size: 14px;
    font-weight: 300;
}
.list_cntnt .chg{
    font-size: 12px;
    font-weight: 300;
    padding-top: 0px;
}
.market_show{
    display: none;
}
.market_show.show_mar{
    display: block;
}
#home_time{
    display: none;
}
.market_top_list ul {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.market_top_list li{
    width: 33.33%;
    padding: 5px;
}
.market_top_list li .top_list_cntnt{
    text-align: center;
}
.market_top_list li .top_list_cntnt .title{
    text-transform: uppercase;
    font-weight: 500;
    color: #a7bbcd;
    font-size: 15px;
}
.market_top_list li .top_list_cntnt .list_num{
    color: #a7bbcd;
    font-size: 20px;
    font-weight: 700;
    padding-top: 3px;
    padding-bottom: 3px;
}
.market_top_list li .top_list_cntnt .list_para{
    color: #a7bbcd;
    font-size: 13px;
}
.last_space{
    width: 100%;
    height: 65px;
}

.tabcontent.show{
    animation: show_tab 1s;
    -webkit-animation: show_tab 1s;
    -moz-animation: show_tab 1s;
    -o-animation: show_tab 1s;
}
@keyframes show_tab{
    to{
        opacity: 1;
    }
    from{
        opacity: 0;
    }
}
@-webkit-keyframes show_tab{
    to{
        opacity: 1;
    }
    from{
        opacity: 0;
    }
}
@-moz-keyframes show_tab{
    to{
        opacity: 1;
    }
    from{
        opacity: 0;
    }
}
@-o-keyframes show_tab{
    to{
        opacity: 1;
    }
    from{
        opacity: 0;
    }
}

.mcx_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 2;
    background: #f1faee;
    padding: 10px;
    display: none;
}
.mcx_header {
    text-align: center;
    padding-bottom: 10px;
    position: relative;
}
.arrow_mcx {
    position: absolute;
    top: 6px;
    left: 0;
}
.arrow_mcx i{
    font-size: 20px;
}
.mcx_modal_list {
    width: 100%;
    height: calc(100% - 40px);
    overflow: auto;
}
.mcx_modal_list ul{
    list-style-type: none;
}
.mcx_modal_list li {
    background: #a9c6d8;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}
.mcx_modal_list li .lft_cntn .title{
    text-transform: uppercase;
    color: #000;
}
.mcx_modal_list li .lft_cntn .para{
    color: #000;
}
.mcx_modal_list li .rgt_menu i{
    color: #000;
    font-size: 18px;
}
.table_resonsive{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.mcx_search_modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding-top: var(--safe-top);
    box-sizing: border-box;
    background: #000;
    z-index: 80;
    display: none;
}
.mcx_search_modal.active{
    display: block;
}
.mcx_search_header {
    box-shadow: 0 0 10px rgb(42 72 100);
    padding: 7px 10px;
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
}
.mcx_search_header .icn i{
    font-size: 20px;
}
.mcx_search_header .mcx_search_input{
    margin-left: 10px;
    width: 100%;
    position: relative;
}
.mcx_search_header .mcx_search_input input{
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 16px;
}
.mcx_search_header .mcx_search_input .clear_btn{
    position: absolute;
    right: 0;
    top: 10px;
    background: transparent;
    border: none;
}
.mcx_search_header .mcx_search_input input::-webkit-placeholder{
    color: #fff;
}
.mcx_search_header .mcx_search_input input::-ms-placeholder{
    color: #fff;
}
.mcx_search_header .mcx_search_input input::placeholder{
    color: #fff;
}
.mcx_search_middle_cntnt {
    width: 100%;
    height: calc(100dvh - var(--safe-top) - 56px);
    overflow: auto;
}
.mcx_search_middle_cntnt .mxc_list table tr td:first-child{
    width: 40%!important;
    text-align: left;
}
.mcx_search_middle_cntnt .mxc_list table tr td:first-child .list_cntnt{
    text-align: left;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt{
    text-align: center;
    position: relative;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt .title_number{
    font-size: 13px;
    padding: 2px 4px;
    border-radius: 5px;
    width: fit-content;
    margin: 0 auto;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt .check_box{
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt .check_mark{
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    margin: 0 0 0 auto;
    position: relative;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt .check_mark::after {
    content: "+";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt input:checked ~ .check_mark{
    border: 2px solid #208549;
    background: #208549;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt input:checked ~ .check_mark::after{
    content: "\2713";
    display: block;
}
.market_order_modal {
    position: fixed;
    width: 100%;
    height: 100dvh;
    padding: 10px;
    padding-top: calc(10px + var(--safe-top));
    top: 0;
    left: 0;
    background: radial-gradient(circle at 22% 0%, #102a47 0%, #071327 38%, #040c1b 100%);
    z-index: 4;
    box-sizing: border-box;
    overflow-x: hidden;
}
.market_order_header button{
    background: transparent;
    border: none;
    color: #dce6f2;
}
.market_order_header button.times{
    margin: 0 0 0 auto;
    display: block;
    width: fit-content;
    ;
}
.market_order_header button.times i{
    font-size: 27px;
}
.market_order_header .title{
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    color: #dce6f2;
}
.modify-order-overlay .market_order_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 2px 0;
}
.modify-order-overlay .market_order_header .title{
    margin: 0;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.25px;
    color: #e9f2ff;
}
.modify-order-overlay .market_order_header button.times{
    margin: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #253c57;
    background: rgba(8, 23, 40, 0.8);
}
.modify-order-overlay .market_order_header button.times i{
    font-size: 25px;
}
.market_order_header .tab{
    margin-top: 10px;
    background: #274534;
    padding: 5px;
    font-family: sans-serif;
    border-radius: 12px;
}
.market_order_header .tab .tablinks2{
    width: 49%;
    padding: 8px;
    background: transparent;
    color: #d8e2ee;
    border-radius: 9px;
}
.market_order_header .tab .tablinks2.active{
    background: #d2dce8;
    color: #142e46;
    box-shadow: 0 2px 10px rgba(2, 8, 18, 0.35);
}
.market_order_middle_cntnt{
    width: 100%;
    height: calc(100% - 100px);
    overflow: auto;

}
.market_modal_cntnt {
    margin-top: 20px;
}
.market_order_tablinks>div{
    display: none;
}
.market_order_tablinks>div:first-child{
    display: block;
}
.market_modal_cntnt li{
    display: block;
    margin-top: 8px;
}
.modify-order-overlay .market_modal_cntnt{
    margin-top: 12px;
}
.modify-order-overlay .mini-mega-toggle{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 12px;
}
.modify-order-overlay .mini-mega-option{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 12px;
    border: 1px solid #2a425d;
    background: rgba(9, 24, 40, 0.86);
    font-weight: 600;
    color: #d8e7f8;
}
.modify-order-overlay .mini-mega-option input{
    width: auto;
}
.market_modal_cntnt li label{
    display: block;
    color: #d6e0eb;
}
.market_modal_cntnt li input{
    width: 100%;
    display: block;
    background: rgba(8, 19, 36, 0.88);
    border: 1px solid #324a65;
    border-radius: 10px;
    color: #f1f5ff;
    padding: 8px 10px;
    outline: none;
    box-sizing: border-box;
    max-width: 100%;
}
@media (max-width: 768px){
    .market_modal_cntnt li input{
        font-size: 16px !important;
    }
}
.market_modal_cntnt .market_btns{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.market_modal_cntnt .market_btns{
    margin-top: 8px;
}
#market_order_buttons,
#limit_order_buttons{
    margin-top: 2px !important;
}
#price_li{
    margin-bottom: 0;
}
#limit_order_buttons{
    margin-top: 2px !important;
}
.order-type-in-left,
.order-type-in-right,
.order-type-out-left,
.order-type-out-right{
    animation-duration: 420ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
    will-change: transform, opacity;
}
.order-type-in-left{
    animation-name: order_type_in_left;
}
.order-type-in-right{
    animation-name: order_type_in_right;
}
.order-type-out-left{
    animation-name: order_type_out_left;
}
.order-type-out-right{
    animation-name: order_type_out_right;
}
@keyframes order_type_in_left{
    0%{transform: translateX(20px); opacity: 0.28;}
    100%{transform: translateX(0); opacity: 1;}
}
@keyframes order_type_in_right{
    0%{transform: translateX(-20px); opacity: 0.28;}
    100%{transform: translateX(0); opacity: 1;}
}
@keyframes order_type_out_left{
    0%{transform: translateX(0); opacity: 1;}
    100%{transform: translateX(-16px); opacity: 0;}
}
@keyframes order_type_out_right{
    0%{transform: translateX(0); opacity: 1;}
    100%{transform: translateX(16px); opacity: 0;}
}
.market_modal_cntnt .market_btns .sell_btn{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    min-height: 52px;
    padding: 7px 10px;
    border: 0;
    margin: 0 5px 0 5px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(1, 10, 20, 0.32);
}
/*.market_modal_cntnt .market_btns .sell_btn span{
    display: block;
}*/
.market_modal_cntnt .market_btns .sell_btn .sell{
    display: inline;
    width: auto;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    font-family: sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.1;
    white-space: nowrap;
}
.market_modal_cntnt .market_btns .sell_btn .title{
    display: inline;
    font-size: 15px;
    padding-top: 0;
    font-weight: 600;
    color:#fff;
    line-height: 1.1;
    white-space: nowrap;
}
.market_order_modal .maket_table{
    margin-top: 14px;
    border: 1px solid #263b55;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(9, 21, 38, 0.92);
}
.market_order_modal .maket_table table{
    width: 100%;
}
.market_order_modal .maket_table table td{
    border-right: 1px solid #21344b;
    border-bottom: 1px solid #21344b;
    padding: 8px 10px;
}
.market_order_modal .maket_table table tr:last-child td{
    border-bottom: 0;
}
.market_order_modal .maket_table table td:last-child{
    border-right: 0;
}
.market_order_modal .maket_table .list_cntnt .id{
    color: #b8c6d8;
}
.market_order_modal .maket_table .list_cntnt .title{
    color: #f1f6ff;
}
.mxc_list.portfolio_cntnt table tr td:first-child{
    text-align: left;
}
.mxc_list.portfolio_cntnt table tr td:last-child{
    text-align: right;
}
.mxc_list.portfolio_cntnt table tr td .list_cntnt p{
/*    color: #000;*/
    font-size: 10px;
/*    line-height: 15px;*/
    padding: 2px;
}
.mxc_list.portfolio_cntnt table tr td .list_cntnt p b{
    color: #fff;
}
.portfolio_table{
    padding: 0px;
}
.portfolio_table_bg{
    /*background: #a9c6d8;*/
    padding: 2px 8px;
}
.portfolio_table table tr td{
    /*background: #a9c6d8;*/
    border-bottom: 0.05em solid #929da7;
}
.portfolio_table table tr:last-child td{
    border-bottom: none;
}
/* .portfolio_table table tr td p{ */
/*    color: #000;*/
/* } */
/* .portfolio_table table tr td p span{ */
/*    color: #000;*/
/* } */
.portfolio_table table tr td .portfolio_list .para{
    font-size: 12px;
}
.portfolio_table table tr td .portfolio_list .title{
    font-size: 12px;
    font-weight: 600;
    padding-top: 5px;
}
.order_pending{
    padding: 10px;
    text-align: center;
    margin-top: 40px;
}
.order_pending img{
    width: 150px;
}
.order_pending h3{
    font-weight: 600;
    color: #92a8bd;
}
.order_pending p{
    color: #92a8bd;
    font-size: 15px;
}
.trades_active_btns {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.trades_active_btns .active_mcx{
    width: 100%;
    background: #1f6d05;
    border-radius: 4px;
    text-align: center;
    padding: 5px;
    margin-left: 4px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    font-family: sans-serif;
}
.trades-switch-left,
.trades-switch-right{
    animation-duration: 620ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}
.trades-switch-left{
    animation-name: trades_switch_left;
}
.trades-switch-right{
    animation-name: trades_switch_right;
}
@keyframes trades_switch_left{
    0%{transform: translateX(120px) scale(0.965); opacity: 0.25;}
    100%{transform: translateX(0); opacity: 1;}
}
@keyframes trades_switch_right{
    0%{transform: translateX(-120px) scale(0.965); opacity: 0.25;}
    100%{transform: translateX(0); opacity: 1;}
}
.market-switch-left,
.market-switch-right{
    animation-duration: 640ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
}
.market-switch-left{
    animation-name: market_switch_left;
}
.market-switch-right{
    animation-name: market_switch_right;
}
@keyframes market_switch_left{
    0%{transform: translateX(132px) scale(0.96); opacity: 0.2;}
    100%{transform: translateX(0); opacity: 1;}
}
@keyframes market_switch_right{
    0%{transform: translateX(-132px) scale(0.96); opacity: 0.2;}
    100%{transform: translateX(0); opacity: 1;}
}
.close_trade_btn{
    background: #760e0e;
    color: #fff!important;
    width: fit-content;
    margin: 0 0 0 auto;
    padding: 4px 6px!important;
    font-size: 15px;
    position: relative;
    border-radius: 5px;
    display: flex;
/*    margin: 45px -110px -10px;*/
}
.exit_trade_header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 10px;
    box-shadow: 0 0 10px 0 rgb(34 34 34 / 60%);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: #000000;
}
.exit_trade_header .icn i{
    font-size: 23px;
}
.exit_trade_header .title{
    margin-left: 15px;
}
.exit_trade_header .title h3{
    font-weight: 400;
}
.exit_trade_cntnt {
    margin: 55px auto;
    overflow: auto;
/*    padding: 10px;*/
}
.exit_trade_cntnt_top{
    padding:  10px;
    text-align: center;
}
.exit_trade_cntnt_top .title{
    color: #a7bbcd;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.exit_trade_cntnt_top .exit_buy_btn{
    padding: 10px;
    display: block;
}
.success_msg_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(2, 8, 16, 0.72);
    backdrop-filter: blur(4px);
    top: 0;
    left: 0;
    z-index: 10020;
    display: none;
    justify-content: center;
    align-items: center;
}
.success_msg_cntnt {
    width: min(86%, 360px);
    background: linear-gradient(180deg, #0b1828 0%, #081220 100%);
    border: 1px solid rgba(76, 119, 165, 0.45);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 6, 14, 0.6);
    padding: 22px 20px 18px;
    text-align: center;
}
.success_msg_cntnt img{
    width: 84px;
    background: transparent;
}
.success_msg_cntnt .title{
    color: #f2f7ff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: transparent;
}
.success_msg_cntnt .para{
    color: #c4d2e6;
    font-size: 14px;
    line-height: 1.45;
    padding-top: 8px;
    background: transparent;
}
.success_msg_cntnt .para span{
    color: #fff;
    text-transform: uppercase;
    background: transparent;
}
.success_msg_cntnt .ok_btn{
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    margin-top: 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #eef5ff !important;
    background: linear-gradient(135deg, #1e62b3 0%, #1b4f91 100%);
    box-shadow: 0 10px 20px rgba(6, 22, 44, 0.42);
}
.success_msg_cntnt .ok_btn.green_bg{
    color: #eefcf4 !important;
    border-color: rgba(92, 186, 123, 0.55);
    background: linear-gradient(135deg, #1f8f4f 0%, #17703d 100%);
}
.success_msg_cntnt .ok_btn.red_bg{
    color: #fff3f2 !important;
    border-color: rgba(204, 113, 107, 0.58);
    background: linear-gradient(135deg, #bb4d4d 0%, #97393d 100%);
}
.enter_password_form {
    margin-top: 15px;
}
.enter_password_form ul{
    margin: 0;
    padding: 0;
}
.enter_password_form li{
    display: block;
}
.enter_password_form li label{
    display: block;
    color: #000;
    text-align: left;
    font-weight: 500;
    margin-bottom: 5px;
}
.enter_password_form li input{
    width: 100%;
    background: transparent;
    border: transparent;
    background: #f1f1f1;
    padding: 10px 16px;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #000;
}
.enter_password_form li input:focus{
    border: 1px solid #4caf50;
}
.enter_password_form li .green_bg{
    border: none;
    display: inline-block;
    padding: 7px 15px;
    margin-top: 12px;
}
.my_account_top_heading {
    padding: 10px;
    text-align: center;
}
.my_account_top_heading h5{
    font-size: 20px;
}
.my_account_cntnt{
    padding: 10px;
}
.account_list .info_txt{
    text-transform: none;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: #dbe9f8;
    background: linear-gradient(180deg, rgba(14, 25, 39, 0.96) 0%, rgba(11, 20, 32, 0.96) 100%);
    border: 1px solid #233a53;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 10px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.account_list ul{
    margin-top: 8px;
}
.account_list li{
    display: block;
}
.account_list li a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    min-height: 52px;
    border-bottom: 1px solid #3f6181;
}
.account_list li a span, .account_list li a span i{
    color: #fff;
}
.account_list li a .txt{
    flex: 1;
}
.account_list li a .icn{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 20px;
    margin-left: 12px;
}
.profile_title{
    color: #1781c4;
    padding: 7px;
}
.profile_title span{
    color: #a9c6d8;
}
.form_group_cntnt {
    padding: 10px 20px;
}
.form_group_cntnt li{
    margin-top: 15px;
    display: block;
    background: #000000;
}
.form_group_cntnt li label{
    display: block;
    color: #98abbd;
    font-size: 14px;
    padding-bottom: 3px;
}
.form_group_cntnt li input{
    background: #000000;
    border: transparent;
    width: 100%;
/*    background: #587895;*/
    padding: 7px;
    border-radius: 2px;
    outline: none;
    color: #fff;
    border-bottom: 1px solid #504c4c;
}
.form_group_cntnt li input:focus{
    border-bottom: 1px solid #fff;
}
.form_group_cntnt li input::-webkit-input-placeholder {
    color: #fff;
}

.form_group_cntnt li input:-ms-input-placeholder {
    color: #fff;
}

.form_group_cntnt li input::placeholder {
    color: #fff;
}
#exit_button{
    background: linear-gradient(135deg, #1a5ca8 0%, #1f68ba 100%);
    color: #fff !important;
}
.change_pass_btn {
    width: 100%;
    text-align: center;
    border: transparent;
   background: linear-gradient(135deg, #1a5ca8 0%, #1e67ba 100%);
    padding: 12px;
    border-radius: 5px;
    text-transform: uppercase;
    outline: none;
}
.future_search .search_btn, .add_button a{
    border-radius: 8px;
}
.ok_btn{
    border-radius: 10px;
    border: 1px solid #295f92;
}
.login_top{
    text-align: center;
/*    background: #fff;*/
}
.login_top .logo_logo{
    width: 100px;
    height: 100px;
    overflow: hidden;
/*    border-radius: 50%;
    background: #f1faee;*/
    margin: 10px auto;
}
.login_top .logo_logo img{
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 50%;
}
.signup_main {
    align-items: center;
    justify-content: center;
    position: fixed;
    flex-direction: column;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    margin-top: 30px;
}
.signup_form {
    margin-top: 20px;
}
.signup_form2 li{
    display: block;
    margin-top: 15px;
    background: transparent;
}
.form_input_box input[type="text"], .form_input_box input[type="number"], .form_input_box input[type="password"], .form_input_box input[type="email"], .form_input_box textarea{
    background: #000;
    opacity:60%;
    border: transparent;
    padding: 12px 3px;
    border-bottom: 1px solid #a1b5c7;
    width: 100%;
    outline: none;
    color: #fff;
}
.form_input_box input[type="text"]:focus, .form_input_box input[type="number"]:focus, .form_input_box input[type="password"]:focus, .form_input_box input[type="email"]:focus, .form_input_box textarea:focus{
    border-bottom: 2px solid blue;
}
.form_input_box input::-webkit-input-placeholder, .form_input_box textarea::-webkit-input-placeholder {
    color: #fff;
}

.form_input_box input:-ms-input-placeholder, .form_input_box textarea:-ms-input-placeholder {
    color: #fff;
}

.form_input_box input::placeholder, .form_input_box textarea::placeholder {
    color: #fff;
}
.error_red {
    color: #e87a72;
    font-size: 14px;
}
.signup_btn{
    width: 100%;
    background: transparent;
    border: none;
    background: #1d609d;
    padding: 12px;
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}
/* .signin_btn { */
/*    margin-top: 5px;*/
/* } */
.signin_btn .para{
    font-size: 12px;
    line-height: 15px;
    text-align: justify;
    padding: 20px;
}
.signin_btn .para b{
    font-size: 13px;
}
.any_ques {
    position: relative;
    bottom: 0px;
    width: 100%;
    left: 0;
    text-align: center;
    font-weight: bold;
/*    margin-top: 10px;*/
}
.any_ques p{
    font-size: 13px;
    padding: 20px;
    background: transparent;
}
.any_ques p a{
    font-weight: 500;
    color: white;
    background: transparent;
}

.grocery_footer_menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f1faee;
    width: 100%;
/*    padding: 8px 0;*/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0px -5px 6px rgb(113 107 107);
}
.grocery_footer_menu ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px;
}
.grocery_footer_menu li{
    width: 100%;
    text-align: center;
}
.grocery_footer_menu li a{
    display: block;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.grocery_footer_menu li a span{
    display: block;
    text-align: center;
}
.grocery_footer_menu li a span.cntnt_menu{
    padding-top: 5px;
    color: #d1dce6;
    text-align: center;
}
.grocery_footer_menu li a span.icon_footer{
    line-height: 0px;
    text-align: center;
}

.grocery_footer_menu li a span.icon_footer i{
    color: #d1dce6;
    font-size: 12px;
    text-align: center;
}
.grocery_footer_menu li.active2 a span.icon_footer i{
    color: #fff;
    text-align: center;
}
.grocery_footer_menu li.active2 a span.cntnt_menu{
    color:#fff;
    text-align: center;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #000;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  font-size: 18px;
/*  color: #000;*/
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 22px;
  margin-left: 50px;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.menu-button{
    font-size:30px;
    cursor:pointer; 
    width: 40px;
/*    display: inline-flex;*/
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #818181;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #818181;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #818181;
}

.wf_select{
    width: 100%;
    padding: 5px;
    border: 1px #999 solid;
    background: transparent;
}

.grocery_footer_menu li{
    background: #665e5e;
    margin: 5px;
}

.sidenav li{
    background: #665e5e;
    border-bottom: 1px solid #7b6b6b;
}

/* .mxc_list td { */
/*    background: #edf7ff !important;*/
    
/* } */

/* .mxc_list .list_cntnt,.mxc_list .title,.mxc_list .chg,.mxc_list .id,.mxc_list .title_number{ */
/*    background: #edf7ff !important;*/
/* } */

.mxc_list tr{
    border-bottom: 1px solid #564c4c;
}

.mxc_list th{
    background: #923333;
    color: #fff;
    padding: 2px 0 2px 10px !important;
}

.add_button{
        position: absolute;
    text-align: right;
    right: 0;
    top: 10px;
}

.add_button a{
    background: #108294;
    color: #fff;
    padding: 3px;
    border-radius: 5px;
}

.add_button i{
    color: #fff;
    background: #108294;
}

.big_num{
    /* font-size: large; */
    font-size: 14px;
    font-weight: bold;
}

.signup_form2 ul{
    padding: 0 20px;
    background: transparent;
}

.signup_form2 h3 {
    font-size: 17px;
    text-align: center;
    padding: 20px 0 0 0;
}

.boldtitle{
    font-size: 22px;
    font-weight: 500;
}
.portfolio_pl{
    background: #000;
    text-align: center;
    font-size: 18px;
    padding:5px;
    margin: 0px 8px 0px 8px;
    font-weight: bold;
}
.grey_txt{
    color: #bdb2b2;
}
.portfolio_ledger{
    background: #fff;
    text-align: center;
    font-size: 18px;
    padding:0;
    margin: 5px 8px 3px 8px;
}
.portfolio_ledger td{
    border: 1px solid #8e8888;
    text-align: center;
}
.portfolio_ledger .para{
    color: #bdb2b2;
}
.homebg{
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(../img/market.jpg);
    background-size: cover;
    z-index: -1;
    opacity: 1;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    /* Greyscale starts*/
/*    -moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
    filter: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix'values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale);*/
    /* Greyscale ends */
}
.login_form{
    background-color: transparent;
}
.form_input_box input[type="text"]::placeholder{
    color: #fff;
    font-weight: 500;
}

.form_input_box input[type="password"]::placeholder{
    color: #fff;
    font-weight: 500;
}

.closebtn{
    background-color: transparent;
}

.red_bg .big_num{
    color: #e87a72;
}

.green_bg .big_num{
    color: #39e27e;
}

.title_number .green_bg .big_num{
    color: #39e27e;
}

.title_number .red_bg .green_bg .big_num{
    color: #39e27e;
}

.home_page_main_div{
    margin-bottom: 70px;
}

.sell_btn.red_bg{
    background: linear-gradient(135deg, #bc4758 0%, #a33d4d 100%) !important;
}

.sell_btn.green_bg{
    background: linear-gradient(135deg, #31955b 0%, #287c4c 100%) !important;
}

.wf_select{
    display: block;
    width: 100%;
    color: #fff;
    background: #587895;
    padding: 10px;
}

.otplink{
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    color: #86cfda;
    background: transparent
}

.otplink a{
    color: #fff;
    background: #4c4e4f;
    padding: 10px;
}

#err{
    color: #fff;
    text-align: center;
}

.username{
    top: 10px;
    position: absolute;
    left: 10px;
    text-align: center;
    margin: auto;
    font-weight: bold;
    color: #e1ece9;
}

.switch{
    padding: 6px;
    color: white;
    border-radius: 5px;
    background: #108294;
    font-weight: bold;
}

#switch_button{
    margin: auto;
    text-align: center;
    display: none;
    margin-top: 10px;
}

#ticker, #ticker li, #ticker span{
    background: #bc4c4c;
    color: white;
    padding: 1px;
}

#withdrawal_requests li{
/*        background: #333;*/
        padding: 10px;
        border-bottom: #585454 1px solid;
        margin: 2px;
    }
    #withdrawal_requests .txt{
        font-weight: bold;
        font-size: 15px;
        width: 100%;
    }
    #withdrawal_requests p{
        margin-top: 5px;
    }
    #withdrawal_requests .icn{
        float: right;
        font-size: 10px;
    }
    #withdrawal_requests .image{
        text-align: center;
    }
    #withdrawal_requests .image img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80px;
    }
    #withdrawal_requests .time{
        float: right;
        font-size: 11px;
        font-weight: normal;
    }
    #screenshots{
        background: #fff;
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 70px;
        z-index: 1000;
    }
    #screenshots img{
        max-width: 95%;
    }
    #screenshots .close_btn{
        float: right;
        color: #000;
        margin: 15px;
    }
    #screenshots .close_btn a{
        font-weight: bold;
        color: #000;
        font-size: 25px;
    }
    
     .form_group_cntnt ul{
        padding: 5px;
        background: #000000;
    }


     /* Game CSS starts */

    .gameBody {
        font-family: sans-serif;
        margin: 0;
        padding: 10px;
        background: #000; /*var(--bg);*/
        color: var(--fg);
        overflow: auto;
        height: 90vh;
    }
    .header, .tabs {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    .header .right, .header .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .game-account-row{
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .game-account-row .left{
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }
    .game-account-row .right{
        width: auto;
        min-width: max-content;
        justify-content: flex-end;
    }
    .game-user-block{
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }
    .game-user-block .game-user-icon{
        width: 13px;
        height: 13px;
        flex: 0 0 auto;
    }
    .game-account-row #game_username{
        font-size: 13px;
        font-weight: 600;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .game-account-row .wallet{
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }
    .game-account-row .wallet .wallet-icon{
        line-height: 1;
    }
    .game-account-row .right{
        gap: 12px;
    }
    .game-account-row .game-menu-btn{
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid #2c4360;
        background: linear-gradient(180deg, #13253b 0%, #0c192b 100%);
        color: #d6e6f8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-right: 2px;
        box-shadow: 0 4px 12px rgba(0, 6, 12, 0.38);
    }
    .game-account-row .game-menu-btn i{
        font-size: 16px;
        line-height: 1;
    }
    .game-menu-panel{
        position: fixed;
        inset: 0;
        z-index: 100;
        background: radial-gradient(1100px 620px at 12% -14%, rgba(44, 132, 248, 0.18), transparent 64%),
                    linear-gradient(180deg, #0a1422 0%, #07101d 100%);
        transform: translateX(100%);
        opacity: 0.96;
        transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.46s ease;
        pointer-events: none;
    }
    .game-menu-panel.active{
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .game-menu-panel .exit_trade_header{
        z-index: 4;
        border-bottom: 1px solid #1b3248;
    }
    .game-menu-panel .game-menu-content{
        margin-top: 76px;
        padding: 12px;
    }
    .game-menu-panel .game-menu-list{
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #233a53;
        background: rgba(9, 20, 35, 0.92);
        box-shadow: 0 16px 32px rgba(0, 3, 9, 0.42);
    }
    .game-menu-panel .game-menu-list li a{
        min-height: 58px;
        padding: 0 16px;
    }
    .chart-wrapper {
        position: relative;
    }
    .price-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--fg);
  pointer-events: none;
  z-index: 2;
  padding-left: 4px;
  box-sizing: border-box;
}
    canvas {
        width: 100%;
        height: 260px;
        background: var(--card);
        border: 1px solid var(--border);
    }
    #timeLabels {
        display: flex;
        justify-content: space-between;
        font-size: 10px;
        opacity: 0.8;
        padding: 4px 6px;
    }
    #timeLabels span{
        font-size: 10px;
        opacity: 0.8;
    }
    .controls {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-top: 10px;
    }
    input, select, button {
        padding: 8px;
        font-size: 1rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-weight:bold;
    }
    select{
        width: 55%;
    }
    .bets{
        margin: 10px 0;
    }
    .bets table {
        width: 100%;
        border-collapse: collapse;
        background: var(--card);
        margin: 10px 0;
    }
    .bets th, .bets td {
        padding: 6px;
        border: 1px solid var(--border);
        font-size: 0.9rem;
        text-align: center;
        background: #0e7fe5;
    }
    #tooltip {
        position: absolute;
        background: var(--card);
        border: 1px solid var(--border);
        padding: 6px 8px;
        font-size: 12px;
        pointer-events: none;
        display: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        border-radius: 4px;
    }
    .tabs button.active {
        background: var(--line);
        color: white;
    }
    @media (max-width: 600px) {
        .header, .tabs, .controls {
            flex-direction: column;
            align-items: stretch;
        }
    }
    .controls {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-top: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .controls > * {
        flex: 1 1 auto;
        min-width: 120px;
    }
    .tab-content {
        margin-top: 15px;
        overflow: auto;
        height: 100vh;
    }
    .tabs {
        /* display: inline; */
        justify-content: center;
        gap: 20px;
        margin: 10px 0;
        flex-wrap: nowrap;
        display: none;
    }

    .tab-btn {
        background: none;
        border: none;
        font-size: 16px;
        font-weight: 600;
        padding: 10px 14px;
        color: var(--fg);
        cursor: pointer;
        border-bottom: 2px solid transparent;
        transition: border-color 0.2s ease, color 0.2s ease;
        white-space: nowrap;
    }

    .tab-btn:hover {
        color: var(--line);
    }

    .tab-btn.active {
        border-bottom: 2px solid var(--line);
        color: var(--line);
    }

    .bet-marker {
        position: absolute;
        font-size: 18px;
        font-weight: bold;
        background: rgba(255, 255, 255, 0.85);
        padding: 2px 6px;
        border-radius: 4px;
        transform: translate(-100%, -50%);
        pointer-events: none;
        white-space: nowrap;
        z-index: 12;
    }
    .gameBody.dark .bet-marker {
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
    }

    .demoButton{
        background: #0684a4;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
    }
    
    .gameSettings{
        width: 100%;
        display: flex;
    }
    .gameSettings label{
        width: 50%;
        padding: 5px;
        font-weight: bold;
            background: #000;
    }
    .upButton{
        background: green;
        color: white;
    }
    .downButton{
        background: red;
        color: white;
    }
    .duration, .amount{
        display: block;
        width: 90%;
        margin: 5px 0;
        border: 1px solid #fff;
        height: 35px;
    }

    .bet_stats{
        
    font-weight: bold;
    color: rgb(43, 114, 140);
    padding: 0 5px;
    background: #000;
        font-size: 12px;
    }

    .current_ltp{
        text-align: right;
        font-weight: bold;
    }

    .flashMessage{
        padding: 10px 20px 10px 20px;
    border-radius: 5px;
    position: fixed;
    top: 45%;
    margin: auto;
    z-index: 11;
    text-align: center;
    width: 220px;
    left: 60px;
    }

    .green_back{
        background: green;
        color: #fff;
    }

    .red_back{
        background: red;
        color: #fff;
    }   

    .game-sub-screen{
        min-height: calc(100dvh - 70px - var(--safe-bottom));
        margin-bottom: 0;
        overflow-y: auto;
        background: transparent;
    }
    .game-sub-screen .game-sub-header{
        position: sticky;
        top: 0;
        z-index: 22;
        border-bottom: 1px solid #20374f;
        background: rgba(10, 18, 29, 0.94) !important;
        backdrop-filter: blur(8px);
    }
    .game-sub-screen .game-sub-header .title h3{
        font-family: "Space Grotesk", "Sora", sans-serif;
        font-size: 20px;
        font-weight: 700;
        color: #dbe9f8;
    }
    .game-sub-content{
        padding: 10px;
    }
    .game-bets-table-wrap{
        margin-top: 0 !important;
        height: calc(100dvh - 160px) !important;
        border-radius: 16px;
        border: 1px solid #233a53;
        background: linear-gradient(180deg, rgba(10, 19, 31, 0.96) 0%, rgba(9, 17, 28, 0.96) 100%);
        box-shadow: 0 16px 30px rgba(0, 3, 10, 0.42);
        padding: 6px !important;
    }
    .game-bets-table-wrap table{
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 5px;
        table-layout: fixed;
    }
    .game-bets-table-wrap th{
        background: transparent !important;
        color: #7f9cbc;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.45px;
        font-weight: 700;
        padding: 6px 8px;
        border: none !important;
    }
    .game-bets-table-wrap td{
        background: #101c2b !important;
        color: #d3e2f2;
        border-top: 1px solid #243b54 !important;
        border-bottom: 1px solid #243b54 !important;
        padding: 9px 8px !important;
        font-size: 12px;
        vertical-align: top;
        white-space: normal;
        word-break: break-word;
    }
    .game-bets-table-wrap tr td:first-child{
        border-left: 1px solid #243b54 !important;
        border-radius: 10px 0 0 10px;
        white-space: normal;
        width: 24%;
        min-width: 72px;
    }
    .game-bets-table-wrap tr td:last-child{
        border-right: 1px solid #243b54 !important;
        border-radius: 0 10px 10px 0;
    }
    .game-empty-row{
        text-align: center;
        color: #8ca4bf !important;
        font-weight: 600;
    }
    .game-transfer-content .game-transfer-form ul{
        border: 1px solid #233a53;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(10, 19, 31, 0.96) 0%, rgba(8, 16, 26, 0.96) 100%);
        box-shadow: 0 16px 30px rgba(0, 3, 9, 0.42);
        padding: 12px !important;
    }
    .game-transfer-content .game-transfer-form li{
        background: transparent !important;
        border-bottom: none !important;
        margin-bottom: 8px;
    }
    .game-transfer-content .game-transfer-form li label{
        color: #88a5c2;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 4px;
        display: block;
    }
    .game-transfer-content .game-transfer-form .wf_select,
    .game-transfer-content .game-transfer-form input[type=number]{
        width: 100%;
        min-height: 44px;
        border-radius: 10px;
        border: 1px solid #2f4a66;
        background: #0f1b2a;
        color: #d9e9f9;
        padding: 0 12px;
        font-size: 14px;
    }
    .game-transfer-content .game-transfer-form .change_pass_btn{
        width: 100%;
        min-height: 46px;
        border-radius: 11px;
        margin-top: 4px;
    }
    .game-transfer-content .game-transfer-form li:last-child{
        margin-top: 10px;
        color: #86a2be;
        font-size: 12px;
        line-height: 1.5;
    }
    .bets{
        border: 1px solid #233a53;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(10, 19, 31, 0.96) 0%, rgba(8, 16, 26, 0.96) 100%);
        box-shadow: 0 14px 28px rgba(0, 3, 9, 0.42);
        padding: 8px;
    }
    .bets h4{
        font-family: "Space Grotesk", "Sora", sans-serif;
        font-size: 22px;
        color: #dce9f8;
        margin: 2px 4px 8px;
    }
    .bets table{
        margin: 0;
        border-collapse: separate;
        border-spacing: 0 5px;
    }
    .bets thead th{
        background: transparent !important;
        border: none !important;
        color: #8aa5c0;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.45px;
        font-weight: 700;
    }
    .bets tbody td{
        background: #101c2b !important;
        border-top: 1px solid #233a53 !important;
        border-bottom: 1px solid #233a53 !important;
        color: #d4e3f3;
        font-size: 12px;
        padding: 8px 7px;
    }
    .bets tbody tr td:first-child{
        border-left: 1px solid #233a53 !important;
        border-radius: 10px 0 0 10px;
        white-space: nowrap;
    }
    .bets tbody tr td:last-child{
        border-right: 1px solid #233a53 !important;
        border-radius: 0 10px 10px 0;
    }
    .bet-result-pill{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 74px;
        min-height: 24px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2px;
        padding: 0 10px;
    }
    .bet-result-won{
        background: rgba(34, 160, 89, 0.2);
        color: #57dc94;
        border: 1px solid rgba(56, 182, 110, 0.35);
    }
    .bet-result-lost{
        background: rgba(191, 75, 85, 0.22);
        color: #f1959e;
        border: 1px solid rgba(199, 86, 95, 0.35);
    }
    .bet-result-pending{
        background: rgba(95, 125, 156, 0.22);
        color: #afc3d8;
        border: 1px solid rgba(95, 125, 156, 0.35);
    }

    #notifications li {
    background: #000000;
    padding: 10px;
    margin: 2px;
    border-bottom: #fff 1px solid;
}

    /* Game CSS Ends */

/* Market Watch Cohesive Surface */
.market-watch-screen{
    margin-bottom: 0;
    height: calc(100dvh - 70px - var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 14px;
}
.market-watch-screen #switch_button{
    display: none;
    margin: 10px 10px 8px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.market-watch-screen #switch_button .switch{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1f4f9e 0%, #193f80 100%);
    color: #eaf3ff;
    border: 1px solid rgba(114, 151, 210, 0.46);
    box-shadow: 0 10px 20px rgba(4, 12, 26, 0.48);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}
.market-watch-screen .top_header{
    position: sticky;
    top: 0;
    z-index: 22;
    padding: 10px 10px 8px;
    margin-top: 2px;
    border-bottom: none;
    box-shadow: none;
    transition: padding 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}
.market-watch-screen .header_loction_left{
    display: flex;
    align-items: center;
}
.market-watch-screen .mw-game-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    margin-right: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14577e 0%, #1a3f72 100%);
    border: 1px solid rgba(91, 136, 182, 0.48);
    box-shadow: 0 10px 22px rgba(3, 12, 24, 0.45);
    color: #eaf3ff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
}
.market-watch-screen .header_loction_left > .mw-game-btn{
    width: auto !important;
    height: auto !important;
    margin-right: 10px;
    border-radius: 12px;
    flex: 0 0 auto;
}
.market-watch-screen .mw-game-btn i{
    background: transparent !important;
    color: #eaf3ff !important;
    font-size: 13px;
}
.market-watch-screen .mw-game-btn span{
    background: transparent !important;
    color: #eaf3ff !important;
    font-size: 13px;
    font-weight: 700;
}
.market-watch-screen .add_button{
    position: static;
    margin-left: auto;
}
.market-watch-screen .add_button a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #2d61e6 0%, #253ebf 100%) !important;
    color: #f7fbff !important;
    border-radius: 12px;
    border: 1px solid rgba(126, 157, 224, 0.35);
    box-shadow: 0 10px 22px rgba(19, 38, 88, 0.4);
    text-transform: none;
}
.market-watch-screen .add_button a i{
    background: transparent !important;
    color: #f7fbff !important;
    font-size: 13px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(236, 244, 255, 0.42);
}
.market-watch-screen #ticker{
    display: block;
    width: calc(100% - 4px);
    min-height: 30px;
    line-height: 30px;
    margin: 8px auto 0;
    padding: 0 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #903843 0%, #782f3a 100%);
    color: #ffecef;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.45px;
    box-sizing: border-box;
}
.market-watch-screen .home_middle_cntnt{
    background: transparent;
    padding: 2px 10px 0;
}
.market-watch-screen .future_btns{
    position: static;
    background: transparent !important;
    border-bottom: none !important;
    padding: 0;
    margin-top: 7px;
    transition: margin-top 0.22s ease;
}
.market-watch-screen .future_btns .tab{
    background: rgba(16, 28, 44, 0.78);
    border: 1px solid #223a55;
    border-radius: 16px;
    padding: 4px;
    gap: 4px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.market-watch-screen .future_btns .tab::-webkit-scrollbar{
    display: none;
}
.market-watch-screen .future_btns .tab .tablinks{
    border-radius: 12px;
    min-height: 54px;
    background: transparent;
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    transition: min-height 0.22s ease, font-size 0.22s ease, letter-spacing 0.22s ease;
}
.market-watch-screen .future_btns .tab .tablinks.active{
    background: linear-gradient(135deg, #1f3653 0%, #1a2d45 100%);
    color: #dbe9f8;
    border-bottom: none !important;
    box-shadow: inset 0 -1px 0 rgba(98, 137, 185, 0.22), 0 4px 12px rgba(5, 10, 18, 0.45);
}
.market-watch-screen .future_btns .tab .tablinks.active::after{
    display: none;
}
.market-watch-screen .mxc_list.table_resonsive{
    margin-top: 12px;
    padding: 4px 6px !important;
    border-radius: 18px;
    border: 1px solid #21364f;
    background: linear-gradient(180deg, rgba(11, 19, 30, 0.93) 0%, rgba(13, 23, 35, 0.93) 100%);
    box-shadow: 0 14px 30px rgba(1, 4, 10, 0.42);
}
.market-watch-screen.header-compact .top_header{
    padding-top: 7px;
    padding-bottom: 6px;
    box-shadow: 0 8px 16px rgba(1, 7, 15, 0.4);
}
.market-watch-screen.header-compact .future_btns{
    margin-top: 5px;
}
.market-watch-screen.header-compact .future_btns .tab .tablinks{
    min-height: 46px;
    font-size: 11px;
    letter-spacing: 0.2px;
}
.market-watch-screen .mxc_list table tr{
    border: none !important;
}
.market-watch-screen .mxc_list table tr td{
    background: transparent !important;
    padding: 7px 8px;
}
.market-watch-screen .mxc_list table tr + tr td{
    border-top: 1px solid #1f3349;
}
.market-watch-screen .mxc_list .list_cntnt,
.market-watch-screen .mxc_list .title,
.market-watch-screen .mxc_list .chg,
.market-watch-screen .mxc_list .id,
.market-watch-screen .mxc_list .title_number{
    background: transparent !important;
}
.market-watch-screen .list_cntnt .title{
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 1.2;
}
.market-watch-screen .list_cntnt .title_number{
    font-size: 14px;
    padding: 0;
}
.market-watch-screen .list_cntnt .chg,
.market-watch-screen .list_cntnt .id{
    font-size: 12px;
}

/* Exit Overlay Cohesive Surface */
.close-trade-overlay{
    background: radial-gradient(980px 580px at 12% -8%, rgba(48, 129, 231, 0.2), transparent 62%),
                linear-gradient(180deg, #0d1624 0%, #0b1320 100%);
    min-height: 100%;
    overflow: auto;
}
.close-trade-overlay .exit_trade_header{
    top: var(--safe-top);
    background: rgba(13, 24, 38, 0.94) !important;
    border-bottom: 1px solid #1f344d;
    box-shadow: 0 10px 20px rgba(1, 6, 13, 0.44);
    z-index: 3;
}
.close-trade-overlay .exit_trade_header .title h3{
    font-weight: 600;
    letter-spacing: 0.2px;
}
.close-trade-overlay .exit_trade_cntnt{
    margin: 68px 0 0;
    padding: 10px 10px 18px;
}
.close-trade-overlay .exit_trade_cntnt_top{
    border-radius: 14px;
    border: 1px solid #22384f;
    background: linear-gradient(180deg, rgba(15, 26, 40, 0.98) 0%, rgba(13, 22, 34, 0.98) 100%);
    box-shadow: 0 12px 24px rgba(0, 4, 10, 0.36);
}
.close-trade-overlay .mxc_list.table_resonsive{
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid #22384f;
    background: linear-gradient(180deg, rgba(15, 26, 40, 0.98) 0%, rgba(13, 22, 34, 0.98) 100%);
    box-shadow: 0 12px 24px rgba(0, 4, 10, 0.32);
    padding: 8px !important;
}
.close-trade-overlay .mxc_list table tr{
    border: none !important;
}
.close-trade-overlay .mxc_list table tr td{
    background: transparent !important;
    padding: 7px 6px;
}
.close-trade-overlay .mxc_list table tr + tr td{
    border-top: 1px solid #21364d;
}
.close-trade-overlay .mxc_list .list_cntnt,
.close-trade-overlay .mxc_list .title,
.close-trade-overlay .mxc_list .chg,
.close-trade-overlay .mxc_list .id,
.close-trade-overlay .mxc_list .title_number{
    background: transparent !important;
}
.close-trade-overlay #exit_button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.26em;
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 20px rgba(2, 8, 16, 0.42);
}
.close-trade-overlay #exit_button span{
    color: inherit !important;
    background: transparent !important;
}
.close-trade-overlay #exit_button #exit_order_type{
    margin: 0 0.06em;
}
.close-trade-overlay #exit_button.green_bg{
    background: linear-gradient(135deg, #16a870 0%, #118b68 100%) !important;
    border-color: rgba(102, 228, 191, 0.35);
}
.close-trade-overlay #exit_button.red_bg{
    background: linear-gradient(135deg, #e06872 0%, #c95965 100%) !important;
    border-color: rgba(246, 141, 151, 0.35);
}

/* Deposit/Withdraw Screen Polish */
.deposit-withdraw-screen .top_header{
    padding: 10px;
}
.deposit-withdraw-screen .my_account_cntnt{
    padding: 12px;
}
.deposit-withdraw-screen .account_list{
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #243a53;
    background: linear-gradient(180deg, rgba(14, 24, 37, 0.97) 0%, rgba(11, 20, 31, 0.97) 100%);
    box-shadow: 0 14px 28px rgba(1, 4, 10, 0.4);
}
.deposit-withdraw-screen .account_list ul{
    margin-top: 0;
}
.deposit-withdraw-screen .account_list li a{
    background: transparent !important;
    border-bottom: 1px solid #21364d;
    min-height: 58px;
    padding: 7px 14px;
}
.deposit-withdraw-screen .account_list li:last-child a{
    border-bottom: none;
}
.deposit-withdraw-screen .account_list li a .txt{
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #d9e7f7;
}

.home_page_main_div:not(.deposit-withdraw-screen):not(.trades-screen) .account_list li a{
    min-height: 50px;
    padding: 6px 12px;
}
.home_page_main_div:not(.deposit-withdraw-screen):not(.trades-screen) .account_list li a .txt{
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* My Account Rounded Card Layout */
.my-account-screen .my_account_cntnt{
    padding: 10px;
}
.my-account-screen .account_list .info_txt{
    min-height: 48px;
    border-radius: 14px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.15px;
}
.my-account-screen .account_list ul{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.my-account-screen .account_list li{
    display: block;
}
.my-account-screen .account_list li a{
    border: 1px solid #213a56;
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(11, 22, 37, 0.96) 0%, rgba(8, 17, 29, 0.96) 100%);
    min-height: 48px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(2, 8, 16, 0.24);
}
.my-account-screen .account_list li a .txt{
    font-size: 14px;
    font-weight: 600;
    color: #e3edf8;
}
.my-account-screen .account_list li a .icn,
.my-account-screen .account_list li a .icn i{
    color: #d8e5f2;
}
.my-account-screen .account_list li:last-child{
    margin-top: 2px;
}
.my-account-screen .change_pass_btn{
    border: 1px solid #2f6ba8;
    border-radius: 13px;
    padding: 11px 12px;
    background: linear-gradient(135deg, #1a5ca8 0%, #205fa8 100%);
    box-shadow: 0 10px 18px rgba(2, 8, 16, 0.3);
}

/* Notifications Screen */
.notifications-screen .my_account_cntnt{
    padding: 10px 12px;
}
.notifications-screen .notifications-list-card{
    border: 1px solid #233a54;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 22, 36, 0.95) 0%, rgba(9, 18, 30, 0.95) 100%);
    box-shadow: 0 14px 24px rgba(2, 7, 14, 0.34);
    overflow: hidden;
}
.notifications-screen #notifications{
    margin-top: 0;
}
.notifications-screen #notifications .notification-item{
    margin: 0;
    padding: 10px 12px;
    background: transparent !important;
    border-bottom: 1px solid #243a52;
}
.notifications-screen #notifications .notification-item:last-child{
    border-bottom: none;
}
.notifications-screen #notifications .notification-title{
    display: block;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #e4eef9;
    width: 100%;
}
.notifications-screen #notifications .notification-time{
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #91a8bf;
}
.notifications-screen #notifications .notification-message{
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #c5d5e5;
}
.notifications-screen #notifications .notification-empty{
    text-align: center;
    padding: 16px 10px;
    color: #9fb4c8;
}

/* Change Password Screen */
.change-password-screen .form_group_cntnt{
    padding: 10px 12px;
}
.change-password-screen .change-password-form{
    border: 1px solid #233a54;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 23, 38, 0.95) 0%, rgba(9, 18, 31, 0.95) 100%);
    box-shadow: 0 14px 24px rgba(2, 7, 14, 0.34);
    padding: 10px;
}
.change-password-screen .change-password-form .change-password-subtitle{
    margin-top: 0;
    margin-bottom: 6px;
    color: #9fb5cd;
    font-size: 12px;
    font-weight: 500;
}
.change-password-screen .change-password-form li{
    margin-top: 8px;
    background: transparent;
}
.change-password-screen .change-password-form li input{
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid #324b66;
    background: rgba(8, 18, 32, 0.92);
    color: #eff6ff;
    padding: 10px 12px;
}
.change-password-screen .change-password-form li input::placeholder{
    color: #afc1d3;
}
.change-password-screen .change-password-form li input:focus{
    border-color: #3c77b1;
    box-shadow: 0 0 0 2px rgba(60, 119, 177, 0.25);
}
.change-password-screen .change-password-form .change_pass_btn{
    margin-top: 2px;
    width: 100%;
    min-height: 46px;
    border-radius: 11px;
}

/* Trades Screen Redesign */
.trades-screen .top_header{
    position: sticky;
    top: 0;
    z-index: 22;
    padding: 10px 10px 8px;
    transition: padding 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}
.trades-screen .header_loction_left h2{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}
.trades-screen .home_middle_cntnt{
    min-height: 0;
    padding: 2px 10px 0;
}
.trades-screen{
    margin-bottom: 0;
    height: calc(100dvh - 70px - var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.trades-screen .future_btns{
    position: static;
    background: transparent !important;
    border-bottom: none !important;
    padding: 0;
    margin-top: 7px;
    transition: margin-top 0.22s ease;
}
.trades-screen .future_btns .tab{
    gap: 6px;
    background: rgba(12, 24, 38, 0.86);
    border: 1px solid #243b55;
    border-radius: 14px;
    padding: 4px;
}
.trades-screen .future_btns .tab .tablinks{
    border-radius: 10px;
    min-height: 44px;
    font-size: 12px;
    letter-spacing: 0.4px;
    font-weight: 700;
    transition: min-height 0.22s ease, font-size 0.22s ease, letter-spacing 0.22s ease;
}
.trades-screen .future_btns .tab .tablinks.active{
    color: #dce9f8;
    background: linear-gradient(135deg, #1d3655 0%, #1a2c44 100%);
    border-bottom: none !important;
    box-shadow: inset 0 -1px 0 rgba(93, 132, 181, 0.2), 0 6px 13px rgba(2, 8, 17, 0.36);
}
.trades-screen .future_btns .tab .tablinks.active::after{
    display: none;
}
.trades-screen .trades_active_btns{
    padding: 8px 0 6px;
    gap: 6px;
}
.trades-screen.header-compact .top_header{
    padding-top: 7px;
    padding-bottom: 6px;
    box-shadow: 0 8px 16px rgba(1, 7, 15, 0.4);
}
.trades-screen.header-compact .future_btns{
    margin-top: 5px;
}
.trades-screen.header-compact .future_btns .tab .tablinks{
    min-height: 38px;
    font-size: 11px;
    letter-spacing: 0.2px;
}
.trades-screen .trades_active_btns .active_mcx{
    margin-left: 0;
    border-radius: 10px;
    min-height: 46px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #149765 0%, #0f7d63 100%);
    box-shadow: 0 10px 19px rgba(5, 44, 35, 0.4);
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: 0.2px;
}
.trades-screen #trades_list_wrapper{
    margin-top: 6px;
    height: calc(100dvh - 225px - var(--safe-bottom)) !important;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 16px;
    border: 1px solid #243a53;
    background: linear-gradient(180deg, rgba(14, 24, 37, 0.96) 0%, rgba(11, 21, 33, 0.96) 100%);
    box-shadow: 0 16px 30px rgba(0, 3, 8, 0.45);
    padding: 5px !important;
}
.trades-screen #trades_list_wrapper table{
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 4px;
}
.trades-screen #trades_list_wrapper tr{
    border: none !important;
}
.trades-screen #trades_list_wrapper td{
    background: #101b2a !important;
    vertical-align: top;
    padding: 8px 10px 7px;
    border-top: 1px solid #23394f;
    border-bottom: 1px solid #23394f;
}
.trades-screen #trades_list_wrapper tr td:first-child{
    border-left: 1px solid #23394f;
    border-radius: 12px 0 0 12px;
    width: 54%;
}
.trades-screen #trades_list_wrapper tr td:last-child{
    border-right: 1px solid #23394f;
    border-radius: 0 12px 12px 0;
    width: 46%;
}
.trades-screen #trades_list_wrapper .list_cntnt p{
    font-size: 11px !important;
    line-height: 1.2;
    padding: 1px 0 !important;
    overflow-wrap: anywhere;
}
.trades-screen #trades_list_wrapper .list_cntnt .title{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: 0.1px;
    overflow-wrap: anywhere;
}
.trades-screen #trades_list_wrapper .list_cntnt .chg{
    color: #8ba5c1;
}
.trades-screen #trades_list_wrapper .list_cntnt p b{
    font-size: 14px;
    font-weight: 700;
}
.trades-screen #trades_list_wrapper .close_trade_btn{
    margin-top: 8px;
    margin-left: auto;
    min-height: 34px;
    padding: 0 12px !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #37567d 0%, #4a6b93 100%);
    box-shadow: 0 10px 20px rgba(4, 15, 27, 0.5);
}
.trades-screen #trades_list_wrapper .pending-order-actions{
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.trades-screen #trades_list_wrapper tr.active-trade-row td{
    position: relative;
    padding-bottom: 52px;
}
.trades-screen #trades_list_wrapper tr.active-trade-row .active-left-action{
    position: absolute;
    left: 10px;
    bottom: 8px;
    margin-top: 0;
    justify-content: flex-start;
}
.trades-screen #trades_list_wrapper tr.active-trade-row td:last-child .active-close-action{
    position: absolute;
    right: 10px;
    bottom: 8px;
    margin: 0;
    min-height: 30px;
    padding: 0 10px !important;
    font-size: 11px;
    border-radius: 9px;
}
.trades-screen #trades_list_wrapper .pending-order-actions.active-trade-actions{
    margin-top: 8px;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.trades-screen #trades_list_wrapper .pending-order-actions.active-trade-actions .pending-edit-btn{
    margin-right: auto;
}
.trades-screen #trades_list_wrapper .pending-order-actions.active-trade-actions .close_trade_btn{
    margin-top: 0;
    margin-left: auto;
    min-height: 30px;
    padding: 0 10px !important;
    font-size: 11px;
    border-radius: 9px;
}
.trades-screen #trades_list_wrapper tr.pending-actions-row td{
    border-top: 0;
    padding-top: 2px;
    padding-bottom: 8px;
    position: relative;
    top: -4px;
}
.trades-screen #trades_list_wrapper .pending-order-actions.pending-inline-actions{
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}
.trades-screen #trades_list_wrapper tr.pending-main-row td{
    border-bottom: 0;
}
.trades-screen #trades_list_wrapper tr.pending-main-row td:first-child{
    border-radius: 12px 0 0 0;
}
.trades-screen #trades_list_wrapper tr.pending-main-row td:last-child{
    border-radius: 0 12px 0 0;
}
.trades-screen #trades_list_wrapper tr.pending-actions-row td{
    border-left: 1px solid #23394f;
    border-right: 1px solid #23394f;
    border-bottom: 1px solid #23394f;
    border-radius: 0 0 12px 12px;
    border-top: 0 !important;
    overflow: hidden;
}
.trades-screen #trades_list_wrapper tr.pending-actions-row td:first-child,
.trades-screen #trades_list_wrapper tr.pending-actions-row td:last-child{
    border-radius: 0 0 12px 12px !important;
}
.trades-screen #trades_list_wrapper .pending-action-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    border: 1px solid #2a4460;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15px;
}
.trades-screen #trades_list_wrapper .pending-action-btn i,
.trades-screen #trades_list_wrapper .pending-action-btn span{
    color: inherit !important;
    font-size: inherit;
}
.trades-screen #trades_list_wrapper .pending-edit-btn{
    background: linear-gradient(135deg, #245b93 0%, #2f73ae 100%);
    color: #edf6ff !important;
    border-color: #3f78ad;
}
.trades-screen #trades_list_wrapper .pending-delete-btn{
    background: linear-gradient(135deg, #9f3f4d 0%, #87404a 100%);
    color: #fff1f3 !important;
    border-color: #ab5d68;
}
.trades-screen .last_space{
    display: none;
}
.market-watch-screen + .last_space{
    display: none;
}
.portfolio-screen + .last_space{
    display: none;
}

/* Portfolio Screen Redesign */
.portfolio-screen .top_header{
    position: sticky;
    top: 0;
    z-index: 22;
    padding: 12px 10px 8px;
}
.portfolio-screen .header_loction_left h2{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
}
.portfolio-screen .home_middle_cntnt{
    min-height: 0;
    padding: 8px 10px 0;
}
.portfolio-screen{
    margin-bottom: 0;
    height: calc(100dvh - 70px - var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.portfolio-screen .portfolio_pl,
.portfolio-screen .portfolio_ledger,
.portfolio-screen .portfolio_table_bg,
.portfolio-screen .mxc_list.portfolio_cntnt{
    margin: 10px 0 0;
    border-radius: 16px;
    border: 1px solid #243a53;
    background: linear-gradient(180deg, rgba(14, 24, 37, 0.97) 0%, rgba(11, 20, 32, 0.97) 100%);
    box-shadow: 0 14px 28px rgba(1, 4, 10, 0.42);
}
.portfolio-screen .portfolio_pl{
    padding: 10px 12px 9px;
}
.portfolio-screen .portfolio_pl .boldtitle{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: clamp(24px, 6.4vw, 36px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.1px;
}
.portfolio-screen .portfolio_pl .grey_txt{
    margin-top: 4px;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #8699b1;
}
.portfolio-screen .portfolio_ledger{
    padding: 0;
    overflow: hidden;
}
.portfolio-screen .portfolio_ledger table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.portfolio-screen .portfolio_ledger td{
    padding: 11px 8px 10px;
    border-right: 1px solid #21364d;
}
.portfolio-screen .portfolio_ledger td:last-child{
    border-right: none;
}
.portfolio-screen .portfolio_ledger .para{
    display: block;
    color: #8ea2ba;
    font-size: 13px;
    font-weight: 600;
}
.portfolio-screen .portfolio_ledger .title{
    display: block;
    margin-top: 2px;
    color: #dce9f8;
    font-size: 18px;
    font-weight: 700;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.portfolio-screen .portfolio_table{
    padding: 0;
}
.portfolio-screen .portfolio_table_bg{
    padding: 6px 12px;
}
.portfolio-screen .portfolio_table table{
    width: 100%;
    border-collapse: collapse;
}
.portfolio-screen .portfolio_table table tr td{
    vertical-align: top;
    border-bottom: none;
    padding: 4px 2px;
}
.portfolio-screen .portfolio_table table tr td:first-child{
    border-right: 1px solid #21364d;
    padding-right: 12px;
}
.portfolio-screen .portfolio_table table tr td:last-child{
    padding-left: 12px;
}
.portfolio-screen .portfolio_table .portfolio_list{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
}
.portfolio-screen .portfolio_table table tr td .portfolio_list .para{
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 12px;
    color: #8ba3be;
}
.portfolio-screen .portfolio_table table tr td .portfolio_list .title{
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #dce9f8;
    padding-top: 0;
}
.portfolio-screen .mxc_list.portfolio_cntnt{
    padding: 5px !important;
}
.portfolio-screen .mxc_list.portfolio_cntnt table{
    border-collapse: separate;
    border-spacing: 0 4px;
}
.portfolio-screen .mxc_list.portfolio_cntnt tr{
    border: none !important;
}
.portfolio-screen .mxc_list.portfolio_cntnt td{
    vertical-align: top;
    background: #101b2a !important;
    border-top: 1px solid #23394f;
    border-bottom: 1px solid #23394f;
    padding: 8px 10px 7px;
}
.portfolio-screen .mxc_list.portfolio_cntnt tr td:first-child{
    border-left: 1px solid #23394f;
    border-radius: 12px 0 0 12px;
    width: 52%;
}
.portfolio-screen .mxc_list.portfolio_cntnt tr td:last-child{
    border-right: 1px solid #23394f;
    border-radius: 0 12px 12px 0;
    width: 48%;
}
.portfolio-screen .mxc_list.portfolio_cntnt .list_cntnt p{
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    color: #8ba5c1;
    padding: 1px 0;
}
.portfolio-screen .mxc_list.portfolio_cntnt .list_cntnt .title{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #dce9f8;
    line-height: 1.15;
    margin-bottom: 3px;
}
.portfolio-screen .mxc_list.portfolio_cntnt .list_cntnt .chg b{
    font-size: 13px;
    font-weight: 700;
    color: #f4f8ff;
}
.portfolio-screen .mxc_list.portfolio_cntnt .order-type-buy{
    color: #9cc8fb;
    font-weight: 700;
}
.portfolio-screen .mxc_list.portfolio_cntnt .order-type-sold{
    color: #ec7883;
    font-weight: 700;
}
.portfolio-screen .mxc_list.portfolio_cntnt .green_clr{
    color: #39cf83 !important;
}
.portfolio-screen .mxc_list.portfolio_cntnt .red_clr{
    color: #e06c74 !important;
}
.portfolio-screen .mxc_list.portfolio_cntnt .closebtn{
    margin-top: 7px;
}
.portfolio-screen .mxc_list.portfolio_cntnt .close_trade_btn{
    min-height: 34px;
    padding: 0 14px !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #3a5a84 0%, #4c6d95 100%);
    border: 1px solid rgba(93, 132, 181, 0.28);
    box-shadow: 0 10px 20px rgba(4, 15, 27, 0.5);
}

/* Signup Screen Redesign */
.signup-bg{
    background: radial-gradient(920px 520px at 12% 6%, rgba(43, 102, 184, 0.3), transparent 64%),
                radial-gradient(760px 460px at 88% -4%, rgba(26, 73, 132, 0.34), transparent 60%),
                linear-gradient(180deg, #0e243d 0%, #09182b 48%, #071425 100%);
    z-index: -1;
    opacity: 1;
}
.signup_main.signup-screen{
    display: flex;
    justify-content: flex-start;
    gap: 9px;
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin-top: 0;
    padding: 18px 14px 26px;
}
.signup_main.signup-screen .login_top{
    width: 100%;
    margin-top: 2px;
}
.signup_main.signup-screen .login_top .logo_logo{
    width: 122px;
    height: 122px;
    margin: 4px auto 6px;
}
.signup_main.signup-screen .signup-app-title{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: clamp(28px, 7vw, 34px);
    font-weight: 700;
    letter-spacing: 0;
    color: #e8f0fb;
    text-shadow: 0 8px 20px rgba(1, 8, 17, 0.56);
    margin: 0;
}
.signup_main.signup-screen .signup_form{
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.signup_main.signup-screen .signup_form2 ul{
    padding: 0 6px;
}
.signup_main.signup-screen .signup_form2 li{
    margin-top: 8px;
}
.signup_main.signup-screen .form_input_box input[type="text"],
.signup_main.signup-screen .form_input_box input[type="number"],
.signup_main.signup-screen .form_input_box input[type="password"],
.signup_main.signup-screen .form_input_box input[type="email"]{
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #2a4563;
    background: rgba(5, 14, 26, 0.9);
    color: #dbe8f8;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
    opacity: 1;
}
.signup_main.signup-screen .form_input_box input::placeholder{
    color: #95abc4;
}
.signup_main.signup-screen .form_input_box input:focus{
    border: 1px solid #4f79a8;
    box-shadow: 0 0 0 2px rgba(58, 104, 159, 0.24);
}
.signup_main.signup-screen .signup_btn{
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.signup_main.signup-screen .signup-primary-btn{
    background: linear-gradient(135deg, #2d6ec0 0%, #3a87d7 100%) !important;
    border-color: rgba(84, 131, 193, 0.35);
    box-shadow: 0 12px 24px rgba(1, 8, 16, 0.45);
}
.signup_main.signup-screen #signup_link{
    margin-top: 8px;
}
.signup_main.signup-screen .signup-secondary-btn{
    min-height: 44px;
    width: 208px;
    background: linear-gradient(135deg, #467f58 0%, #55a860 100%) !important;
    border-color: rgba(104, 162, 108, 0.35);
    box-shadow: 0 10px 20px rgba(1, 8, 15, 0.42);
}
.signup_main.signup-screen .any_ques{
    margin-top: 2px;
}
.signup_main.signup-screen .any_ques p{
    padding: 8px 4px;
}
.signup_main.signup-screen .signup-help{
    color: #dce9f8;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.signup_main.signup-screen .signup-help .signup-help-link{
    color: #dce9f8;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.signup_main.signup-screen .signup-error{
    min-height: 18px;
    margin: 0 6px 4px;
    color: #ea7f87;
    font-size: 12px;
    font-weight: 600;
}

/* Contact Overlay Redesign */
.contact-overlay-panel{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(880px 480px at 14% -4%, rgba(42, 111, 207, 0.26), transparent 64%),
                linear-gradient(180deg, #0d2036 0%, #09172a 42%, #071223 100%);
    overflow: auto;
}
.contact-overlay-panel .exit_trade_header{
    position: sticky;
    top: var(--safe-top);
    left: 0;
    width: 100%;
    min-height: 66px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #233a54;
    background: rgba(10, 22, 35, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(1, 8, 16, 0.42);
    z-index: 3;
}
.contact-overlay-panel .exit_trade_header .icn{
    width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-overlay-panel .exit_trade_header .icn i{
    font-size: 34px;
    line-height: 1;
    color: #dce9f8;
}
.contact-overlay-panel .exit_trade_header .title{
    margin-left: 0;
}
.contact-overlay-panel .exit_trade_header .title h3{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    color: #dce9f8;
}
.contact-overlay-panel .exit_trade_cntnt{
    margin: 0;
    padding: 12px 10px 20px;
}
.contact-overlay-panel .contact-form-shell{
    padding: 0;
    max-width: 680px;
    margin: 0 auto;
}
.contact-overlay-panel .signup_form2 ul{
    padding: 0;
}
.contact-overlay-panel .signup_form2 li{
    margin-top: 10px;
    background: transparent;
}
.contact-overlay-panel .form_input_box input[type="text"],
.contact-overlay-panel .form_input_box input[type="number"],
.contact-overlay-panel .form_input_box textarea{
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #2a4460;
    background: rgba(5, 14, 26, 0.9);
    color: #dce9f8;
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
}
.contact-overlay-panel .form_input_box textarea{
    min-height: 130px;
    padding: 12px 14px;
    resize: vertical;
}
.contact-overlay-panel .form_input_box input::placeholder,
.contact-overlay-panel .form_input_box textarea::placeholder{
    color: #95abc4;
}
.contact-overlay-panel .form_input_box input:focus,
.contact-overlay-panel .form_input_box textarea:focus{
    border: 1px solid #4d79a8;
    box-shadow: 0 0 0 2px rgba(58, 104, 159, 0.24);
}
.contact-overlay-panel .contact-submit-btn{
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(94, 135, 190, 0.3);
    border-radius: 12px;
    color: #fff !important;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #2f6fbe 0%, #3d86d5 100%) !important;
    box-shadow: 0 12px 20px rgba(1, 8, 15, 0.42);
}
.contact-overlay-panel .contact-error{
    min-height: 18px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #ea7f87;
}
