:root {
    --custom-dark-color: #161817;
    --custom-placeholder-color: #2C35316E;
    --custom-exchange-bg-color: #353C39;
    --custom-light-color: #f0f5f5;
    --custom-select-bg-color: #E3E2FD;
    --custom-main-content-bg: #0d1f28;
    --custom-success: #40ca8a;
    --custom-danger: #F76161;
    --custom-warning: #FFC7A1;
    --custom-success-opacity: rgb(1, 188, 141);
    --custom-danger-opacity: #ff6e65;
    --custom-warning-opacity: #DDA5A150;
    /*    --custom-main-content-bg: #c8c8c8;*/
    --nav-link-color: #d6eefc;
    /* --nav-link-active-color: #23b2b0; */
    --nav-link-active-color: #0dd8f7;
    --nav-link-active-color-opacity: #23b2b022;
    --nav-link-active-color-opacity-1: #00c4ff14;
    --nav-link-active-bg: #0d2b34;
    --nav-link-active-bg-opacity: #0d2b3422;
    --navbar-bg: #132028;
    --bs-badge-font-weight: 500 !important;
    --extra-large-text-fs: 18px !important;
    --smallest-heading-fs: 16px !important;
    --normal-text-fs: 14px !important;
    --smallest-font-size: 12px !important;
    --bs-dropdown-bg: var(--nav-link-active-bg);
    --bs-dropdown-link-active-bg: var(--nav-link-active-bg);
    --bs-info-opacity: #30a2b940;
    --bs-secondary-opacity: #81868740;
}


.custom-table-caption{
    height: 30px;
}
.navbar {
    height: 50px;
}

#placeOrderTab .nav-item{
    width: 50%;
}

#placeOrderTab .nav-link{
    width: 100%;
    font-size: 1.2rem !important;
    font-weight: 500; 
    letter-spacing: 0.3px;
    text-transform: uppercase;!important;
}

#placeOrderTab #place_buy_order-tab.nav-link.active,#limit_buy_button {
    background-color: var(--custom-success-opacity);
    color: var(--custom-dark-color);
    font-size: 1.3rem !important;
    font-weight: 600; 
    letter-spacing: 0.3px;
    text-transform: uppercase;!important;
}

#placeOrderTab #place_sell_order-tab.nav-link.active, #limit_sell_button {
    background-color: var(--custom-danger-opacity);
    color: var(--custom-light-color);
    font-size: 1.3rem !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

#myTabContent {
    height: calc(100% - 40px);
}

#second-row {
    height: calc(100vh - 50px);
}

.custom-col-xl-2 {
    width: 14%;
}

.custom-col-xl-10 {
    width: 86%;
}

@media screen and (max-width: 1600px) {

    .custom-col-xl-2,
    .custom-col-xl-10 {
        /* width: 100%; */
        zoom: 70%;
    }
}

@media screen and (max-width: 1200px) {

    .custom-col-xl-2,
    .custom-col-xl-10 {
        /* width: 100%; */
        zoom: 60%;
    }
}

@font-face {
    font-family: 'HelveticaNeueCyr Bold';
    src: url("../fonts/HelveticaNeueCyr_Bold.ttf")
}

@font-face {
    font-family: 'HelveticaNeueCyr Medium';
    src: url("../fonts/HelveticaNeueCyr_Medium.ttf")
}

@font-face {
    font-family: 'HelveticaNeueCyr Thin';
    src: url("../fonts/HelveticaNeueCyr_Thin.ttf")
}

@font-face {
    font-family: 'HedvigLettersSerif Regular';
    src: url("../fonts/HedvigLettersSerif-Regular-VariableFont_opsz.ttf")
}

/* // <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 300 to 800 */

.open-sans-default {
    font-family: 'HedvigLettersSerif Regular';
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: var(--smallest-font-size);
    overflow-x: hidden !important;
    /* overflow-y: auto !important; */
    color: var(--custom-light-color);
    /* background-color: transparent !important; */
    letter-spacing: 0.1px;
}

::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--nav-link-active-color-opacity);
    outline: 1px solid #1e202a;
    border-radius: 50px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.container-fluid {
    max-width: 2075px !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--nav-link-active-color);
}

