@import url("chart-light.css?v=1");

*{
    margin: 0;
    padding: 0;
    font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #000;
    font-size: 14px;
}
.scrip_name{
    text-align: left !important;
}
html{
    background: #eef4fb;
}
body{
    background: radial-gradient(1200px 700px at 15% -10%, rgba(48, 124, 233, 0.16), transparent 60%),
                radial-gradient(900px 600px at 85% 5%, rgba(42, 187, 242, 0.14), transparent 55%),
                linear-gradient(180deg, #eef4fb 0%, #eaf3ff 35%, #e6eef9 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(8, 20, 36, 0.38);
}
#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);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 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: #f5f9ff;
}
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: #208549!important;
}
.green_clr{
    color: #2dc533!important;
}
.red_clr{
    color: #f44336!important;
}
.blue_clr{
    color: #0000fd;
}
.red_bg{
/*    background: #b24153;*/
    color:#ff0000;
}
.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: #eef4fb;
    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: #000;
    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: #f8f9fa;
    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: 10px;
}
.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: #f8f9fa;
    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: #000;
}
.mcx_search_header .mcx_search_input input::-ms-placeholder{
    color: #000;
}
.mcx_search_header .mcx_search_input input::placeholder{
    color: #000;
}
.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 #7f90a3;
    background: #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: #5d6d7e;
    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;
    color: #fff;
}
.mcx_search_middle_cntnt .mxc_list table tr .list_cntnt input:checked ~ .check_mark::after{
    content: "\2713";
    display: block;
}
.watchlist_select_bar{
    display: none;
    padding: 0 0 8px;
    text-align: left;
}
#market_list_wrapper.has-watchlist-symbols .watchlist_select_bar{
    display: block;
}
.market-watch-screen .watchlist_select_btn{
    border: 1px solid #208549;
    border-radius: 14px;
    background: #208549;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    min-height: 34px;
    padding: 9px 16px;
}
.market_watch_delete_btn{
    display: none;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #d32f2f;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}
#market_list_wrapper.watchlist-select-mode .market_watch_delete_btn{
    display: inline-flex;
}
#market_list_wrapper.watchlist-select-mode .scrip_name .list_cntnt{
    position: relative;
    padding-left: 30px;
}
.market_order_modal {
    position: fixed;
    width: 100%;
    height: 100dvh;
    padding: 10px;
    padding-top: calc(10px + var(--safe-top));
    top: 0;
    left: 0;
    background: #fff;
    z-index: 4;
    box-sizing: border-box;
    overflow-x: hidden;
}
.market_order_header button{
    background: transparent;
    border: none;
    color:#fff;
}
.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;
}
.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;
}
.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;
}
.modify-order-overlay .market_order_header button.times i{
    font-size: 25px;
}
.market_order_header .tab{
    margin-top: 10px;
    background: #30681d;
    padding: 5px;
    font-family: sans-serif;
}
.market_order_header .tab .tablinks2{
    width: 49%;
    padding: 8px;
}
.market_order_header .tab .tablinks2.active{
    background: #f1faee;
    color: #142e46;
}
.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 #c4d4ea;
    background: #f3f8ff;
    font-weight: 600;
    color: #17395c;
}
.modify-order-overlay .mini-mega-option input{
    width: auto;
}
.market_modal_cntnt li label{
    display: block;
}
.market_modal_cntnt li input{
    width: 100%;
    display: block;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    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;
    flex-wrap: wrap;
    width: 100%;
}
.market_modal_cntnt .market_btns{
    margin-top: 8px;
    gap: 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,
.market_modal_cntnt .market_btns .order-view-chart-btn{
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    min-height: 52px;
    padding: 7px 10px;
    border: 0;
    margin: 0;
    border-radius: 5px;
}
.market_modal_cntnt .market_btns .order-view-chart-btn{
    flex: 1 0 100%;
    min-width: 100%;
    min-height: 42px;
    margin: 0;
    background: #2f67f0;
    color: #fff;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: bold;
}
.market_modal_cntnt .market_btns .order-view-chart-btn i,
.market_modal_cntnt .market_btns .order-view-chart-btn span{
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}
.market_modal_cntnt .market_btns .order-view-chart-btn i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
    background: transparent !important;
    color: #fff !important;
}
/*.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;
    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;
}
.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: #000;
}
.portfolio_table{
    padding: 0px;
}
.portfolio_table_bg{
    /*background: #a9c6d8;*/
    padding: 2px 5px;
}
.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;
}
.tab-slide-viewport{
    position: relative;
    display: grid;
    overflow: hidden;
}
.tab-slide-panel{
    grid-area: 1 / 1;
    display: none;
    width: 100%;
    transform: translateX(0);
    transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.tab-slide-panel.active{
    display: block;
}
.tab-slide-panel.is-transitioning{
    display: block !important;
}
.tab-slide-panel[hidden]{
    display: none !important;
}
.tab-slide-panel[aria-hidden="true"]{
    display: none !important;
}
.tab-slide-panel[aria-hidden="false"]{
    display: block;
}
.market-watch-screen,
.trades-screen{
    overflow-x: hidden;
}
.close_trade_btn{
    background: #5d5454;
    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: #f8f9fa;
}
.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: rgb(0 0 0 / 70%);
    top: 0;
    left: 0;
    z-index: 10020;
    display: none;
    justify-content: center;
    align-items: center;
}
.success_msg_cntnt {
    width: 80%;
    background: #f1faee;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(74 74 74 / 70%);
    padding: 20px;
    text-align: center;
}
.success_msg_cntnt img{
    width: 100px;
}
.success_msg_cntnt .title{
    color: #000;
    font-size: 22px;
}
.success_msg_cntnt .para{
    color: #000;
    font-size: 15px;
    padding-top: 5px;
}
.success_msg_cntnt .para span{
    color: #000;
    text-transform: uppercase;
}
.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.35);
}
.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%);
}
.success_msg_modal.auto-success-flash{
    align-items: center;
    padding: var(--safe-top) 14px var(--safe-bottom);
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
}
.success_msg_modal.auto-success-flash .success_msg_cntnt{
    width: min(100%, 360px);
    padding: 14px 16px;
    border: 1px solid #bcdcca;
    border-radius: 16px;
    background: linear-gradient(145deg, #f5fff9, #e9f8f0);
    box-shadow: 0 16px 34px rgba(25, 89, 58, 0.2);
    animation: success_flash_notice 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.success_msg_modal.auto-success-flash .success_msg_cntnt img{ width: 42px; }
.success_msg_modal.auto-success-flash .success_msg_cntnt .title{ margin-top: 2px; color: #17663d; font-size: 16px; }
.success_msg_modal.auto-success-flash .success_msg_cntnt .para{ padding-top: 3px; color: #416c56; font-size: 11px; line-height: 1.35; }
.success_msg_modal.auto-success-flash .success_msg_cntnt .para span{ color: #245f43; }
.success_msg_modal.auto-success-flash .ok_btn{ display: none !important; }
@keyframes success_flash_notice{
    0%{ opacity: 0; transform: translateX(18px) scale(.97); }
    18%, 78%{ opacity: 1; transform: translateY(0) scale(1); }
    100%{ opacity: 0; transform: translateX(-8px) scale(.99); }
}
.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;
}
.exit_trade_header.account-child-header{
    position: relative;
    top: auto;
    left: auto;
    z-index: auto;
    width: auto;
}
.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: #153a5f;
    background: linear-gradient(180deg, rgba(251, 254, 255, 0.95) 0%, rgba(245, 251, 255, 0.95) 100%);
    border: 1px solid #dce9f9;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    min-height: 42px;
    display: flex;
    align-items: 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: #000;
}
.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;
}
.form_group_cntnt li label{
    display: block;
    color: #98abbd;
    font-size: 14px;
    padding-bottom: 3px;
}
.form_group_cntnt li input{

    background: transparent;
    border: transparent;
    width: 100%;
    /* background: #587895; */
    padding: 6px;
    border-radius: 2px;
    outline: none;
    color: #000;
    border-bottom: 1px solid #a7cae9;
}
.form_group_cntnt li input:focus{
    border-bottom: 1px solid #fff;
}
.form_group_cntnt li input::-webkit-input-placeholder {
    color: #818181;
}

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

.form_group_cntnt li input::placeholder {
    color: #818181;
}
.change_pass_btn {
    width: 100%;
    text-align: center;
    border: transparent;
    background: linear-gradient(135deg, #dce8f7 0%, #cbdef7 100%);
    padding: 12px;
    border-radius: 5px;
    text-transform: uppercase;
    outline: none;
}
.search_btn, .add_button a{
    border-radius: 8px;
}
.ok_btn{
    border-radius: 10px;
    border: 1px solid #9bc4f1;
}
.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: #818181;
}

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

.form_input_box input::placeholder, .form_input_box textarea::placeholder {
    color: #818181;
}
.error_red {
    color: red;
    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;
    color: #17385c;
}
.signin_btn .para b{
    font-size: 13px;
    color: #17385c;
}
.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(52 82 108);
}
.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: #8494a3;
    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: #8494a3;
    font-size: 12px;
    text-align: center;
}
.grocery_footer_menu li.active2 a span.icon_footer i{
    color: #000;
    text-align: center;
}
.grocery_footer_menu li.active2 a span.cntnt_menu{
    color:#000;
    text-align: center;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #fff;
  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: #fff;
    margin: 5px;
}

