﻿html {
    font-size: 14px;
    overflow: hidden;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body{
    margin-bottom:0 !important;
}
/*trading accounts start*/
#custom-menu {
    position: absolute;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
    padding-block: 6px;
}

.custom-menu-main-align {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.custom-menu-align:hover {
    background-color: #F3F3F3;
}

    .custom-menu-align:hover .custom-menu-span {
        color: #fff;
    }

.custom-menu-align {
    display: flex;
    align-items: center;
    justify-content: start;
    column-gap: 4px;
    padding: 6px;
    cursor: pointer;
}

.custom-menu-span {
    font-size: 12px;
}

#custom-menu li:hover {
    background-color: #eee;
}

#submenu {
    position: absolute;
    left: 100%;
    top: 85px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 6px;
    display: none;
}

.submenu-item {
    padding: 4px 8px;
    cursor: pointer;
}

    .submenu-item:hover {
        background-color: #F3F3F3;
        color: #fff;
    }

#find-menu:hover #submenu {
    display: block;
}

.hidden {
    display: none;
}

.symbols-tab-align {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 6px;
    /*height: 40vh;*/
    margin-top: 2rem;
}

.symbols-grid-one {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 7rem;
}

.symbols-grid-two {
    border: 1px solid #000;
    overflow-y: scroll;
    height: 236px;
}