.nav-tabs .nav-link {
    color: var(--custom-light-color);
    /* font-size: 1.25rem; */
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.btn:focus-visible {
    color: inherit;
    background-color: inherit;
    border-color: var(--nav-link-active-color);
    outline: initial;
    box-shadow: var(--bs-btn-focus-box-shadow);
}

.table> :not(caption)>*>* {
    background-color: transparent;

}

.fs-1p5{
    font-size: 1.5rem;
}
.fs-1p2{
    font-size: 1.2rem;
}
.w-40p {
    width: 40%;
    display: inline-block !important;
}

.w-60p {
    width: 60%;
    display: inline-block !important;
}

.indices {
	/* font-size: 2.5rem !important; */
    font-size: 1.5rem !important;
}

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

.bg-navbar-bg {
    background-color: var(--navbar-bg);
}

.h-10p {
    height: 10% !important;
}

.h-20p {
    height: 20% !important;
}

.h-35p {
    height: 35% !important;
}

.h-40p {
    height: 40% !important;
}

.h-45p {
    height: 45% !important;
}

.h-55p {
    height: 55% !important;
}

.h-60p {
    height: 60% !important;
}

.h-65p {
    height: 65% !important;
}

.h-66p1 {
    height: 66.1% !important;
}

.h-70p {
    height: 70% !important;
}

.h-75p {
    height: 75% !important;
}

.h-90p {
    height: 90% !important;
}

.h-92p {
    height: 600px;
    max-height: 92% !important;
}
.h-93p {
    height: 600px;
    max-height: 93% !important;
}
.h-95p {
    height: 600px;
    max-height: 95% !important;
}

.h-95.overflow-y-auto{
    height: 600px;
    max-height: 96%;
    overflow-y: auto;
}

.h-50px{
    min-height: 50px;
    max-height: fit-content;
}

.h-60px{
    min-height: 60px;
    max-height: fit-content;
}

.h-80px{
    height: 80px;
}


.p-5px {
    padding: 5px !important;
}

.dataTables_info{
    display: none !important;
}

/* .dataTables_paginate{
    position: fixed !important;
    bottom: 0;
    right:0 !important;
} */

.tableFixHead {
    overflow: auto;
    /* height: 100px; */
}

.tableFixHead thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--navbar-bg);
}

.need-td-wrap td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-outline-custom-nav-active {
    border: 0.3px solid #0dd8f77a;
}
[data-bs-theme="light"] .btn-outline-custom-nav-active {
    border: 2px solid var(--navbar-bg);
}

.btn-outline-custom-dark-color{
    border: 1px solid var(--custom-light-color-opacity);
}

.btn-outline-custom-nav-active.btn-sm {
    font-size: var(--smallest-font-size) !important;
}

.btn-outline-custom-nav-active:hover {
    color: #00fffb;
    background-color: var(--nav-link-active-bg);
    border: 1px solid var(--nav-link-active-color);
}

.btn-custom-success {
    background: var(--custom-success) !important;
    color: var(--custom-dark-color) !important;
    font-weight: 600 !important;
}

.btn-custom-warning {
    background: var(--custom-warning) !important;
    color: var(--custom-dark-color) !important;
    font-weight: 600 !important;
}

.btn-custom-danger {
    background: var(--custom-danger) !important;
    color: var(--custom-dark-color) !important;
    font-weight: 600 !important;
}

.bg-custom-dark{
    background-color: #00425c !important;
}
.text-custom-dark-color {
    color: var(--custom-dark-color);
}

.text-custom-light-color {
    color: var(--custom-light-color);
}

.text-custom-success {
    color: var(--custom-success) !important;
}

.text-custom-warning {
    color: var(--custom-warning) !important;
}

.text-custom-danger {
    color: var(--custom-danger) !important;
}

.input-group-text:not(.input-group-text.input-prepend-text) {
    font-size: var(--smallest-font-size) !important;
    min-width: 65px;
    justify-content: center;
}

.text-nav-link-active-color {
    color: var(--nav-link-active-color) !important;
}
.bg-nav-link-active-color {
    background-color: var(--nav-link-active-color) !important;
}

.bg-nav-link-active-color-opacity {
    background-color: var(--nav-link-active-color-opacity);
}

.bg-nav-link-active-color-opacity-1 {
    background-color: var(--nav-link-active-color-opacity-1);
}

.nav-tabs .nav-link{
    min-width: 150px;
}