.sidenav li{
    background: #fff;
    border-bottom: 1px solid #f1eaea;
}

.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: 3px solid #fff;
}

.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: #090993;
    color: #fff;
    padding: 3px;
    border-radius: 5px;
}

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

.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: #fff;
    text-align: center;
    font-size: 18px;
    padding:15px;
    margin: 8px 8px 3px 8px;
    font-weight: bold;
}
.grey_txt{
    color: #bdb2b2;
}
.portfolio_ledger{
    background: #fff;
    text-align: center;
    font-size: 18px;
    padding:0;
    margin: 8px 8px 3px 8px;
}
.portfolio_ledger td{
    border-right: 1px solid #bdb2b2;
    text-align: center;
}
.portfolio_ledger .para{
    color: #bdb2b2;
}
.homebg{
    width: 100%;
    height: 100%;
    position: fixed;
    background: #edf4fb;
    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: red;
}

.green_bg .big_num{
    color: green;
}

.title_number .green_bg .big_num{
    color: green;
}

.title_number .red_bg .green_bg .big_num{
    color: green;
}

.home_page_main_div{
    margin-bottom: 70px;
}

.sell_btn.red_bg{
    background: red !important;
}

.sell_btn.green_bg{
    background: green !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: royalblue;
}

.switch{
    padding: 6px;
    color: white;
    border-radius: 5px;
    background: #090993;
    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;
        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;
    }


    /* Game CSS starts */

    .gameBody {
        font-family: sans-serif;
        margin: 0;
        padding: 10px;
        background: 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 #c8d8ec;
        background: linear-gradient(180deg, #f8fbff 0%, #e7effa 100%);
        color: #1b3a5e;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-right: 2px;
        box-shadow: 0 2px 8px rgba(35, 79, 129, 0.14);
    }
    .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(66, 149, 255, 0.2), transparent 64%),
                    linear-gradient(180deg, #eef5ff 0%, #e8f1fc 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;
    }
    .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 #d5e3f6;
        background: rgba(252, 254, 255, 0.9);
        box-shadow: 0 14px 28px rgba(22, 58, 102, 0.14);
    }
    .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: #e2edf7;
    }
    #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;
    }
    .upButton{
        background: green;
        color: white;
    }
    .downButton{
        background: red;
        color: white;
    }
    .duration, .amount{
        display: block;
        width: 90%;
        margin: 5px 0;
        border: 1px solid #ccc;
        height: 35px;
    }

    .bet_stats{

    font-weight: bold;
    color: blue;
    padding: 0 5px;
    background: #fff;
    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 #d8e7fa;
        background: rgba(248, 252, 255, 0.92) !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;
    }
    .game-sub-content{
        padding: 10px;
    }
    .game-bets-table-wrap{
        margin-top: 0 !important;
        height: calc(100dvh - 160px) !important;
        border-radius: 16px;
        border: 1px solid #d7e6f9;
        background: linear-gradient(180deg, rgba(252, 255, 255, 0.97) 0%, rgba(245, 250, 255, 0.97) 100%);
        box-shadow: 0 12px 26px rgba(34, 76, 121, 0.13);
        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: #6a85a3;
        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: #f9fcff !important;
        color: #163553;
        border-top: 1px solid #d6e6f8 !important;
        border-bottom: 1px solid #d6e6f8 !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 #d6e6f8 !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 #d6e6f8 !important;
        border-radius: 0 10px 10px 0;
    }
    .game-empty-row{
        text-align: center;
        color: #6f8aa7 !important;
        font-weight: 600;
    }
    .game-transfer-content .game-transfer-form ul{
        border: 1px solid #d8e7fa;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(252, 255, 255, 0.97) 0%, rgba(246, 251, 255, 0.97) 100%);
        box-shadow: 0 12px 24px rgba(33, 74, 118, 0.12);
        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: #35587c;
        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 #ccdef3;
        background: #f8fcff;
        color: #102a45;
        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: #607e9e;
        font-size: 12px;
        line-height: 1.5;
    }
    .bets{
        border: 1px solid #d8e7fa;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(252, 255, 255, 0.97) 0%, rgba(246, 251, 255, 0.97) 100%);
        box-shadow: 0 10px 24px rgba(36, 78, 121, 0.11);
        padding: 8px;
    }
    .bets h4{
        font-family: "Space Grotesk", "Sora", sans-serif;
        font-size: 22px;
        color: #16324f;
        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: #6d87a3;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.45px;
        font-weight: 700;
    }
    .bets tbody td{
        background: #f9fcff !important;
        border-top: 1px solid #d7e6f8 !important;
        border-bottom: 1px solid #d7e6f8 !important;
        color: #16334f;
        font-size: 12px;
        padding: 8px 7px;
    }
    .bets tbody tr td:first-child{
        border-left: 1px solid #d7e6f8 !important;
        border-radius: 10px 0 0 10px;
        white-space: nowrap;
    }
    .bets tbody tr td:last-child{
        border-right: 1px solid #d7e6f8 !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(42, 171, 92, 0.16);
        color: #13864c;
        border: 1px solid rgba(35, 152, 81, 0.35);
    }
    .bet-result-lost{
        background: rgba(220, 76, 86, 0.14);
        color: #b53b47;
        border: 1px solid rgba(198, 66, 75, 0.35);
    }
    .bet-result-pending{
        background: rgba(88, 118, 148, 0.16);
        color: #3b5d80;
        border: 1px solid rgba(81, 110, 141, 0.35);
    }

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

    /* Game CSS Ends */

/* Light Mode Polish */
html,
body {
    color: #13263c;
}