.symbols-button-align-one,
.symbols-button-align-two {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.symbols-button {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 12px;
    background-color: #fff;
    color: #000;
    transition: all .3s ease-in-out;
}

    .symbols-button:hover {
        border: 1px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

.comm-tab-align {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 6px;
   /* height: 40vh;*/
    margin-top: 2rem;
}

.comm-grid-one {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 7rem;
}

.comm-grid-two {
    border: 1px solid #000;
    overflow-y: scroll;
}

.comm-button-align-one,
.comm-button-align-two {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.comm-button {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 12px;
    background-color: #fff;
    color: #000;
}

.admin-new-account-grid {
    display: flex;
   /* justify-content: center;*/
    padding: 10px;
}

.admin-new-account-align {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    width: 85%;
}

.admin-new-account-pass {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.admin-account-login-span {
    font-size: 12px;
    flex: 1;
    text-align: right;
}

.admin-new-login-input {
    font-size: 12px;
    flex: 2.5;
}

.admin-new-login-select {
    font-size: 12px;
    flex: 2.2;
}

.options-btn-align {
    display: flex;
    justify-content: start;
    column-gap: 5px;
}

.tablinks6 {
    background-color: #f0f0f0;
    border: none;
    padding: 4px 6px;
    font-size: 14px;
}

.tabcontent6 {
    display: none;
    background-color: #f9f9f9;
    padding-top: 24px;
    padding-inline: 24px;
}

.tablinks6.active {
    background-color: #f9f9f9;
}

.options-modal-input-align1 {
    display: flex;
    justify-content: space-between;
}

.options-modal-input-align2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.options-modal-input-align3 {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.options-modal-input-align4 {
    display: flex;
    justify-content: space-between;
    column-gap: 10px;
}

    .options-modal-input-align4 input {
        width: 100%;
    }

.options-modal-comm-input {
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #000;
}

.options-modal-comm-btn {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
}

.options-modal-tab2-input-align {
    display: flex;
    justify-content: start;
    column-gap: 10px;
}

.options-modal-tab2-input {
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #000;
}

.options-modal-tab2-input2 {
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #000;
}

.options-modal-auto-align {
    border: 1px solid #000;
    overflow-y: hidden;
}

.options-modal-events-align {
    border: 1px solid #000;
}

.cursor-pointer {
    cursor: pointer !important;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    column-gap: 6px;
}

    .form-group .label {
        flex: 1;
        text-align: right;
        margin-right: 10px;
    }

    .form-group .input-field {
        flex: 2;
        width: 100%;
    }

.input-field select,
.input-field input {
    width: 100%;
    padding: 4px 14px;
}

.io-admin-title-bar {
    display: flex;
    justify-content: space-between;
    background-color: #1a73e8;
    padding-inline: 12px;
    padding-block: 4px;
}

.io-admin-title {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.io-admin-icon {
    width: fit-content;
    height: 16px;
}

.io-admin-title span {
    font-size: 14px;
    color: #fff;
}

/*all*/
body {
    margin: 0;
    margin-bottom: 60px;
    overflow-y: hidden;
}

.oi-trade-align {
    min-height: 100vh;
}

.graph-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 10px;
    min-height: 50vh;
}

.tab-content-align {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: scroll;
    scrollbar-width: none;
}

.tabs {
    display: flex;
}

.tablinks,
.tablinks2 {
    border: 1px solid #000;
}

    .tablinks.active,
    .tablinks2.active {
        border-top: none !important;
        border: 1px solid #000;
    }

.tabcontent,
.tabcontent2 {
    display: none;
}

.trade-history-tabs {
    background-color: #f0f0f0;
}

.trade-height-align {
    min-height: 40vh;
    padding: 1rem;
    border: 1px solid #000;
    border-bottom: none !important;
}

.oi-trade-menu {
    height: fit-content;
    background-color: #f0f0f0;
}

.ddropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #000;
    font-size: 12px;
    border: none;
    padding: 6px;
}

    .dropbtn:hover {
        background-color: #1a73e8 !important;
        color: #fff;
    }

.ddropdown-content {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    border: 1px solid #000;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .ddropdown-content .ddropdown-content-align {
        color: black;
        padding: 6px 16px;
        text-decoration: none;
        display: flex;
        font-size: 12px;
        justify-content: start;
        column-gap: 10px;
        align-items: center;
        cursor: pointer;
    }

        .ddropdown-content .ddropdown-content-align:hover {
            background-color: #1a73e8;
            color: #fff;
        }

.ddropdown:hover .ddropdown-content {
    display: block;
    z-index: 2;
}

.ddropdown:hover .dropbtn {
    background-color: #F3F3F3;
}

.login-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

.login-modal-content2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 12px;
}

.login-modal-header {
    padding-block: 8px;
    justify-content: start;
    background-color: #F3F3F3;
    color: #fff;
}

.login-modal-close {
    margin-left: 0px !important;
}

    .login-modal-close:hover {
        background-color: #c42b1c;
    }

.login-align-cont {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.login-modal-cont1 {
    display: flex;
    column-gap: 26px;
    align-items: center;
    justify-content: space-between;
}

.login-modal-body1 {
    display: grid;
    column-gap: 10px;
    grid-template-columns: 1fr 140px;
    margin-block: 1.3rem;
}

.login-modal-input {
    width: 100%;
    font-size: 10px;
    border: none;
    border-bottom: 1px solid #000;
}

    .login-modal-input::placeholder {
        font-size: 12px;
    }

    .login-modal-input:focus-visible {
        outline: none;
        border-bottom: 1px solid #F3F3F3;
    }

.login-modal-btn {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 12px;
    background-color: #fff;
    color: #000;
    transition: all .3s ease-in-out;
}

    .login-modal-btn:hover {
        border: 1px solid #000;
        border-radius: 2px;
        font-size: 12px;
        background-color: #fff;
        color: #000;
        transition: all .3s ease-in-out;
    }

.open-acc-next-btn,
.open-acc-cancel-btn {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    width: 10%;
    transition: all .3s ease-in-out;
}

    .open-acc-next-btn:hover,
    .open-acc-cancel-btn:hover {
        border: 1px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

.find-company-btn {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    transition: all .3s ease-in-out;
}

    .find-company-btn:hover {
        border: 1px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

.io-admin-menu {
    background-color: #f0f0f0;
    border-block: 1px solid #c2bcbc;
}

.io-admin-toolbar {
    display: flex;
    justify-content: start;
    column-gap: 4px;
    align-items: normal;
    background-color: #f0f0f0;
    border-bottom: 1px solid #000;
    padding-block: 4px;
}

.adnmin-toolbar-btn-aign {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f0f0f0;
    transition: all .3s ease-in-out;
    border-radius: 4px;
}

.adnmin-toolbar-btn-aign:hover {
    background-color: #cce8ff;
    border: 1px solid #bae0ff;
    transition: all .3s ease-in-out;
}

.adnmin-toolbar-btn-aign.active {
    background-color: #cce8ff;
    border: 1px solid #bae0ff;
}

    .tablinks3-align {
        flex-direction: column !important;
        row-gap: 4px;
    }

.tablinks3 {
    display: flex;
    justify-content: start;
    column-gap: 4px;
    align-items: center;
    padding: 2px;
    font-size: 12px;
    border: none;
    background-color: transparent;
    color: #000;
}

    .tablinks3.active span {
        background-color: #F3F3F3;
        border: none;
        color: #fff;
        padding: 2px;
        font-size: 12px;
    }

.tabcontent3 {
    display: none;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
}

/*.navigator-tab {
    border-inline: 1px solid #000;
}*/

.navigator-head {
    padding: 2px 4px;
}

.trade-admin-height-align {
    /* padding-block: 1rem; */
    border: 1px solid #000;
    border-bottom: none !important;
    display: flex;
}

.io-admin-align {
    min-height: 100vh;
}

.admin-graph-layout {
    display: flex;
    flex: 1;
    /* Default layout */
    min-height: 57.5vh;
    height: 57.5vh;
}

.grid-one {
    width: 21%;
}

.grid-two {
    width: 13%;
    background-color: #fff;
}

.grid-three {
    flex: 1;
    background-color: #fff;
    width: 62%;
}

.grid-four {
    width: 4%;
}

/* Divider for vertical resizing */
.divider {
    width: 3px;
    background-color: #d2e0f5;
    cursor: ew-resize;
}

.resizable {
    position: relative;
    z-index: 1;
}

.login-auth-btn {
    border: 0.5px solid #ccc;
    border-radius: 4px !important;
    font-size: 14px;
    background-color: #FDFDFD;
    color: #000;
    padding: 0px 15px 0px 15px;
}

    .login-auth-btn:hover {
        border: 0.5px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

.login-auth-btn2 {
    border: 1px solid #000;
    border-radius: 2px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    width: 18%;
    transition: all .3s ease-in-out;
}

    .login-auth-btn2:hover {
        border: 1px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

.groups-btn-align {
    display: flex;
    justify-content: start;
    column-gap: 5px;
}

.tablinks4 {
    background-color: #f0f0f0;
    border: none;
    padding: 4px 6px;
    font-size: 14px;
}

.tabcontent4 {
    display: none;
    background-color: #f9f9f9;
    padding-top: 24px;
    padding-inline: 24px;
}

.tablinks4.active {
    background-color: #f9f9f9;
}

.group-modal-content {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}

.group-modal-icon {
    height: 46px;
}

.tablinks5 {
    background-color: #f0f0f0;
    border: none;
    padding: 4px 6px;
    font-size: 14px;
}

.tabcontent5 {
    display: none;
}

.tablinks5.active {
    background-color: #f9f9f9;
    border: none;
    border-inline: 1px solid #000;
    border-bottom: 1px solid #000;
}

.group-risk-align {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 6px;
    margin-block: 24px;
}

    .group-risk-align span {
        font-size: 14px;
        width: 20%;
    }

.group-risk-input {
    width: 100%;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid #000;
}

.group-risk-align2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block: 24px;
}

.group-inputs-align1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 8px;
}

    .group-inputs-align1 span {
        font-size: 14px;
    }

.group-inputs1 {
    width: 60%;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #000;
}

.group-inputs-align2 {
    display: flex;
    justify-content: start;
    column-gap: 6px;
    align-items: center;
}

.group-select-align1 {
    display: flex;
    align-items: center;
    column-gap: 6px;
    padding-block: 18px;
}

.group-select-one {
    width: 100%;
    font-size: 14px;
}

.group-select1-span {
    width: 30%;
    font-size: 14px;
}

.table > :not(caption) > * > * {
    font-size: 12px;
    padding: .2rem 0.2rem !important;
}

/*  lients & Orders Modal  */
#ClientsOrders .nav-item .nav-link {
    padding: 5px;
    font-size: 14px;
    color: #000 !important;
    border-radius: 0px;
}

    #ClientsOrders .nav-item .nav-link.active {
        /*  background: rgba(255, 255, 255, 0.5);*/
        background: rgb(255 255 255);
        backdrop-filter: blur(6.5px);
    }

    .custom-fs-6 {
        font-size: 13px;
    }

.custom-bg-light {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
}

#ClientsOrders .form-label,
#ClientsOrders .form-control,
#ClientsOrders .form-select {
    font-size: 13px;
}

.form-check-label {
    font-size: 13px;
}

/*#ClientsOrders .form-label {
    width: 200px;
}*/
/*#ClientsOrders .form-select,
#ClientsOrders .form-control {
    padding: 2.7px 10px;
    border: 1px solid;
    border-radius: 0px;
}

    #ClientsOrders .form-select:focus,
    #ClientsOrders .form-control:focus {
        box-shadow: none;
    }*/

.main-btn {
    border-radius: 3px;
    font-size: 14px;
    width: 100%;
    padding: 2px;
    max-width: 80px;
}

    .main-btn:hover {
        border: 1px solid #0d6efd;
        background-color: #e0eef9;
        transition: all .3s ease-in-out;
    }

#limits-tab-pane .form-label {
    font-size: 13px;
}

.custom-bg-blue {
    background-color: #f0f8ff;
    border-bottom: 1px solid #89ccff;
    padding: 10px;
}

.profile-bg {
    border: 1px solid #000;
    margin-bottom: 10px;
}

.profile-submit-btn {
    background-color: #44b344 !important;
    border-radius: 0px !important;
    transition: all .3s ease-in-out;
    border: 1px solid #44b344;
    color: #fff !important;
}

    .profile-submit-btn:hover {
        color: #000 !important;
        background-color: #fff !important;
        transition: all .3s ease-in-out;
        border: 1px solid #44b344 !important;
    }

#profile-tab-pane .form-select,
#profile-tab-pane .form-control {
    /* padding: 10px;*/
    border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.modal-footer {
    padding: 4px !important;
}

.profile-fs-6 {
    font-size: 14px;
}

.alternate-btn {
    width: 100%;
    max-width: 230px;
    padding: 0px;
    border-radius: 3px;
}

.red-btn {
    background: rgb(242, 154, 154);
    background: linear-gradient(196deg, rgba(242, 154, 154, 1) 18%, rgba(192, 104, 104, 1) 49%);
    border: 1.5px solid #623838;
}

.blue-btn {
    background: rgb(174, 196, 240);
    background: linear-gradient(196deg, rgba(174, 196, 240, 1) 18%, rgba(137, 159, 203, 1) 49%);
    border: 1.5px solid #6d83af;
}

.a-btn {
    border-radius: 3px;
    background-color: #f0f0f0;
    border: 1px solid #a8a8a8;
    padding: 11px;
}

.modal-header {
    padding: 3px 2px 4px 13px !important;
    justify-content: space-between !important;
}

.custom-btn-close {
    border: none;
    background: none;
    display: flex;
    justify-content: center;
    padding: 5px;
}

    .custom-btn-close svg {
        fill: #fff;
    }

    .custom-btn-close:hover svg {
        fill: #fff;
    }

    .custom-btn-close:hover {
        border-radius: 7px;
        background-color: #ff0000 !important;
    }

.modal h1 {
    font-weight: 400;
    font-size: 14px !important;
    color: #fff !important;
}

.group-custom-tab .nav-item .nav-link,
.custom-options-tabs .nav-item .nav-link {
    padding: 5px;
    font-size: 14px;
    color: #000 !important;
    border-radius: 0px;
}

.options-custom-tab-height {
    height: calc(100% - 80px);
    border: 1px solid #dee2e6;
    border-top: none;
}

.client-orders-modal-height {
    height: calc(100% - 82px);
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
}

.market-watch-align {
    position: sticky;
    bottom: 0;
    z-index: 10;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    flex-wrap: nowrap;
}

.journal-watch-align {
    background: #d7e9f8;
}

.market-watch-align .nav-item .nav-link,
.journal-watch-align .nav-item .nav-link {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    padding: 5px 7px;
    font-size: 14px;
    background: #d7e9f8a6 !important;
    border-color: #329aff;
    color: #0d6efd !important;
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}


        .market-watch-align .nav-item .nav-link:hover,
        .journal-watch-align .nav-item .nav-link:hover {
            background: #ffffff !important;
            border-color: deepskyblue;
            transition: opacity 0.3s ease, color 0.3s ease;
        }


        .market-watch-align .nav-item .nav-link.active,
        .journal-watch-align .nav-item .nav-link.active {
            background-color: #ffffff !important;
            opacity: 1;
        }

.tablinks3-align .nav-item .nav-link {
    padding: 2px 5px;
    font-size: 14px;
    color: #000 !important;
    border-radius: 0px;
    border: none !important;
    width: 100%;
}

    .tablinks3-align .nav-item .nav-link.active {
        padding: 2px 5px;
        font-size: 14px;
        color: #fff !important;
        border-radius: 0px;
        border: none !important;
        background-color: #899ab0;
    }

.navigator-tab .nav-tabs {
    border-bottom: none !important;
}

.group-all-comm-tabs .nav-item .nav-link {
    padding: 5px 20px;
    font-size: 14px;
    background: #d7e9f8a6 !important;
    border-color: #329aff;
    color: #0d6efd !important;
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}

    .group-all-comm-tabs .nav-item .nav-link.active {
        background-color: #ffffff !important;
        opacity: 1;
    }

.nav-link {
    display: inline-block !important;
}

/*.grid-four {
    border-left: 1px solid #000;
}*/

.modal-backdrop.show {
    opacity: 0;
}

/*end trading acounts*/


/*datatble css*/
.dataTables_filter {
    display: inline-block;
    font-size: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.dataTables_length {
    display: inline-block;
    font-size: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.dataTables_paginate {
    font-size: 10px !important;
}

.dataTables_info {
    font-size: 10px !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-top: 1px solid !important;
}

/*.dataTables_scrollHeadInner{
    width:100% !important;
}
.table-striped{
    width:100% !important
}*/

.form-control:focus {
    color: #212529;
    background-color: none !important;
    border-color: none !important;
    outline: 0;
    box-shadow: none !important;
}

.search-filter-box {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.input-group-addon {
    border-right: 1px solid #ddd;
    padding: 6px 12px;
}

.search-filter-box select,
.search-filter-box input {
    border: none;
    border-radius: 0;
}

.input-group-append {
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.input-group-prepend {
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
}

.input-group-text {
    background-color: #fff !important;
    border: 0px solid #ddd;
    border-radius: 0;
}


.input-group {
    margin-bottom: 0px;
}

#searchInput {
    border: #fff !important;
}

.dataTables_scrollBody {
    max-height: 300px;
    /* Set the desired height */
    overflow-y: auto;
    width: 100%;
}

.box-his {
    height: 100px !important;
}

.trade-admin-height-align {
    transition: opacity 0.3s ease-in-out;
   /* min-height: 30vh;*/
}

.trade-admin-hidden {
    display: none;
}


.admin-graph-expanded {
    min-height: 82vh !important;
}

.account-detail-item > hr {
    margin: 0rem 0 !important;
    height: .5px !important;
}

.row {
    --bs-gutter-x: 0rem !important;
}

/*.dataTables_wrapper{
    overflow-y:scroll;
    height:200px;
}*/
/*end datatble css*/

.trading-accounts-input-align {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

    .trading-accounts-input-align .form-label {
        width: -webkit-fill-available;
        max-width: 80px;
    }

.positions-table-scroll {
    scrollbar-width: thin;
   /* max-height: calc(100% - 20px);*/
    overflow-y: auto;
    height:230px;
}

.exposure-tab-height {
    height: 52vh;
}

.history-tab-height {
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*.security-tab-height {
    height: 58vh;
}*/

/*.balance-tab-height {
    height: 64vh;
}*/

/*90percentage*/
/*@media (min-height: 535px) and (max-height: 535px) {
    .admin-graph-layout {
        min-height: 61.5vh;
        height: 61.5vh;
    }
}*/


    /*100*/
    .trading-acc-tab-pane-align {
        height: 57.4vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
        height: 81.7vh !important;
    }

    .clients-tab-pane-align {
        height: 57vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .admin-graph-layout.full-screen .clients-tab-pane-align {
        height: 82.5vh !important
    }

    .positions-tab-pane-align {
        height: 60vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .admin-graph-layout.full-screen .positions-tab-pane-align {
        height: 82.5vh !important
    }

    .groups-tab-pane-height {
        height: 62vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .orders-tab-pane-height {
        height: 60vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .admin-graph-layout.full-screen .orders-tab-pane-height {
        height: 82.5vh !important
    }

    .online-grps-tab-height {
        height: 60vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .admin-graph-layout.full-screen .online-grps-tab-height {
        height: 82.5vh !important
    }

    /*50*/
    @media (min-height: 901px) and (max-height: 1900px) {
        .admin-graph-layout {
            height: 75.2vh;
        }

        .vertical-text {
            margin-bottom: 140px !important;
        }

        .custom-height {
            height: 47vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 89.2vh !important;
        }

        .clients-tab-pane-align {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .clients-tab-pane-align {
            height: 89.2vh !important;
        }

        .positions-tab-pane-align {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .positions-tab-pane-align {
            height: 89.2vh !important;
        }

        .groups-tab-pane-height {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .groups-tab-pane-height {
            height: 89.2vh !important;
        }

        .online-grps-tab-height {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .online-grps-tab-height {
            height: 89.2vh !important;
        }

        .orders-tab-pane-height {
            height: 75.2vh !important;
        }

        .admin-graph-layout.full-screen .orders-tab-pane-height {
            height: 89.2vh !important;
        }

        .admin-graph-layout.full-screen {
            min-height: 89.2vh !important;
        }

        .admin-graph-expanded {
            min-height: 89.2vh !important;
        }

        /*    .history-tab-one,
    .history-tab-two,
    .history-tab-three {
        height: 40vh !important
    }*/
    }


    /*67percentage*/
    @media (min-height: 801px) and (max-height: 900px) {
        .admin-graph-layout {
            min-height: 73.2vh !important;
        }

        .vertical-text {
            margin-bottom: 60px !important;
        }

        .custom-height {
            height: 52vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 71.2vh !important
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 88.5vh !important
        }

        .clients-tab-pane-align {
            height: 73.2vh !important;
        }

        .admin-graph-layout.full-screen .clients-tab-pane-align {
            height: 88.5vh !important;
        }

        .positions-tab-pane-align {
            height: 73.2vh !important;
        }

        .admin-graph-layout.full-screen .positions-tab-pane-align {
            height: 88.5vh !important;
        }

        .groups-tab-pane-height {
            height: 73.2vh !important;
        }

        .admin-graph-layout.full-screen .groups-tab-pane-height {
            height: 88.3vh !important;
        }

        .online-grps-tab-height {
            height: 73.2vh !important;
        }

        .admin-graph-layout.full-screen .online-grps-tab-height {
            height: 88.3vh !important;
        }

        .orders-tab-pane-height {
            height: 73.2vh !important;
        }

        .admin-graph-layout.full-screen .orders-tab-pane-height {
            height: 88.3vh !important;
        }

        .history-tab-one,
        .history-tab-two,
        .history-tab-three {
            height: 42vh !important
        }
    }


    /*75percentage*/
    @media (min-height: 760px) and (max-height: 800px) {
        .admin-graph-layout {
            min-height: 70vh !important;
        }

        .vertical-text {
            margin-bottom: 65px !important;
            margin-bottom: 19px !important;
        }

        .custom-height {
            height: 55vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 70vh !important;
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 87vh !important
        }

        .clients-tab-pane-align {
            height: 70vh !important
        }

        .admin-graph-layout.full-screen .clients-tab-pane-align {
            height: 86.8vh !important;
        }

        .positions-tab-pane-align {
            height: 70vh !important
        }

        .admin-graph-layout.full-screen .positions-tab-pane-align {
            height: 86.8vh !important;
        }

        .groups-tab-pane-height {
            height: 70vh !important;
        }

        .admin-graph-layout.full-screen .groups-tab-pane-height {
            height: 87vh !important;
        }

        .online-grps-tab-height {
            height: 70vh !important;
        }

        .admin-graph-layout.full-screen .online-grps-tab-height {
            height: 87vh !important;
        }

        .orders-tab-pane-height {
            height: 70vh !important;
        }

        .admin-graph-layout.full-screen .orders-tab-pane-height {
            height: 87vh !important;
        }

        .history-tab-one,
        .history-tab-two,
        .history-tab-three {
            height: 45vh !important
        }

        .admin-graph-layout .admin-graph-expanded {
            min-height: 86.9vh !important;
        }
    }


    /*80percentage*/
    @media (min-height: 700px) and (max-height: 760px) {
        .admin-graph-layout {
            min-height: 67.3vh !important;
        }

        .vertical-text {
            margin-bottom: 50px !important;
            margin-bottom: 9px !important;
        }

        .custom-height {
            height: 57vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 68.2vh !important
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 86vh !important
        }

        .clients-tab-pane-align {
            height: 67.3vh !important;
        }

        .admin-graph-layout.full-screen .clients-tab-pane-align {
            height: 86vh !important
        }

        .positions-tab-pane-align {
            height: 67.2vh !important;
        }

        .admin-graph-layout.full-screen .positions-tab-pane-align {
            height: 86vh !important
        }

        .groups-tab-pane-height {
            height: 68.2vh !important;
        }

        .admin-graph-layout.full-screen .groups-tab-pane-height {
            height: 86vh !important;
        }

        .online-grps-tab-height {
            height: 68.2vh !important;
        }

        .admin-graph-layout.full-screen .online-grps-tab-height {
            height: 86vh !important;
        }

        .orders-tab-pane-height {
            height: 68.2vh !important;
        }

        .admin-graph-layout.full-screen .orders-tab-pane-height {
            height: 86vh !important;
        }

        .history-tab-one,
        .history-tab-two,
        .history-tab-three {
            height: 46vh !important
        }
    }


    /*90percentage*/
    @media (min-height: 650px) and (max-height: 699px) {
        .admin-graph-layout {
            min-height: 65.9vh !important;
        }

        .vertical-text {
            margin-bottom: 30px !important;
            margin-bottom: -20px !important;
        }

        .custom-height {
            height: 60vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 65.7vh !important
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 84.3vh !important;
        }

        .clients-tab-pane-align {
            height: 63.8vh !important
        }

        .admin-graph-layout.full-screen .clients-tab-pane-align {
            height: 84.4vh !important;
        }

        .positions-tab-pane-align {
            height: 63.9vh !important
        }

        .admin-graph-layout.full-screen .positions-tab-pane-align {
            height: 84.4vh !important;
        }

        /*.groups-tab-pane-height {
            height: 63.9vh !important;
        }*/

        .admin-graph-layout.full-screen .groups-tab-pane-height {
            height: 84.3vh !important;
        }

        .online-grps-tab-height {
            height: 63.8vh !important
        }

        .admin-graph-layout.full-screen .online-grps-tab-height {
            height: 84.3vh !important;
        }

        .orders-tab-pane-height {
            height: 63.8vh !important
        }

        .admin-graph-layout.full-screen .orders-tab-pane-height {
            height: 84.3vh !important;
        }

        .history-tab-one,
        .history-tab-two,
        .history-tab-three {
            height: 47vh !important
        }

        .admin-graph-expanded {
            height: 85.3vh !important;
        }
    }

    /*.admin-graph-layout.full-screen {
    min-height: 83vh !important;
}*/

    .table-journal-tab-pane1 {
        margin: 0 !important
    }

    .accounts-input-align1 {
        display: flex;
        align-items: center;
    }

    .accounts-input1 {
        flex: 0.1;
    }

    .accounts-input2 {
        flex: 0.5;
    }

    .accounts-input3 {
        flex: 0.19;
    }

    .accounts-input4 {
        flex: 0.6;
    }

    .accounts-input5 {
        flex: 0.3;
    }

    .accounts-input6 {
        flex: 0.6;
    }

    /*.accounts-tab-height {
    height: 60vh;
}*/

    /*.limits-tab-height {
    height: 60vh;
}*/

    .history-tab-one {
        height: 50vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .history-tab-two {
        height: 50vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    .history-tab-three {
        height: 50vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    /*#positions-tab-pane1, #orders-tab-pane1 {
    overflow-y: scroll;
    height: 300px;*/
    /* Default height */
    /*transition: height 0.3s ease;*/
    /* Smooth transition when height changes */
    /*}*/

    .questionicon {
        margin-left: 66%;
        font-size: 19px;
    }

    .custom-height {
        height: 65vh;
    }

    .custom-footer-width {
        width: 100%;
    }

    .modal-header {
        background-color: #1a73e8;
        color: #fff;
    }

        .modal-header .btn-close {
            padding: .5rem .5rem;
            margin: 0 !important;
        }

    .vertical-text {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        text-align: center;
        font-size: 12px;
        /*    margin-right: 3px;*/
        margin-top: 53px !important;
    }

    .toolbox-close-align {
        display: flex;
        flex-direction: column;
    }
.toolbox-close-align {
    display: flex;
    flex-direction: column;
    height:0;
}

    /*#clients-tab-pane1 .dataTables_wrapper {
    overflow: auto;
    overflow-y:scroll;
    height:60vh;
}*/

    .cls-button {
        width: 20px;
        height: 20px;
        border: none;
        background: none;
    }

    .cls-icon-button {
        transition: box-shadow 0.3s ease;
        width: 21px;
        height: 15px;
        vertical-align: middle;
        fill: currentColor;
        overflow: hidden;
        margin-left: -6px;
        margin-top: -5px;
        padding: 2px;
    }


        .cls-icon-button:hover {
            box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
        }

    table.dataTable thead th {
        position: sticky !important;
        top: 0;
        z-index: 1;
        background: #fff !important;
    }

    .btn-primary:hover {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

    .balanceoperation {
        overflow-y: scroll;
        height: 90px;
        scrollbar-width: thin;
    }

    .trading-acc-edit-table-border {
        border: 1px solid #000;
        /*    height: 26vh;
     overflow-y: scroll;
    scrollbar-width: thin;*/
    }

    .trading-acc-edit-maintab {
        font-size: 12px;
        margin-top: .5rem;
        height: calc(100% - 256px);
        overflow: auto;
    }

    .trading-tab-select-align {
        display: flex;
        width: 100%;
        column-gap: 12px;
    }

    .trading-tab-select-span-align {
        display: flex;
        column-gap: 8px;
    }

    .trading-tab-select-span {
        flex: 1;
        text-align: right;
    }

    .trading-tab-select-input {
        flex: 1;
        font-size: 12px;
        padding: 4px;
    }

    .trading-tab-edit-align {
        display: flex;
        column-gap: 7rem;
        margin-top: 2rem;
    }

    .trading-tab-edit-left-align {
        display: flex;
        flex-direction: column;
        row-gap: 6px;
        width: 100%;
    }

    .trading-tab-edit-right-align {
        display: flex;
        flex-direction: column;
        row-gap: 6px;
        width: 100%;
    }

    .trading-acc-ticks-table-border {
        border: 1px solid #000;
        overflow-y: scroll;
        scrollbar-width: thin;
    }

    #TradingAccountsEdit .nav-item .nav-link {
        padding: 5px;
        font-size: 14px;
        color: #000 !important;
        border-radius: 0px;
    }

    .deals-text {
        display: flex;
        margin-bottom: .5rem;
    }

    .trading-tab-edit-deals-align {
        display: flex;
        column-gap: 2.5rem;
        margin-top: 1rem;
    }

    .trading-tab-edit-center-align {
        display: flex;
        flex-direction: column;
        row-gap: 6px;
        width: 100%;
    }

    .trading-tab-deals-select-align {
        display: flex;
        justify-content: center;
        width: 100%;
        column-gap: 12px;
    }

    .trading-tab-edit-others-align {
        display: flex;
        column-gap: 4rem;
        margin-top: .5rem;
    }

    /* Basic styles for the overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*  background: rgba(0, 0, 0, 0.4);*/
        background: rgb(239 232 232 / 40%);
        display: none;
        /* Initially hidden */
        justify-content: center;
        align-items: center;
        z-index: 20;
        overflow-x: hidden;
        overflow-y: auto;
        outline: 0;
    }

    /* Popup styling */
    .popup {
        position: fixed;
        width: 500px;
        min-width: 500px;
        height: 200px;
        min-height: 300px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        resize: both;
    }

    /* Specific styling for the UserAccountModal */
    .user-account-modal {
        position: fixed;
        width: 540px;
        height: fit-content;
        min-height: fit-content;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Specific styling for the OptionsModal */
    .options-modal {
        width: 900px;
        /* Specific width for OptionsModal */
        height: 520px;
        min-height: 520px;
        min-width: 900px;
        position: fixed;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        resize: both;
    }

    .client-order-modal {
        position: fixed;
        border-radius: 12px;
        height: 550px;
        min-height: 550px;
        width: 900px;
        min-width: 900px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        resize: both;
    }

    .client-order-popup-content {
        height: calc(100% - 45px);
        overflow: auto;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
    }

    .trading-accounts-modal {
        position: fixed;
        width: 900px;
        min-width: 900px;
        height: 730px;
        min-height: 730px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        resize: both;
    }

    /* Header style */
    .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        background: #0078d4;
        color: white;
        cursor: move;
    }

        /* Close button style */
        .popup-header .close-btn {
            background: none;
            padding: 6px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
        }

            .popup-header .close-btn svg {
                fill: #fff;
            }

            .popup-header .close-btn:hover {
                background: #ff0000;
            }

    /* Content styling */
    .popup-content {
        padding: 20px;
        height: calc(100% - 50px);
        overflow: auto;
        background-color: #f0f0f0;
    }

    /* Button style */
    .trigger-btn {
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        background-color: #0078d4;
        color: white;
        border: none;
        border-radius: 4px;
        margin: 20px;
    }

    .admin-new-account {
        resize: none !important;
        min-height: fit-content !important;
        position: fixed;
        width: 400px;
        min-width: 400px;
        height: 200px;
        background: #ffffff;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .admin-login-popup {
        position: fixed;
        width: 500px;
        min-height: 300px !important;
        resize: none !important;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background: rgba( 255, 255, 255, 0.5 );
        backdrop-filter: blur( 6.5px );
        -webkit-backdrop-filter: blur( 4.5px );
        overflow: hidden;
    }

    .admin-login-popup-content {
        padding: 20px 10px;
    }

    .admin-new-account-content {
        height: fit-content !important;
    }

    .group-modal-popup {
        position: fixed;
        width: 850px;
        min-width: 850px;
        height: 500px;
        min-height: 500px;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        resize: both;
    }

    #GroupPromo .nav-item .nav-link {
        padding: 5px;
        font-size: 14px;
        color: #000 !important;
        border-radius: 0px;
    }

    .group-promo-popup-content {
        padding: 10px;
        height: calc(100% - 44px);
        /*overflow: auto;*/
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(6.5px);
    }

    #GroupPromo .tab-content {
        height: calc(100% - 73px) !important;
        border: 1px solid #dee2e6;
        border-top: none;
    }

    /*.resize-handle {
        position: absolute;
        width: 4px;
        height: 100%;
        cursor: ew-resize;
        z-index: 100;
    }*/
.resize-handle {
    position: absolute;
    width: 4px;
/*    height: 100%;*/
    cursor: ew-resize;
    z-index: 100;
}

    .resize-right {
        right: 0;
        top: 0;
    }

    .resize-left {
        left: 0;
        top: 0;
    }

    .custom-options-tabs {
        height: calc(100% - 43px);
        overflow: auto;
    }

    .user-account-popup-content {
        padding: 10px;
    }

    .history-tab-overflow {
        max-height: calc(100% - 45px);
        overflow-y: auto;
    }

    .history-date-align {
        /*  display: flex;
    justify-content: space-between;
    column-gap: 24px;*/
        top: 80%;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        padding: 4px;
        width: 98%;
    }

    .history-date-inputs-align {
        display: flex;
        column-gap: 4px;
        width: 100%;
    }

    .reset-password-input-align {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: normal;
        column-gap: 12px;
    }

    #passwordModal .modal-dialog {
        border-radius: 12px;
        overflow: hidden;
    }

    #passwordModal .modal-content {
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(6.5px) !important;
        border: 0;
    }

    /* Close button style */
    .close-btn {
        background: none;
        padding: 6px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
    }

        .close-btn svg {
            fill: #fff;
        }

        .close-btn:hover {
            background: #ff0000;
        }


    #positionsTableEdit .selected-row {
        background-color: #0078d4 !important;
        font-weight: bold;
        color: #fff !important;
    }

    .table tr {
        cursor: pointer;
    }

    /* Initial state for the overlay */
    #clientsOrdersModalOverlay {
        transform: scale(1);
        opacity: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

        /* Zoom-out effect */
        /*#clientsOrdersModalOverlay.zoom-out {
            transform: scale(1.1);
            opacity: 0;
        }


        #clientsOrdersModalOverlay.blink {
            animation: blink-animation 0.5s ease-out;*/
            /* Customize duration if needed */
        /*}*/

    @keyframes blink-animation {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.03);
            /* Slight scale to show the blink effect */
        }

        100% {
            transform: scale(1);
        }
    }

    #journal-tab-pane1 {
        overflow-y: scroll;
        scrollbar-width: thin;
    }

        #journal-tab-pane1 .table > :not(caption) > * > * {
            padding: .5rem .5rem !important;
        }

        #journal-tab-pane1 .table-striped > tbody > tr:nth-of-type(odd) {
            background: #d7e9f8 !important;
            color: #212529 !important;
        }


    .trading-accounts-popup-content {
        height: calc(100% - 42px);
        overflow: auto;
        padding-top: 8px;
    }

    .trading-account-overflow-height {
        height: calc(100% - 40px);
        border: 1px solid #dee2e6 !important;
        border-top: none !important;
    }

    #tradingAccountsEditModalOverlay {
        transform: scale(1);
        opacity: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .table-striped > tbody > tr:nth-of-type(odd) {
        background: #d7e9f8 ;
        color: #212529 ;
    }

    #UserAccountsuccessModal .modal-dialog {
        border-radius: 12px;
        overflow: hidden;
    }

    #UserAccountsuccessModal .modal-content {
        background: rgba(255, 255, 255, 0.5) !important;
        backdrop-filter: blur(6.5px) !important;
        border: 0;
    }

    .loader {
        width: 20px;
        height: 20px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 5px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    button:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /*button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}*/

    #UsercreatesuccessModal .modal-dialog {
        border-radius: 12px;
        overflow: hidden;
    }

    input[type="checkbox"]:focus {
        box-shadow: none !important;
        outline: none !important;
    }


    /*#journalTable {
    table-layout: fixed;*/ /* Ensures that all columns have equal width */
    /*width: 100%;*/ /* Makes the table take up the full available width */
    /*}*/

    #journalTable th {
        text-align: left; /* Center-aligns the text in the headers */
        padding: 10px; /* Adds padding to the header cells */
    }

    #journalTable td {
        text-align: left; /* Aligns the table data to the left */
        padding: 10px; /* Adds padding to the data cells */
    }


    /* Container for the table with drag feature */
    .box-his {
        position: relative; /* To position the draggable handle */
        cursor: move; /* Make the cursor a move cursor to indicate draggability */
    }

#UsercreatesuccessModal .modal-content {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(6.5px) !important;
    border: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    #trading-tab-select-input select {
        font-size: 12px;
        padding: 4px !important;
    }

    .custom-menu-align2 {
        color: #000;
    }

        .custom-menu-align2:hover {
            color: #fff;
        }

        .custom-menu-align2:hover {
            background-color: #0078d7;
        }

            .custom-menu-align2:hover .custom-menu-span2 {
                color: #fff;
            }

    .custom-menu-align2 {
        display: flex;
        align-items: center;
        justify-content: start;
        column-gap: 4px;
        padding: 6px;
        cursor: pointer;
    }

    .custom-menu-span2 {
        font-size: 12px;
    }

    .clients-tab-pane-align .table {
        white-space: nowrap;
        overflow-x: auto;
    }



    #adminLoginModalOverlay.blink {
        animation: blink-animation 0.5s ease-out;
        /* Customize duration if needed */
    }

    @keyframes blink-animation {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.03);
            /* Slight scale to show the blink effect */
        }

        100% {
            transform: scale(1);
        }
    }

    #adminLoginModalOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none; /* Hidden by default */
        justify-content: center; /* Horizontally center */
        align-items: center; /* Vertically center */
    }

    .trading-acc-edit-table-border #positionsTableEdit {
        margin: 0;
    }

    /* Default styles for the popover */
    .popover {
        position: absolute;
        top: 100%;
        /* Position the popover below the button */
        left: 100%;
        /* Center align with the button */
        transform: translateX(-50%);
        background-color: #fff;
        color: #333;
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 8px 12px;
        font-size: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none;
        /* Hidden by default */
        z-index: 1000;
        white-space: nowrap;
    }

    /* Show the popover when the button is hovered */
    button:hover + .popover {
        display: block;
    }

    .error-message {
        font-size: 12px;
        color: red;
        margin-top: 4px;
    }

    .admin-new-login-input input {
        font-size: 12px;
    }

    .admin-new-login-select select {
        font-size: 12px;
    }

    @media(min-height: 612px) {
        .admin-graph-layout {
            min-height: 62vh;
            height: 62vh;
        }

        .admin-graph-layout.full-screen .trading-acc-tab-pane-align {
            height: 83.3vh !important;
        }

        .admin-graph-expanded {
            min-height: 84vh !important;
        }

        .trading-acc-tab-pane-align {
            height: 62vh;
        }
    }