/* .tableFixHead.table-sm tr:last-of-type{
    border: none !important;
} */
/* Navbar */

.navbar-brand {
    width: 115px !important;
}

/* Buy Sell Form */
.place-order-forms-container {
    /* height: calc(100% - 37px) !important; */
}

.modal-backdrop {
    background-color: #000;
    opacity: 0.8 !important;
}

.notification-initial {
    display: flex;
    justify-content: start;
    align-items: center;
   }
   
   .notification-menu {
       width: 400px;
       height: 350px;
       overflow-y: auto !important;
       right: -10px !important;
   }
   
   #unreadNotificationAlert {
       height: 5px;
       width: 5px;
       background-color: var(--custom-danger);
       border-radius: 100%;
       position: absolute;
       top: 3%;
       right: 30%;
   }
table[id*='dashboard_get_trade_history'] tbody tr {
    min-height: 30px !important;
}



div.dt-button-collection .dt-button.dt-button-active {
    background: var(--custom-dark-color);
    box-shadow: none;
}

div.dt-button-collection .dt-button:hover:not(.disabled) {
    border: none;
    background: rgba(220, 220, 220, 1);
    box-shadow: none;
    color: var(--custom-dark-color);
}

div.dt-button-collection-title {
    font-size: 14px;
    color: var(--custom-dark-color);
}

/* Pagination */
/* .paginated th {
    cursor: vertical-text !important;
}

.paginated tr:not(thead tr) {
    display: none;
}

.page {
    margin-top: 50px;
}

.paginated {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

h2 {
    color: #4CAF50;
}

a.active {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 22px;
    font-weight: 600;
}

a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
} */

.dataTables_length{
    display: none !important;
}
.alert {
    display: none;
    top: 0;
    left: 40%;
    width: 30%;
    z-index: +9999;
}
.fade:not(.show) {
    opacity: inherit;
}

.dataTables_wrapper{
    height: 100% !important;
    position: relative;
}
.dataTables_wrapper .dataTables_paginate{
    display: flex;
    align-items: center;
    margin-top: 10px;
    /* position: absolute; */
    /* bottom:0; */
}
/* #myTabContent .dataTables_wrapper .dataTables_paginate{
    position: absolute;
    bottom: 6%;
} */
.table > thead {
    vertical-align: middle !important;
}
th{
    padding: 2.5px !important;
}
table.dataTable.no-footer {
    border-bottom: none !important;
}
table.dataTable > tbody > tr.child, #dataTable_bot .dtr-control::before{
    display: none !important;
    width: 100% !important;
}
table.dataTable > tbody > tr.child ul.dtr-details {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100px !important;
    max-width: 100%;
    overflow-y: auto;
}

.start-25{
    left: 25% !important;
}
/* 
.h-50px{
    height: 50px;
} */



.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.notification {
    position: relative;
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification .close-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
}

.notification .close-btn:before, .notification .close-btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: #fff;
}

.notification .close-btn:before {
    transform: rotate(45deg);
}

.notification .close-btn:after {
    transform: rotate(-45deg);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px !important;
}

.dataTables_filter{
    margin: 2.5px 5px 2.5px 0;
}

table.dataTable thead th,
table.dataTable tbody td {
    padding: 2px 5px !important;
}

.dt-buttons {
    display: flex;
    padding-top: 0.55rem !important;
}

.dt-button{
    margin-bottom: 0 !important;
    background: transparent;
    border: 1px solid #0dd8f77a !important;
    padding: 0.2em 1em !important;
}

[data-bs-theme="light"]{
    --body-bg:#cecece;
    --bs-tertiary-bg:#82cde0;
    --nav-link-active-color: #02606f;
    --nav-link-active-color-opacity-1: #ffffff;
    --custom-exchange-bg-color: #efefef;
    --custom-light-color: #3c3c3c;
    --navbar-bg: #82cde0;
    --custom-success: rgb(1, 188, 141);
    --custom-success-opacity: #72fdac;
    --custom-danger-opacity: #D56161b7;
    --custom-warning-opacity: #DDA5A1b7;
}

[data-bs-theme="light"] body,
html[data-bs-theme="light"] {
    background-color: var(--bs-info-opacity) !important;
}

[data-bs-theme="light"] .nav-link {
    color: var(--custom-light-color);
}