body {
    background: radial-gradient(1200px 720px at 12% -12%, rgba(91, 158, 255, 0.22), transparent 62%),
                radial-gradient(920px 640px at 88% -8%, rgba(63, 208, 255, 0.18), transparent 58%),
                linear-gradient(180deg, #f4f8ff 0%, #eef4ff 45%, #e9f0fb 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #10263f;
    letter-spacing: 0.1px;
}

.top_header,
.future_btns,
.grocery_footer_menu,
.sidenav,
.exit_trade_header {
    background: rgba(248, 252, 255, 0.9) !important;
    backdrop-filter: blur(8px);
}

.future_btns {
    border-bottom: 1px solid #dbe8fb !important;
}

.future_btns .tab .tablinks {
    color: #68839f;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 6px;
    transition: all 0.2s ease;
}

.future_btns .tab .tablinks.active {
    color: #0e3f73;
    border-bottom: none !important;
    background: linear-gradient(135deg, #d9e9ff 0%, #cfe3ff 100%);
    box-shadow: inset 0 -1px 0 rgba(13, 67, 123, 0.2);
}

.future_btns .tab .tablinks.active::after {
    display: none;
}

.mxc_list td,
.mxc_list .list_cntnt,
.mxc_list .title,
.mxc_list .chg,
.mxc_list .id,
.mxc_list .title_number,
.portfolio_table_bg,
.account_list li a,
.form_group_cntnt li,
#notifications li {
    background: #fdfefe !important;
}

.mxc_list tr {
    border: 1px solid #e2ecfa;
    border-radius: 10px;
}

.list_cntnt .title {
    color: #163a5c;
}

.list_cntnt .chg,
.list_cntnt .id {
    color: #54728f;
}

.account_list li a {
    border-bottom: 1px solid #e2ecfa;
}

.grocery_footer_menu {
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 -8px 24px rgba(34, 77, 126, 0.12);
}

.grocery_footer_menu li {
    background: transparent;
    margin: 2px;
    border-radius: 10px;
}

.grocery_footer_menu li a span.icon_footer i,
.grocery_footer_menu li a span.cntnt_menu {
    color: #6d87a2;
}

.grocery_footer_menu li.active2 {
    background: linear-gradient(135deg, #ddeaff 0%, #d1e4ff 100%);
}

.grocery_footer_menu li.active2 a span.icon_footer i,
.grocery_footer_menu li.active2 a span.cntnt_menu {
    color: #0f3f72;
}

/* Cohesive bottom navigation */
.grocery_footer_menu {
    min-height: calc(70px + var(--safe-bottom));
    padding: 8px 10px calc(8px + var(--safe-bottom));
    background: rgba(248, 251, 255, 0.98);
    border-top: 1px solid #d9e6f5;
    box-shadow: 0 -10px 28px rgba(28, 65, 108, 0.14);
}

.grocery_footer_menu ul {
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.grocery_footer_menu li,
.grocery_footer_menu #payments-tab {
    display: flex;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    border-radius: 11px;
    background: transparent;
}

.grocery_footer_menu li a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    padding: 6px 4px;
    border-radius: inherit;
    background: transparent;
}

.grocery_footer_menu li a span,
.grocery_footer_menu li a span.icon_footer i {
    background: transparent;
}

.grocery_footer_menu li a span.icon_footer {
    line-height: 1;
}

.grocery_footer_menu li a span.icon_footer i {
    font-size: 15px;
}

.grocery_footer_menu li a span.cntnt_menu {
    overflow: hidden;
    max-width: 100%;
    padding-top: 5px;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.grocery_footer_menu li.active2 {
    background: #e1edfc;
    box-shadow: inset 0 0 0 1px rgba(56, 112, 175, 0.12);
}

.change_pass_btn,
.signup_btn,
.trades_active_btns .active_mcx,
.close_trade_btn,
.ok_btn {
    border-radius: 10px;
}

.change_pass_btn,
.signup_btn {
    background: linear-gradient(135deg, #2f7fda 0%, #4b96eb 100%) !important;
    color: #fff !important;
    border: none;
}

.close_trade_btn {
    background: linear-gradient(135deg, #455d79 0%, #587394 100%);
}

.success_msg_cntnt {
    background: #ffffff;
    border: 1px solid #dfeaf8;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(24, 56, 91, 0.18);
}

/* 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, #1f57bf 0%, #1c43a3 100%);
    color: #f7fbff;
    border: 1px solid rgba(198, 221, 255, 0.55);
    box-shadow: 0 8px 18px rgba(28, 67, 123, 0.2);
    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;
    gap: 8px;
}
.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, #0f6f9d 0%, #16548d 100%);
    border: 1px solid rgba(186, 221, 248, 0.55);
    box-shadow: 0 8px 18px rgba(20, 72, 120, 0.2);
    color: #f2f8ff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
}
.market-watch-screen .mw-crypto-btn{
    background: linear-gradient(135deg, #1d8f5a 0%, #14735a 100%);
    border-color: rgba(183, 242, 212, 0.55);
}
.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: #f2f8ff !important;
    font-size: 13px;
}
.market-watch-screen .mw-game-btn span{
    background: transparent !important;
    color: #f2f8ff !important;
    font-size: 13px;
    font-weight: 700;
}
.market-watch-screen .add_button{
    position: static;
    margin-left: 0;
}
.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, #1b5be0 0%, #2840c9 100%) !important;
    color: #f7fbff !important;
    border-radius: 12px;
    border: 1px solid rgba(186, 210, 255, 0.35);
    box-shadow: 0 10px 22px rgba(27, 62, 140, 0.24);
    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(240, 247, 255, 0.55);
}
.market-watch-screen .header_loction_left > .mw-game-btn,
.market-watch-screen .header_loction_left > .add_button{
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0 !important;
}
.market-watch-screen .header_loction_left > .mw-game-btn,
.market-watch-screen .header_loction_left > .add_button a{
    width: 100% !important;
    min-height: 38px;
    padding: 0 6px;
    gap: 5px;
    white-space: nowrap;
}
.market-watch-screen .header_loction_left > .mw-game-btn span,
.market-watch-screen .header_loction_left > .add_button a{
    font-size: 12px;
}
.market-watch-screen .header_loction_left > .mw-game-btn i,
.market-watch-screen .header_loction_left > .add_button a i{
    flex: 0 0 auto;
}
.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, #ba4d58 0%, #a74152 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.45px;
    box-sizing: border-box;
}
.market-watch-screen #ticker[hidden]{
    display: none !important;
}
.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(250, 253, 255, 0.82);
    border: 1px solid #d8e6f8;
    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_scrollable{
    position: relative;
    padding: 0 34px;
}
.market-watch-screen .future_btns_scrollable .tab_scroll{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.market-watch-screen .future_btns_scrollable .tab_scroll::-webkit-scrollbar{
    display: none;
}
.market-watch-screen .future_btns_scrollable .tab{
    min-width: 100%;
    width: max-content;
    overflow: visible;
}
.market-watch-screen .tab_scroll_arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 12px rgba(72, 107, 153, 0.28);
}
.market-watch-screen .tab_scroll_arrow.left{
    left: 2px;
}
.market-watch-screen .tab_scroll_arrow.right{
    right: 2px;
}
.market-watch-screen .tab_scroll_arrow i{
    color: #315f91;
    background: transparent;
    font-size: 13px;
}
.market-watch-screen .tab_scroll_arrow.visible{
    display: inline-flex;
}
.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, #cfe0fb 0%, #bdd4f6 100%);
    color: #123d73;
    box-shadow: inset 0 -1px 0 rgba(17, 61, 109, 0.2), 0 4px 12px rgba(72, 107, 153, 0.2);
}
.market-watch-screen .mxc_list.table_resonsive{
    margin-top: 12px;
    padding: 4px 6px !important;
    border-radius: 18px;
    border: 1px solid #dbe8f9;
    background: linear-gradient(180deg, rgba(253, 255, 255, 0.92) 0%, rgba(246, 251, 255, 0.92) 100%);
    box-shadow: 0 12px 26px rgba(42, 84, 132, 0.12);
}
.market-watch-screen.header-compact .top_header{
    padding-top: 7px;
    padding-bottom: 6px;
    box-shadow: 0 6px 16px rgba(24, 55, 92, 0.14);
}
.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 #dbe8f8;
}
.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(96, 166, 255, 0.18), transparent 62%),
                linear-gradient(180deg, #eef4ff 0%, #e8f0fc 100%);
    min-height: 100%;
    overflow: auto;
}
.close-trade-overlay .exit_trade_header{
    top: var(--safe-top);
    background: rgba(246, 251, 255, 0.95) !important;
    border-bottom: 1px solid #d6e5f8;
    box-shadow: 0 8px 18px rgba(35, 78, 126, 0.14);
    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 #d9e8fa;
    background: linear-gradient(180deg, rgba(254, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
    box-shadow: 0 10px 22px rgba(44, 84, 132, 0.12);
}
.close-trade-overlay .mxc_list.table_resonsive{
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid #d9e8fa;
    background: linear-gradient(180deg, rgba(254, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
    box-shadow: 0 10px 24px rgba(44, 84, 132, 0.1);
    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 #d9e8fa;
}
.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 10px 18px rgba(35, 78, 125, 0.2);
}
.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, #13a36b 0%, #0d8e65 100%) !important;
    border-color: rgba(93, 220, 181, 0.35);
}
.close-trade-overlay #exit_button.red_bg{
    background: linear-gradient(135deg, #de5e64 0%, #c64f58 100%) !important;
    border-color: rgba(250, 152, 158, 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 #d8e7fa;
    background: linear-gradient(180deg, rgba(253, 255, 255, 0.96) 0%, rgba(246, 251, 255, 0.96) 100%);
    box-shadow: 0 12px 24px rgba(39, 76, 118, 0.12);
}
.deposit-withdraw-screen .account_list ul{
    margin-top: 0;
}
.deposit-withdraw-screen .account_list li a{
    background: transparent !important;
    border-bottom: 1px solid #dce9f9;
    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: #173a5d;
}

.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 Compact 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.12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.my-account-screen .account_list ul{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.my-account-screen .account_list li a{
    background: linear-gradient(180deg, rgba(240, 248, 255, 0.96) 0%, rgba(232, 243, 255, 0.96) 100%) !important;
    border: 1px solid #d0e2f6;
    border-radius: 13px;
    min-height: 48px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(27, 66, 109, 0.12);
}
.my-account-screen .account_list li a .txt{
    font-size: 14px;
    font-weight: 600;
}
.my-account-screen .change_pass_btn{
    border-radius: 13px;
    padding: 11px 12px;
}

/* Notifications Screen */
.notifications-screen .my_account_cntnt{
    padding: 10px 12px;
}
.notifications-screen .notifications-list-card{
    border: 1px solid #dce9f8;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(253, 255, 255, 0.97) 0%, rgba(246, 251, 255, 0.97) 100%);
    box-shadow: 0 12px 22px rgba(39, 78, 121, 0.12);
    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 #e1ecfb;
}
.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: #173d64;
    width: 100%;
}
.notifications-screen #notifications .notification-time{
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #6885a2;
}
.notifications-screen #notifications .notification-message{
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #446282;
}
.notifications-screen #notifications .notification-empty{
    text-align: center;
    padding: 16px 10px;
    color: #7290ad;
}