.admin-graph-layout {
    height: 57vh !important;
}

/* For screens with a min-height of 612px - 90% */
@media (min-height: 612px) {
    .admin-graph-layout {
        height: 60vh !important;
    }
}

/* For screens with a min-height of 689px - 80% */
@media (min-height: 689px) {
    .admin-graph-layout {
        height: 55vh !important;
    }

    .groups-tab-pane-height {
        height: 65.8vh !important;
    }

    .positions-tab-pane-align {
        height: 65.9vh !important;
    }
}

/* For screens with a min-height of 735px - 70% */
@media (min-height: 735px) {
    .admin-graph-layout {
        height: 68vh !important;
    }
}

/* For screens with a min-height of 827px - 67% */
@media (min-height: 827px) {
    .admin-graph-layout {
        min-height: 71.2vh !important;
    }
}

/* For screens with a min-height of 827px */
@media (min-height: 911px) {
    .admin-graph-layout {
        min-height: 74.2vh !important;
    }
}

/* For screens with a min-height of 1102px */
@media (min-height: 1102px) {
    .admin-graph-layout {
        height: 78.2vh !important;
    }
}

.watchlist-container {
    height: 47vh;
    overflow-y: scroll;
}

.commissions-modal-content {
    height: calc(100% - 40px);
    overflow: auto;
}