[data-bs-theme="light"] .table > :not(caption) > * > * {
    color: var(--custom-dark-color);
}
[data-bs-theme="light"] .text-warning {
    --bs-text-opacity: 1;
    color: #9e6c0d !important;
}

[data-bs-theme="light"] .border-info {
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-info-rgb),var(--bs-border-opacity)) !important;
}

[data-bs-theme="light"] .btn-outline-custom-nav-active:hover {
    color: #04dafc !important;
    background-color: #157795;
    border: 1px solid var(--nav-link-active-color);
}

.red-dot-count{
    height:7.5px;
    width: 7.5px;
    border-radius: 100%;
    background-color: var(--custom-danger);
    top:0;
    right:25%;
}



.pulse-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.heart-rate{
    width: 75px;
    height: 35px;
    position: relative;
    /* margin: 20px auto; */
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #4e73df; /* Adjust the color to fit your dark theme */
    border-color: #4e73df; /* Adjust the border color if needed */
}

.form-select {
    color: var(--custom-light-color) !important;
}

.status-dot {
    display: inline-block;
    width: 10px; /* Adjust the size of the dot as needed */
    height: 10px;
    border-radius: 50%; 
    }

    span[title] {
        position: relative;
    }
    
    span[title]:hover::after {
        content: attr(title);
        position: absolute;
        top: -10px;
        left: -250%;
        background-color: #000;
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        z-index: +9999999999999 !important;
    } 
    
    .hide_orderId_column {
visibility: hidden;
    }  

    #place_bot_form,.form-control-sm,.col-form-label-sm,.form-select-sm{
        font-size: 1.1rem !important;
    }

    .input-group-text{
        color: var(--nav-link-active-color);
    }

    .nav-link.reports-btn {
        /* border: 1px outset #0dd8f76b; */
        padding: 7.5px 12.5px;
        text-decoration: none;
        color: var(--nav-link-active-color);
        border-radius: 30px;
        background-color: var(--navbar-bg);
        font-size: var(--normal-text-fs);
        font-weight: 500;
    }

    body .switch {
        display: flex;
        align-items: center;
      }
      body .switch__input {
        /* position: absolute; */
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        z-index: 1;
        display: none;
      }
      body .switch__label {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        /* width: fit-content;
        height: 100%; */
        /* background-color: #333; */
        border-radius: 25px;
        transition: 0.4s;
        margin-right: 40px;
        margin-left: 10px;
      }
      body .switch__label::before {
        display: flex;
        align-items: center;
        justify-content: center;
        /* position: absolute;
        top: 0;
        right: auto;
        left: 0;
        bottom: 0; */
        width: 23px;
        height: 23px;
        border-radius: 100%;
        border: 2px #333 solid;
        background-color: #fff;
        color: #333;
        transition: 0.4s;
        content: "ï†…";
        font-family: "Font Awesome 5 Free";
        font-size: 15px;
        font-weight: 900;
        box-sizing: border-box;
      }
      body .switch__input:checked + .switch__label {
        /* background-color: #fff; */
      }
      body .switch__input:checked + .switch__label::before {
        /* left: calc(100% - 50px); */
        border-color: #fff;
        background-color: #333;
        color: #fff;
        content: "ï††";
      }

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

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

.cancel-btn{
    background-color: var(--navbar-bg);
    color: var(--custom-light-color);
}

button{
    cursor: pointer;
}

.btn:hover{
    color: var(--navbar-bg);
    background-color: var(--custom-light-color);
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    display: inline-block;
    font-size: 16px;
    color: var(--nav-link-active-color) !important;
  }

.error-message{
    right: 21%;
    bottom: 12.5%;
    color: var(--custom-danger);
    background-color: var(--custom-dark-color);
    opacity: 1;
}  

#dataTable_bot_filter{
    display: none;
}

#datatablesBotsearchbox, .dataTables_filter input[type='search']{
    border:0.3px solid var(--nav-link-active-color);
    background-color: var(--bs-btn-bg);
    color: var(--bs-btn-color);
    height: 25px;
}

.flash {
    animation: flash-animation 0.5s infinite alternate;
}

input[type="search"]{
    border: 1px solid #0dd8f77a !important;
}

@keyframes flash-animation {
    from {
        background-color: var(--navbar-bg);
    }
    to {
        background-color: transparent;
    }
}
.toast{
	width:auto !important;
}