/* Change Password Screen */
.change-password-screen{
    min-height: calc(100dvh - 70px - var(--safe-bottom));
    background:
        radial-gradient(circle at 92% 6%, rgba(72, 128, 189, 0.12), transparent 30%),
        transparent;
}
.change-password-screen .account-child-header{
    width: 100%;
    box-sizing: border-box;
}
.change-password-screen .change-password-content{
    padding: 0;
}
.change-password-screen .form_group_cntnt{
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 18px 14px 28px;
    box-sizing: border-box;
}
.change-password-screen .change-password-form{
    border: 1px solid #d5e5f6;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 250, 255, 0.98) 100%);
    box-shadow: 0 18px 42px rgba(39, 78, 121, 0.14);
    padding: 18px;
}
.change-password-screen .change-password-intro{
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2edf8;
}
.change-password-screen .change-password-shield{
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8dcf1;
    border-radius: 14px;
    color: #315f91;
    background: linear-gradient(145deg, #edf6ff, #dfeefe);
    box-shadow: 0 8px 18px rgba(56, 102, 151, 0.15);
    font-size: 19px;
}
.change-password-screen .change-password-intro h4{
    margin: 0 0 3px;
    color: #173d64;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 16px;
    font-weight: 700;
}
.change-password-screen .change-password-form .change-password-subtitle{
    margin: 0;
    color: #6b86a2;
    font-size: 12px;
    line-height: 1.45;
}
.change-password-screen .change-password-message{
    display: none;
    margin: 14px 0 0;
    padding: 10px 12px;
    border: 1px solid #edb9b9;
    border-radius: 10px;
    color: #9c3636;
    background: #fff3f3;
    font-size: 12px;
    line-height: 1.4;
}
.change-password-screen .change-password-message.has-message{
    display: block;
}
.change-password-screen .change-password-message.is-success{
    border-color: #b9dec9;
    color: #246d46;
    background: #f0fbf5;
}
.change-password-screen .change-password-form ul{
    margin: 0;
    padding: 0;
}
.change-password-screen .change-password-form li{
    display: block;
    margin-top: 14px;
    background: transparent;
}
.change-password-screen .change-password-form label{
    display: block;
    margin: 0 0 6px;
    color: #355675;
    font-size: 12px;
    font-weight: 650;
}
.change-password-screen .password-field{
    position: relative;
}
.change-password-screen .password-field-icon{
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    transform: translateY(-50%);
    color: #7591ad;
    font-size: 13px;
    pointer-events: none;
}
.change-password-screen .change-password-form .password-field input{
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #d5e4f7;
    background: #f9fcff;
    color: #173957;
    padding: 10px 46px 10px 40px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.change-password-screen .change-password-form .password-field input::placeholder{
    color: #7c96b1;
}
.change-password-screen .change-password-form .password-field input:focus{
    border-color: #5f8fc2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(95, 143, 194, 0.16);
}
.change-password-screen .password-toggle{
    position: absolute;
    top: 50%;
    right: 7px;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    color: #6683a0;
    background: transparent;
    cursor: pointer;
}
.change-password-screen .password-toggle:hover,
.change-password-screen .password-toggle:focus{
    color: #315f91;
    background: #eaf3fc;
}
.change-password-screen .change-password-hint{
    display: flex !important;
    align-items: flex-start;
    gap: 7px;
    color: #718ba5;
    font-size: 11px;
    line-height: 1.45;
}
.change-password-screen .change-password-hint i{
    margin-top: 2px;
    color: #5f83a8;
}
.change-password-screen .change-password-form .change_pass_btn{
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #315f91;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #3e72a8 0%, #2d5888 100%);
    box-shadow: 0 12px 22px rgba(45, 88, 136, 0.24);
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.change-password-screen .change-password-form .change_pass_btn:disabled{
    opacity: 0.65;
    cursor: wait;
    box-shadow: none;
}

/* Trades Screen Redesign */
.trades-screen .top_header{
    position: sticky;
    top: 0;
    z-index: 22;
    display: block;
    min-height: 48px;
    padding: 10px 10px 8px;
    background: #f7fbff;
    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;
    margin: 0;
    line-height: 30px;
}
.trades-screen .home_middle_cntnt{
    display: flex;
    flex-direction: column;
    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;
    width: 100%;
    flex: 0 0 auto;
}
.trades-screen .future_btns .tab{
    gap: 6px;
    background: rgba(250, 253, 255, 0.84);
    border: 1px solid #dbe8f8;
    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: #133d71;
    background: linear-gradient(135deg, #cfe0fb 0%, #bdd3f2 100%);
    box-shadow: inset 0 -1px 0 rgba(22, 66, 117, 0.2), 0 5px 12px rgba(57, 99, 149, 0.18);
}
.trades-screen .trades_active_btns{
    padding: 8px 0 6px;
    gap: 6px;
    flex: 0 0 auto;
    clear: both;
}
.trades-screen .future_cntnt,
.trades-screen #active,
.trades-screen .trades-slide-viewport{
    width: 100%;
    min-height: 0;
}
.trades-screen .trades-slide-viewport{
    display: block;
}
.trades-screen .trades-slide-viewport .tab-slide-panel{
    display: block;
    width: 100%;
    transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1), opacity 260ms ease;
}
.trades-screen .closed-trades-filter{
    display: block;
}
.trades-screen .trades_filter_form{
    width: 100%;
    padding: 10px;
    border: 1px solid #dbe8f8;
    border-radius: 14px;
    background: rgba(250, 253, 255, 0.88);
    box-shadow: 0 8px 18px rgba(35, 79, 128, 0.09);
}
.trades-screen .trades_filter_dates,
.trades-screen .trades_filter_actions{
    display: flex;
    gap: 8px;
}
.trades-screen .trades_filter_actions{
    margin-top: 8px;
}
.trades-screen .datepick{
    width: 50%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    color: #173858;
    background: #fff;
    border: 1px solid #cbdced;
    border-radius: 10px;
    font-size: 13px;
}
.trades-screen .show_trades{
    flex: 1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: linear-gradient(135deg, #2867c7 0%, #164c9c 100%);
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}
.trades-screen .show_trades.download_btn{
    background: linear-gradient(135deg, #0f8b56 0%, #0a6e56 100%);
}
.trades-screen .trades_filter_msg{
    min-height: 0;
    margin-top: 0;
    color: #b42318;
    font-size: 11px;
    font-weight: 600;
}
.trades-screen .trades_filter_msg:not(:empty){
    min-height: 16px;
    margin-top: 7px;
}
.trades-screen.header-compact .top_header{
    padding-top: 7px;
    padding-bottom: 6px;
    box-shadow: 0 6px 16px rgba(24, 55, 92, 0.14);
}
.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, #0f8b56 0%, #0a6e56 100%);
    box-shadow: 0 10px 18px rgba(10, 83, 67, 0.26);
    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 #dce9f9;
    background: linear-gradient(180deg, rgba(253, 255, 255, 0.95) 0%, rgba(247, 252, 255, 0.95) 100%);
    box-shadow: 0 14px 26px rgba(35, 79, 128, 0.12);
    padding: 5px !important;
}
.trades-screen.closed-trades-view .trades-list-wrapper{
    height: calc(100dvh - 372px - var(--safe-bottom)) !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: #f9fcff !important;
    vertical-align: top;
    padding: 8px 10px 7px;
    border-top: 1px solid #dce9f9;
    border-bottom: 1px solid #dce9f9;
}
.trades-screen .trades-list-wrapper tr td:first-child{
    border-left: 1px solid #dce9f9;
    border-radius: 12px 0 0 12px;
    width: 54%;
}
.trades-screen .trades-list-wrapper tr td:last-child{
    border-right: 1px solid #dce9f9;
    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: #486a8d;
}
.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, #496a92 0%, #5c7ea9 100%);
    box-shadow: 0 10px 18px rgba(53, 83, 119, 0.22);
}
.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 #dce9f9;
    border-right: 1px solid #dce9f9;
    border-bottom: 1px solid #dce9f9;
    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 #c4d9ef;
    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, #e0efff 0%, #cfe3fb 100%);
    color: #255584 !important;
    border-color: #b6d0eb;
}
.trades-screen .trades-list-wrapper .pending-delete-btn{
    background: linear-gradient(135deg, #ffe4e8 0%, #ffd8dd 100%);
    color: #9c4250 !important;
    border-color: #efc1c9;
}
.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: static;
    z-index: auto;
    padding: 12px 10px 8px;
    background: transparent !important;
    backdrop-filter: none;
}
.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 #dbe8f8;
    background: linear-gradient(180deg, rgba(253, 255, 255, 0.96) 0%, rgba(246, 251, 255, 0.96) 100%);
    box-shadow: 0 12px 24px rgba(34, 76, 118, 0.12);
}
.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: #8d9eb2;
}
.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 #dbe8f8;
}
.portfolio-screen .portfolio_ledger td:last-child{
    border-right: none;
}
.portfolio-screen .portfolio_ledger .para{
    display: block;
    color: #8fa0b4;
    font-size: 13px;
    font-weight: 600;
}
.portfolio-screen .portfolio_ledger .title{
    display: block;
    margin-top: 2px;
    color: #152f4c;
    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 #dbe8f8;
    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: #486b8f;
}
.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: #0f2238;
    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: #f9fcff !important;
    border-top: 1px solid #dbe8f8;
    border-bottom: 1px solid #dbe8f8;
    padding: 8px 10px 7px;
}
.portfolio-screen .mxc_list.portfolio_cntnt tr td:first-child{
    border-left: 1px solid #dbe8f8;
    border-radius: 12px 0 0 12px;
    width: 52%;
}
.portfolio-screen .mxc_list.portfolio_cntnt tr td:last-child{
    border-right: 1px solid #dbe8f8;
    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: #486b8f;
    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: #12385f;
    line-height: 1.15;
    margin-bottom: 3px;
}
.portfolio-screen .mxc_list.portfolio_cntnt .list_cntnt .chg b{
    font-size: 13px;
    font-weight: 700;
    color: #111a25;
}
.portfolio-screen .mxc_list.portfolio_cntnt .order-type-buy{
    color: #1b4a7b;
    font-weight: 700;
}
.portfolio-screen .mxc_list.portfolio_cntnt .order-type-sold{
    color: #d64f5e;
    font-weight: 700;
}
.portfolio-screen .mxc_list.portfolio_cntnt .green_clr{
    color: #1ca552 !important;
}
.portfolio-screen .mxc_list.portfolio_cntnt .red_clr{
    color: #d84a55 !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, #4f6f96 0%, #5d80aa 100%);
    border: 1px solid rgba(126, 157, 205, 0.35);
    box-shadow: 0 9px 16px rgba(51, 80, 116, 0.24);
}