/* Specific styling for the OptionsModal */
.commissions-modal {
    width: 850px;
    /* Specific width for OptionsModal */
    height: 540px;
    min-height: 540px;
    min-width: 850px;
    position: fixed;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6.5px);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    resize: both;
}

.commissions-modal-head {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}

.comm-grid-align1 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 1rem;
    padding-block: 4px;
}

.comm-grid-align {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 1rem;
}

.comm-grid-align2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: .5rem;
    padding-block: 4px;
}

.comm-grid-align3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: .5rem;
}

.comm-radio-align {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.comm-grid-align1 .form-control,
.comm-grid-align1 span,
.comm-grid-align span,
.comm-grid-align select,
.comm-grid-align2 select {
    font-size: 12px;
}

.comm-tab-table-align {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 6px;
    margin-top: 1rem;
}

.comm-tab-btns-align {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 7rem;
    margin-top: 3rem;
}

.comm-modal-table-height {
    border: 1px solid #000;
    overflow-y: scroll;
}

.commissions-inner-content {
    height: calc(100% - 130px);
    overflow: auto;
}

.trading-tab-btns-align1 {
    display: flex;
    align-items: center;
}

.tab-orders-grid1,
.tab-orders-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
}

.tab-orders-grid3 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 8px;
}

.tab-orders-fs {
    font-size: 12px;
}

.trade-closeby-table-height{
    height: 150px;
    border: 1px solid #000;
    overflow-y: scroll;
}

.balance-modal-popup {
    width: 850px;
    height: 550px;
    min-height: 550px;
    min-width: 850px;
    position: fixed;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6.5px);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    resize: both;
}

.balance-content {
    height: calc(100% - 35px);
    overflow: auto;
    padding-inline: 12px;
    padding-top: 12px;
    padding-bottom: 6px;
}

.balance-inner-content {
    height: calc(100% - 200px);
    overflow: auto;
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
}

.balance-table-height {
    height: 90px;
    border: 1px solid #000;
    margin-bottom: 4px;
}

#BalanceModal .nav-item .nav-link {
    padding: 5px;
    color: #000 !important;
    border-radius: 0px;
}

#BalanceModal .nav-item .nav-link.active {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6.5px);
}

.balance-tab-border {
    border-bottom: 1px solid #dee2e6 !important;
}

.symbol-modal {
    width: 850px;
    height: 550px;
    min-height: 550px;
    min-width: 850px;
    position: fixed;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6.5px);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    resize: both;
}

#symbolModalOverlay .nav-item .nav-link {
    padding: 5px;
    font-size: 14px;
    color: #000 !important;
    border-radius: 0px;
}