/* Signup Screen Redesign */
.signup-bg{
    background: linear-gradient(180deg, #f6f9fc 0%, #edf3f8 46%, #e6eef5 100%);
    z-index: -1;
    opacity: 1;
}
.signup_main.signup-screen{
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin-top: 0;
    padding: 20px 14px 28px;
    color: #173047;
}
.signup_main.signup-screen .login_top{
    width: 100%;
    margin-top: 4px;
}
.signup_main.signup-screen .login_top .logo_logo{
    width: 96px;
    height: 96px;
    margin: 2px auto 8px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dbe6ef;
    box-shadow: 0 16px 34px rgba(38, 61, 83, 0.12);
}
.signup_main.signup-screen .login_top .logo_logo img{
    padding: 6px;
}
.signup_main.signup-screen .signup-app-title{
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    color: #102b43;
    margin: 0;
}
.signup_main.signup-screen .signup_form{
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}
.signup_main.signup-screen .signup_form2{
    padding: 18px;
    border: 1px solid #d8e4ee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(38, 61, 83, 0.12);
}
.signup_main.signup-screen .signup_form2 ul{
    padding: 0;
}
.signup_main.signup-screen .signup_form2 li{
    margin-top: 10px;
}
.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: 8px;
    border: 1px solid #d2dee9;
    background: #f9fbfd;
    color: #15314e;
    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: #667e98;
}
.signup_main.signup-screen .form_input_box input:focus{
    border: 1px solid #4b91d2;
    box-shadow: 0 0 0 3px rgba(75, 145, 210, 0.14);
}
.signup_main.signup-screen .signup_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-sizing: border-box;
}
.signup_main.signup-screen .signup-primary-btn{
    background: #2474b8 !important;
    border-color: #2474b8;
    box-shadow: 0 12px 22px rgba(36, 116, 184, 0.2);
}
.signup_main.signup-screen #signup_link{
    display: block;
}
.signup_main.signup-screen .signup-secondary-btn{
    display: inline;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
}
.signup_main.signup-screen .auth-links{
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    text-align: left;
}
.signup_main.signup-screen .auth-link-text{
    padding: 0;
    color: #536b7f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}
.signup_main.signup-screen .auth-link-text a{
    color: #2474b8;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.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: #496276;
    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: #2474b8;
    margin-left: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.signup_main.signup-screen .signup-error{
    min-height: 18px;
    margin: 0 6px 4px;
    color: #cb3f4b;
    font-size: 12px;
    font-weight: 600;
}
.signup_main.signup-screen .signin_btn{
    margin-top: 14px;
    border-radius: 8px;
    background: #eef4f9;
    border: 1px solid #dbe6ef;
}
.signup_main.signup-screen .signin_btn .para{
    padding: 14px;
    color: #3d5569;
    line-height: 1.45;
}
.signup_main.signup-screen .signin_btn .para b{
    color: #102b43;
}
.signup_main.signup-screen .signup-inline-action{
    display: inline-flex;
    border: 1px solid #b9d3ea;
    border-radius: 8px;
    background: #eef6fd;
    padding: 9px 14px;
    color: #2474b8;
    font-weight: 700;
}

/* Contact Overlay Redesign */
.contact-overlay-panel{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(820px 460px at 15% -6%, rgba(102, 169, 255, 0.24), transparent 64%),
                linear-gradient(180deg, #eef5ff 0%, #e9f1ff 40%, #e5edf9 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 #d6e6fa;
    background: rgba(246, 251, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(32, 74, 120, 0.14);
    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: #123b68;
}
.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: #102f50;
}
.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 #d5e5f8;
    background: rgba(252, 254, 255, 0.94);
    color: #132e4a;
    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: #68839e;
}
.contact-overlay-panel .form_input_box input:focus,
.contact-overlay-panel .form_input_box textarea:focus{
    border: 1px solid #72a4e8;
    box-shadow: 0 0 0 2px rgba(103, 151, 218, 0.14);
}
.contact-overlay-panel .contact-submit-btn{
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(128, 166, 220, 0.36);
    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, #2f7fda 0%, #4a97ec 100%) !important;
    box-shadow: 0 12px 20px rgba(47, 84, 130, 0.2);
}
.contact-overlay-panel .contact-error{
    min-height: 18px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #c93e4b;
}

/* Market watch search and tab motion */
.market-watch-screen .future_cntnt .tabcontent .future_search{
    display: flex;
    align-items: center;
    margin-top: 10px;
    border: 1px solid #d6e5f7;
    border-radius: 13px;
    background: #f9fcff;
    overflow: hidden;
}
.market-watch-screen .future_cntnt .tabcontent .future_search input{
    min-height: 44px;
    padding: 0 42px;
    background: transparent;
    color: #173653;
    font-size: 13px;
    cursor: pointer;
}
.market-watch-screen .future_cntnt .tabcontent .future_search input::placeholder{
    color: #6e88a2;
    font-size: 13px;
}
.market-watch-screen .future_search .search_btn,
.market-watch-screen .future_search .filter_btn{
    top: 50%;
    transform: translateY(-50%);
}
.market-watch-screen .future_search .search_btn{ left: 13px; }
.market-watch-screen .future_search .filter_btn{ right: 13px; }
.market-watch-screen .future_search .search_btn i,
.market-watch-screen .future_search .filter_btn i{
    color: #587795;
    font-size: 14px;
}
/* Order form bottom-sheet motion */
.market_order_modal.order-form-slide-start{
    opacity: 0.7;
    transform: translateY(100%);
}
.market_order_modal.order-form-slide-start.order-form-slide-active{
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.market_order_modal.order-form-slide-down{
    opacity: 0.7;
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 1, 1), opacity 0.26s ease;
}
@media (prefers-reduced-motion: reduce) {
    .market_order_modal.order-form-slide-start,
    .market_order_modal.order-form-slide-start.order-form-slide-active,
    .market_order_modal.order-form-slide-down{
        transition: none;
    }
}

/* Exit trade bottom-sheet motion */
#content.exit-trade-sheet{
    position: relative;
    z-index: 4;
    min-height: 100dvh;
    will-change: transform, opacity;
}
#content.exit-trade-sheet.close-trade-overlay{
    height: calc(100dvh - 70px - var(--safe-bottom));
    min-height: 0;
    overflow-y: auto;
}
#content.exit-trade-sheet .exit_trade_header{
    position: sticky;
    top: 0;
    left: auto;
    width: auto;
}
#content.exit-trade-sheet .exit_trade_cntnt{
    margin-top: 0;
}
#content.exit-trade-sheet.exit-form-slide-start{
    opacity: 0.7;
    transform: translateY(100%);
}
#content.exit-trade-sheet.exit-form-slide-start.exit-form-slide-active{
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
#content.exit-trade-sheet.exit-form-slide-down{
    opacity: 0.7;
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 1, 1), opacity 0.26s ease;
}