#symbolModalOverlay .nav-item .nav-link.active {
    /*  background: rgba(255, 255, 255, 0.5);*/
    background: rgb(255 255 255);
    backdrop-filter: blur(6.5px);
}

.symbol-modal-content {
    height: calc(100% - 90px);
    padding: 8px;
}

.symbol-modal-tab-content {
    height: calc(100% - 35px);
    overflow: auto;
    border: 1px solid #dee2e6;
    border-top: none !important;
}

.spread-width-align {
    width: 100%;
    display: grid;
    justify-content: center;
}

.spread-flex-align {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

#deleteConfirmationModal .modal-dialog {
    border-radius: 12px;
    overflow: hidden;
}

#deleteConfirmationModal .modal-content {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(6.5px) !important;
    border: 0;
}

#accountDeleteConfirmationModal .modal-content {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(6.5px) !important;
    border: 0;
}
.custom-context-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px; /* Increase width */
    height: auto; /* Automatically adjust height */
}

    .custom-context-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .custom-context-menu li {
        padding: 12px 16px; /* Increase padding */
        cursor: pointer;
        display: flex;
        align-items: center;
    }

        .custom-context-menu li:hover {
            background-color: #f1f1f1;
        }

.menu-icon {
    width: 24px; /* Set icon width */
    height: 24px; /* Set icon height */
    margin-right: 8px;
}