/* Portfolio visual refinement */
.portfolio-screen .portfolio-hero{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.portfolio-screen .portfolio-hero .portfolio_pl{
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 18px 16px;
    border-radius: 18px;
}
.portfolio-screen .portfolio-hero .portfolio_pl::after{
    content: "";
    position: absolute;
    right: -28px;
    bottom: -42px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(66, 133, 214, 0.09);
}
.portfolio-screen .portfolio-hero .portfolio_pl.is-profit{
    border-color: rgba(36, 170, 101, 0.28);
}
.portfolio-screen .portfolio-hero .portfolio_pl.is-loss{
    border-color: rgba(214, 70, 83, 0.28);
}
.portfolio-screen .portfolio-hero .portfolio_pl.is-profit .boldtitle{ color: #159858; }
.portfolio-screen .portfolio-hero .portfolio_pl.is-loss .boldtitle{ color: #cf4353; }
.portfolio-screen .portfolio-hero .boldtitle{
    position: relative;
    z-index: 1;
    overflow-wrap: anywhere;
}
.portfolio-screen .portfolio_ledger{
    background: linear-gradient(135deg, #f9fcff 0%, #f2f7fd 100%);
}
.portfolio-screen .portfolio_ledger td{
    position: relative;
    padding: 14px 10px 13px;
    text-align: left;
}
.portfolio-screen .portfolio_ledger .para{
    font-size: 11px;
    letter-spacing: 0.25px;
    text-transform: uppercase;
}
.portfolio-screen .portfolio_ledger .title{
    margin-top: 6px;
    font-size: clamp(15px, 4.2vw, 20px);
}
.portfolio-screen .portfolio-section-heading{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 2px 8px;
}
.portfolio-screen .portfolio-section-heading h3{
    margin-top: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #143354;
}
.portfolio-screen .portfolio-eyebrow{
    color: #6684a3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.portfolio-screen .portfolio-position-count{
    min-width: 30px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dfeeff;
    color: #1d5b96;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.portfolio-screen .portfolio_table_bg{
    margin-top: 0;
    padding: 10px 14px;
}
.portfolio-screen .portfolio-positions{
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
}
.portfolio-screen .portfolio-position-card{
    padding: 14px;
    border: 1px solid #d8e6f6;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(32, 70, 110, 0.1);
    cursor: pointer;
}
.portfolio-screen .position-card-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.portfolio-screen .position-card-top h4{
    color: #112f4d;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.portfolio-screen .position-side{
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
}
.portfolio-screen .position-pl{ text-align: right; }
.portfolio-screen .position-pl span{
    display: block;
    color: #7790a9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.portfolio-screen .position-pl strong{
    display: block;
    margin-top: 2px;
    font-size: 18px;
}
.portfolio-screen .position-pl.is-profit strong{ color: #159858; }
.portfolio-screen .position-pl.is-loss strong{ color: #cf4353; }
.portfolio-screen .position-metrics{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
}
.portfolio-screen .position-metrics div{
    min-width: 0;
    padding: 8px 5px;
    border-radius: 10px;
    background: #eef5fc;
    text-align: center;
}
.portfolio-screen .position-metrics span{
    display: block;
    color: #718ba5;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}
.portfolio-screen .position-metrics strong{
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #173a5d;
    font-size: 12px;
    text-overflow: ellipsis;
}
.portfolio-screen .position-close-btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    padding: 0 12px;
    border: 1px solid #d5e3f2;
    border-radius: 11px;
    background: transparent;
    color: #315f8d;
    font-size: 12px;
    font-weight: 700;
}
.portfolio-screen .position-close-btn i{ background: transparent; }
.portfolio-screen .portfolio-empty{
    padding: 34px 18px;
    border: 1px dashed #cadced;
    border-radius: 16px;
    background: rgba(250, 253, 255, 0.8);
    text-align: center;
}
.portfolio-screen .portfolio-empty i{ color: #7695b4; font-size: 22px; background: transparent; }
.portfolio-screen .portfolio-empty h4{ margin-top: 10px; color: #193b5d; }
.portfolio-screen .portfolio-empty p{ margin-top: 4px; color: #7890a8; font-size: 12px; }

/* Header quick actions */
.header{
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    min-height: calc(56px + var(--safe-top));
    padding: calc(7px + var(--safe-top)) max(10px, var(--safe-right)) 7px max(10px, var(--safe-left)) !important;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0 !important;
    background: rgba(247, 251, 255, 0.96) !important;
    border-bottom: 1px solid #d9e7f6;
    box-shadow: 0 6px 18px rgba(34, 73, 114, 0.1);
}
.header::-webkit-scrollbar{ display: none; }
.header .social{
    flex: 0 0 auto;
    margin: 0 0 0 6px !important;
    background: transparent !important;
}
.header .social a{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 58px;
    min-height: 42px;
    padding: 5px 8px;
    border: 1px solid #d8e5f4;
    border-radius: 11px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%) !important;
    color: #315a82;
    box-shadow: 0 4px 10px rgba(34, 72, 112, 0.08);
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.1;
}
.header .social a i{
    background: transparent !important;
    color: #3f6f9e;
    font-size: 14px;
    line-height: 1;
}
.header .social a span{
    background: transparent !important;
    color: inherit;
}
body.quick-actions-visible #app-body .market-watch-screen{
    height: calc(100dvh - 126px - var(--safe-top) - var(--safe-bottom));
}
.market-watch-screen .header_loction_left h2{
    flex: 0 1 auto;
    min-width: 0;
}
.market-watch-screen #switch_button{
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    text-align: right;
}
.market-watch-screen #switch_button .switch{
    margin: 0;
    white-space: nowrap;
}
.market-watch-screen .top_header,
.market-watch-screen.header-compact .top_header{
    min-height: 56px;
    box-sizing: border-box;
    background: #eef6fd !important;
    border-bottom: 1px solid #d5e4f2;
    box-shadow: 0 7px 18px rgba(31, 70, 108, 0.11);
    isolation: isolate;
}
.market-watch-screen .top_header .header_loction_left{
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* iOS-safe market search overlay */
.mcx_search_modal.active{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
    background: #f4f8fd;
}
.mcx_search_modal .mcx_search_header{
    position: relative;
    top: auto;
    z-index: 3;
    flex: 0 0 auto;
    gap: 9px;
    min-height: 62px;
    padding: 9px 10px;
    background: rgba(249, 252, 255, 0.98) !important;
    border-bottom: 1px solid #d7e5f4;
    box-shadow: 0 7px 18px rgba(31, 70, 110, 0.12);
}
.mcx_search_modal .search-back-btn{
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d6e4f2;
    border-radius: 12px;
    background: #ffffff;
}
.mcx_search_modal .search-back-btn i{
    background: transparent;
    color: #244f78;
    font-size: 17px;
}
.mcx_search_modal .mcx_search_header .mcx_search_input{
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-left: 0;
    border: 1px solid #d5e3f1;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}
.mcx_search_modal .mcx_search_header .mcx_search_input input{
    min-height: 42px;
    padding: 0 64px 0 13px;
    background: transparent;
    color: #153653;
    font-size: 16px;
    line-height: 42px;
    -webkit-appearance: none;
    appearance: none;
}
.mcx_search_modal .mcx_search_header .mcx_search_input input::placeholder{
    color: #7b91a8;
    font-size: 14px;
}
.mcx_search_modal .mcx_search_header .mcx_search_input input::-webkit-search-cancel-button{
    display: none;
}
.mcx_search_modal .mcx_search_header .mcx_search_input .clear_btn{
    top: 0;
    right: 0;
    height: 42px;
    padding: 0 12px;
    color: #35678f;
    font-size: 12px;
    font-weight: 700;
}
.mcx_search_modal .mcx_search_middle_cntnt{
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(16px + var(--safe-bottom));
}
.mcx_search_modal .mcx_search_middle_cntnt .mxc_list{
    padding: 4px 6px calc(16px + var(--safe-bottom));
}
.mcx_search_modal .mcx_search_middle_cntnt table{
    width: 100%;
    table-layout: fixed;
}
.mcx_search_modal .mcx_search_middle_cntnt table tr td{
    padding: 9px 4px;
}
.mcx_search_modal .mcx_search_middle_cntnt table tr td:first-child{ width: 40% !important; }
.mcx_search_modal .mcx_search_middle_cntnt table tr td:last-child{ width: 34px; }

/* Shared empty state for data lists */
.deposit-request-header{
    background: rgba(247,251,255,.98);
    border-bottom: 1px solid #d7e5f3;
    box-shadow: 0 8px 24px rgba(35,76,116,.1);
}
.deposit-request-header .icn a,
.deposit-request-header .icn i{ background: transparent; color: #244f78; }
.deposit-request-header .title h3{ color: #173653; font-weight: 700; }
.deposit-request-screen{
    min-height: calc(100dvh - 55px);
    padding: 16px 14px calc(92px + var(--safe-bottom));
    background: linear-gradient(180deg, #edf5fd 0%, #f7fbff 52%, #eef6fd 100%);
}
.deposit-request-intro{ display:flex; align-items:center; gap:13px; margin-bottom:14px; padding:4px 2px; }
.deposit-request-intro-icon{ display:inline-flex; flex:0 0 48px; align-items:center; justify-content:center; width:48px; height:48px; border-radius:15px; background:linear-gradient(145deg,#dcedfc,#cfe4f7); color:#326c9d; box-shadow:0 8px 18px rgba(38,89,132,.14); }
.deposit-request-intro-icon i,
.deposit-section-heading span i{ background:transparent; color:inherit; }
.deposit-request-eyebrow{ color:#4d769a; font-size:10px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.deposit-request-intro h2{ margin:2px 0 0; color:#173957; font-size:18px; line-height:1.2; }
.deposit-request-intro p{ margin:4px 0 0; color:#708aa2; font-size:11px; line-height:1.4; }
.deposit-request-card{ margin-top:12px; padding:15px; border:1px solid #d5e4f2; border-radius:18px; background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,249,254,.96)); box-shadow:0 12px 28px rgba(38,78,116,.09); }
.deposit-section-heading{ display:flex; align-items:center; gap:11px; }
.deposit-section-heading > span{ display:inline-flex; flex:0 0 38px; align-items:center; justify-content:center; width:38px; height:38px; border-radius:12px; background:#e5f2fd; color:#3975a7; }
.deposit-section-heading h3{ margin:0; color:#193c5c; font-size:14px; }
.deposit-section-heading p{ margin:3px 0 0; color:#748ca3; font-size:10px; line-height:1.35; }
.deposit-request-screen #payment_button{ display:block; margin-top:14px; text-align:center; }
.deposit-request-screen .pay_button{ display:flex; align-items:center; justify-content:center; gap:9px; width:100%; padding:13px 16px; border-radius:12px; background:linear-gradient(135deg,#1976d2,#2a91e4); color:#fff; font-size:13px; font-weight:750; box-shadow:0 9px 18px rgba(25,118,210,.2); }
.deposit-request-screen .pay_button i{ background:transparent; color:inherit; }
.deposit-bank-details{ margin-top:13px; overflow:hidden; border:1px solid #dbe7f2; border-radius:13px; background:#f8fbfe; }
.deposit-bank-details:empty::after{ content:"Loading bank details…"; display:block; padding:16px; color:#7890a6; font-size:12px; text-align:center; }
.deposit-bank-details h2{ display:block; width:100%; margin:0; padding:10px 12px; background:#e7f2fc; color:#254f74; font-size:12px; font-weight:750; }
.deposit-bank-details p{ margin:0; padding:8px 12px; border-top:1px solid #e3edf6; color:#385975; font-size:12px; line-height:1.4; }
.deposit-proof-form{ margin-top:13px; }
.deposit-field-label{ display:block; margin:11px 0 6px; color:#456985; font-size:11px; font-weight:700; }
.deposit-proof-form > input[type="file"]{ width:100%; padding:7px; border:1px dashed #bcd2e5; border-radius:12px; background:#f7fbff; color:#5d7690; font-size:11px; }
.deposit-proof-form > input[type="file"]::file-selector-button{ margin-right:8px; padding:8px 10px; border:0; border-radius:8px; background:#dcecf9; color:#285a82; font-weight:700; }
.deposit-amount-field{ display:flex; align-items:center; overflow:hidden; border:1px solid #cddfed; border-radius:12px; background:#f9fcff; }
.deposit-amount-field > span{ padding-left:13px; color:#51728e; font-weight:700; }
.deposit-request-screen .deposit-amount-field input{ min-height:44px; padding:0 12px 0 8px; border:0; background:transparent; color:#183b59; }
.deposit-submit-btn{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:15px; min-height:46px; border-radius:12px; color:#fff; font-size:12px; font-weight:750; text-transform:none; box-shadow:0 9px 18px rgba(30,105,179,.18); }
.deposit-submit-btn i{ background:transparent; color:inherit; }
.deposit-upload-message:not(:empty){ margin-top:12px; padding:9px 11px; border:1px solid #efcaca; border-radius:10px; background:#fff3f3; color:#b14646; font-size:11px; }

.empty-list-row td,
.mxc_list table .empty-list-row td{
    width: auto !important;
    padding: 22px 12px !important;
    border: 0 !important;
    background: transparent !important;
}
.empty-list-item{
    display: block !important;
    padding: 18px 10px !important;
    border: 0 !important;
    background: transparent !important;
}
.empty-list-state{
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 28px 18px;
    border: 1px dashed #c9dced;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,247,254,.9));
    box-shadow: 0 12px 28px rgba(33,76,116,.08);
    text-align: center;
}
.empty-list-icon{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 19px;
    background: linear-gradient(145deg, #e5f3ff, #d7e9fa);
    color: #3e719e;
    box-shadow: inset 0 0 0 1px rgba(72,119,160,.12), 0 8px 18px rgba(50,100,145,.13);
}
.empty-list-icon::after{
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64b5f6;
    box-shadow: 0 0 0 4px rgba(100,181,246,.14);
}
.empty-list-icon i{
    background: transparent !important;
    color: inherit !important;
    font-size: 23px;
}
.empty-list-state h4{
    margin: 13px 0 0;
    color: #183b5d;
    font-family: "Space Grotesk", "Sora", sans-serif;
    font-size: 15px;
    font-weight: 700;
}
.empty-list-state p{
    margin: 5px auto 0;
    max-width: 260px;
    color: #728ba3;
    font-size: 12px;
    line-height: 1.45;
}
.portfolio-screen .empty-list-state{ margin-top: 4px; }
.mcx_search_modal .empty-list-row td{ padding-top: 28px !important; }
@media (prefers-reduced-motion: reduce) {
    #content.exit-trade-sheet.exit-form-slide-start,
    #content.exit-trade-sheet.exit-form-slide-start.exit-form-slide-active,
    #content.exit-trade-sheet.exit-form-slide-down{
        transition: none;
    }
}

/* Consistent interaction feedback across theme screens */
.grocery_footer_menu li a,
.account_list li a,
.header .social a,
.future_btns .tablinks,
.change_pass_btn,
.ok_btn,
.pay_button,
.position-close-btn{
    transition: transform 0.16s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.grocery_footer_menu li a:active,
.account_list li a:active,
.header .social a:active,
.future_btns .tablinks:active,
.change_pass_btn:active,
.ok_btn:active,
.pay_button:active,
.position-close-btn:active{
    transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
    .app-body-animating,
    .overlay-panel-slide-in,
    .overlay-panel-slide-out,
    .market_order_modal,
    #content.exit-trade-sheet,
    .grocery_footer_menu li a,
    .account_list li a,
    .header .social a,
    .future_btns .tablinks,
    .change_pass_btn,
    .ok_btn,
    .pay_button,
    .position-close-btn{
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