/* Basic tree node styling */
.tree-node {
    cursor: pointer;
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    font-size:15px !important;
}

    /* Right arrow (default) */
    .tree-node::before {
        content: ">"; /* Right arrow */
        font-size: 15px !important; /* Adjust size if needed */
        margin-right: 3px;
        transition: transform 0.3s ease; /* Smooth rotation transition */
    }

    /* When the node is open, change to the down arrow */
    .tree-node.open-arrow::before {
        content: ">"; /* Keep the right arrow */
        transform: rotate(90deg); /* Rotate to show the down arrow */
    }

/* Nested items */
.nested {
    margin-left: 20px;
    border-left: 1px dashed #ccc;
    padding-left: 10px;
}

    .nested .tree-node {
        padding-left: 20px; /* More indentation for child nodes */
    }

.dropdown-menu {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}


.dropdown-toggle::after {
    display: inline-block;
    margin-left: 75% !important;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    text-align: end;
    /* align-items: end; */
    /* display: flex; */
}


/*#mobile-view {
    display: none;
}*/



.user-create-mobile{
    display: none;
}
#gird-navi-icon-details {
    display: none;
}
.history-tabs {
    display: none;
}
.symbol-spread{
    display:flex;
    justify-content:space-evenly;
    align-items:center;
}
.dt-buttons{
    font-size:10px !important;
    margin-bottom:10px !important;
}
/* Mobile View (Max Width: 768px) */
@media screen and (max-width: 768px) {
    .ddropdown-content-align {
        display: none; /* Hide all by default */
    }

        .ddropdown-content-align.active {
            display: block; /* Show only the selected one */
        }
    .io-admin-toolbar{
        display:none;
    }
  
    #mobile-view {
        display: flex;
        position: relative;
    }

    .grid-one, .grid-two {
        display: none; /* Hide both initially */
    }

        #grid-one-btn.active {
            display: block; /* Show when active */
        }

        #grid-two-btn.active {
            display: block; /* Show when active */
        }
    .grid-four{
        display:none;
    }

    .grid-one, .grid-two {
        width: 100%;
        background-color: #fff;
    }
    #grid-two-btn {
        display: none;
    }
    #gird-navi-icon-details {
        display: block !important;
    }

    .user-create-mobile{
        display:block !important;
    }

    .admin-login-popup {
        width: 350px !important;
        position: inherit !important;
    }
    .user-account-modal {
        width: 350px !important;
        position: inherit !important;
    }
    .admin-new-account {
        min-width: 350px !important;
        position: inherit !important;
        left: unset !important;
        width: 0;
    }
    .client-order-modal {
        position: static !important;
        min-width: 0 !important;
    }

    .history-tabs {
        display: flex;
        justify-content: space-around;
        background: #f1f1f1;
        padding: 10px;
        border-radius: 5px;
    }

    .tab-btn {
        padding: 8px 12px;
        border: none;
        background: #e0e0e0;
        cursor: pointer;
        border-radius: 5px;
    }

        .tab-btn.active {
            background: #1a73e8;
            color: white;
        }

    .history-tabs{
        display:block;
    }
    .history-date-inputs-align {
        display: flex;
        column-gap: 3px;
        width: 31% !important;
        margin-top: 30px;
    }
    .trading-tab-edit-others-align {
        display: flex;
        column-gap: 4rem;
        margin-top: .5rem;
        flex-direction: column !important;
    }
    .trading-accounts-modal {
        width: 0px !important;
        min-width: 360px !important;
        left: unset !important;
    }
    .trading-tab-edit-align {
        flex-direction: column !important;
    }
    .trading-tab-edit-deals-align {
        flex-direction: column !important;
    }
    .group-modal-popup {
        width: 0px !important;
        min-width: 330px;
        min-height: 550px !important;
        position: unset;
    }
    .symbol-modal {
        width: 0px !important;
        min-width: 330px;
        left: unset !important;
    }
    .commissions-modal {
        width: 0px !important;
        min-width: 330px;
        left: unset !important;
    }
    .symbol-spread {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction:column !important;
    }
    .comm-grid-align1 {
        display: flex !important;
        flex-direction:column !important;
    }
    .comm-grid-align2 {
        display: flex !important;
        flex-direction: column !important;
    }
    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 35% !important;
    }

    .mobile-swap {
        width: 250px;
    }
   

}

.nowrap-text {
    white-space: nowrap !important;
}
.margin-table-rate {
border:1px solid #000;
}
.mobile-swap{
    width:500px;
}

.dropdown-toggle-swap {
    width: 100%;
    background: #fff;
    border: 0;
    text-align: start;
    font-size: 12px;
    padding-right: 20px; /* Ensure space for arrow */
    position: relative;
}

    .dropdown-toggle-swap::after {
        content: "▼"; /* Unicode for down arrow */
        font-size: 12px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #333;
    }

/* Default background image for desktop/laptop */
.bg-manager {
    background-image: url('/images/bg-manager-lap.png');
    background-size: cover; /* Change from cover */
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* Ensure height */
    width: 100%;
}

@media (max-width: 768px) {
    .bg-manager {
        background-image: url('/images/bg-manager-mob.png'); /* Use a different mobile-friendly image */
    }
}
#decrementBtn,
#incrementBtn {
    font-size: 14px; /* Smaller button text */
    height: 30px; /* Adjust button height */
}

#priceOpenInput {
    width: 100px; /* Adjust width of input field */
    text-align: center; /* Center align text */
}

.trading-accounts-input-align button {
    margin: 0 5px; /* Add spacing between buttons and input field */
}

.table-watchlist thead {
    position: sticky;
    top: 0;
    background: white;
   
}
