:root {
        --topbar-height: 36px;
        --topbar-search-width: 480px;
        --search-control-height: var(--topbar-height);
    }

    .main_div {
        /* width: 98% !important; */
        /* background-color: rgb(29, 31, 37); */
        height: 300px;
        /* margin: 0px 0.5%; */
    }

    .topbar-left {
        gap: 4px;
    }

    .topbar-right {
        gap: 8px;
    }

    .topbar .btn-group > .btn {
        height: 100%;
    }

    .filter-menu {
        width: 100%;
        max-width: 260px;
    }

    .filter-menu .checkbox-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .filter-menu .checkbox-item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding-left: 32px;
        min-height: 28px;
    }

    .filter-menu .checkbox-item svg {
        position: absolute;
        left: 0;
        width: 24px;
        height: 24px;
    }

    .filter-menu .checkbox-item input[type="checkbox"] {
        position: absolute;
        left: 0;
        top: 50%;
        width: 24px;
        height: 24px;
        margin: 0;
        transform: translateY(-50%);
        opacity: 0;
        appearance: none;
        -webkit-appearance: none;
    }

    .filter-menu .checkbox-item span[class^="placeholder-"] {
        flex: 1;
        background-color: rgba(201, 201, 201, 0.16);
        border-radius: 6px;
        padding: 4px 10px;
        color: white;
        font-size: 12px;
    }

    #Chain1APIType  {
    width: 180px !important; 
    }
    #Chain2APIType  {
    width: 180px !important; 
    }

    .select2-container--default .select2-results {
            scrollbar-color: rgb(13, 13, 13) #525252; 
        }
    .select2-selection {
        display: none !important;
    }
    form .select2-selection {
        display: block !important; 
    }
    .select2-container {
    background-color: rgb(13, 13, 13);
    color: white; 
    border: none;
    border-radius: 10px; 
    margin-left: 8px;
}

    .select2-container--default .select2-selection--single {
  border-radius: 0 !important;
  border: none !important;
}

.select2-container--default .select2-selection--multiple {
  border-radius: 0 !important;
  border: none !important;
}

.select2-dropdown {
  border-radius: 0 !important;
  border: none !important;

}

    .select2-container--open {
    z-index: 9999 !important; 
}

    .select2-results__option:hover {
  background-color: #525252 !important;
  color: white !important; 
}
.select2-results__option {
  background-color: black !important;
  color: white !important; 
}

.select2-container--default .select2-results__option--selected {
    background-color: green !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #525252 !important;
    color: white;
}
    .select2-selection__arrow{
        color: white;
    }
    .select2-container--default .select2-selection--single {
    border: none;
  }
    .row {
        margin-right: 0px !important;
        margin-left: 0px !important;
        padding-left: 0px !important;
    }

    .ntdiff_percentage {
        background-color: rgb(11, 14, 17);
        border: 1px solid rgba(128, 128, 128, 0.263);
        color: whitesmoke;
        border-radius: 4px;
        width: 50px !important;
    }

    .search_input-wrapper {
        position: relative;
        width: min(var(--topbar-search-width), 100%);
        margin: 0 auto;
        display: flex;
        align-items: center;
        height: var(--search-control-height);
        --searchxbutton-size: 28px;
        --searchxbutton-offset: 6px;
    }

    .search_input {
        width: 100%;
        background-color: rgb(11, 14, 17);
        border: 1px solid rgba(128, 128, 128, 0.263);
        color: whitesmoke;
        border-radius: 4px;
        padding: 4px calc(var(--searchxbutton-size) + var(--searchxbutton-offset) + 6px) 4px 10px;
        box-sizing: border-box;
        font-size: 18px;
        height: var(--search-control-height);
    }

    .search_input:focus {
        /* border: none; */
        border: 1px solid rgb(128, 128, 128);
        outline: none;
    }

    .icon_drop {
        margin-top: 0;
    }

    .table_heading {
        text-align: center;
        background-color: rgb(19, 23, 26) !important;
        border-radius: 5px;
        padding: 4px 4px;
        /* margin-top: 4px; */
    }

    .action_buttons {
        margin-top: 0;
        display: inline-flex;
        gap: 6px;
        align-items: center;
    }

    .column_mid {
        text-align: center;
        width: 100%;
        /* height: 44px; */
        padding: 4px 2px;
        display: flex;
        justify-content: center;
    }

    table {
        border-collapse: collapse;
        text-align: center;
    }

    .fade-in-red {
        opacity: 1;
        animation-name: fadeInOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1s;
        /* color:black; */
        color: #ec4545;
    }

    .pinned-sort-column {
        display: none !important;
    }

    .fade-in-green {
        opacity: 1;
        animation-name: fadeInOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1s;
        /* color:black; */
        color: #1eab33;
    }

    @keyframes fadeInOpacity {
        0% {
            opacity: 0.25;
        }

        100% {
            opacity: 1;
        }
    }

    .fade-out-red {
        opacity: 1;
        animation-name: fadeOutOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1s;
        /* color:black; */
        color: #ec4545;
    }

    .fade-out-green {
        opacity: 1;
        animation-name: fadeOutOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1s;
        /* color:black; */
        color: #1eab33;
    }

    @keyframes fadeOutOpacity {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0.25;
        }
    }

    .dataTables_wrapper .dataTables_filter input {
        color: white;
    }

    .arrow_class {
        padding-top: 16px;
        position: absolute;
        margin-left: -4%;

        /* margin-left: -6px; */
        /* position: absolute;
        margin-left: 20px;
        margin-top: -5px; */
        /* margin-top: 4px; */
        /* float: right; */
    }

    .button3 {
        background-color: #c9c9c929;
        border: none;
        color: white !important;
        padding: 8px 10px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 13px !important;
        margin: 2px 1px;
        /* transition-duration: 0.4s; */
        cursor: pointer;
        border-radius: 5px;
        opacity: 1;
    }

    .button3:hover {
        background-color: rgba(70, 70, 70, 0.85);
        color: #f1f1f1;
        /* transform: translateY(-2px); */
    }

    .button-coinname {
        min-width: 90px;
        font-weight: 500;
        font-size: 12px;
    }

    td {
        border-top: 2px solid rgba(255, 255, 255, 0) !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.134) !important;
        font-size: 16.5px;
    }
    .table_style tbody tr {
        transition: none;
    }
    .pinned-row,
    .disabled-row {
        position: relative;
    }
    .pinned-row:not(.disabled-row)::after,
    .disabled-row:not(.pinned-row)::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        outline-offset: -2px;
    }
    .pinned-row:not(.disabled-row)::after {
        outline: 2px dotted rgba(46, 204, 113, 0.85);
    }
    .disabled-row:not(.pinned-row)::after {
        outline: 2px dotted rgba(236, 70, 70, 0.85);
    }
    .pinned-row.disabled-row::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        border-radius: inherit;
        outline: 2px dotted rgba(255, 165, 0, 0.85);
        outline-offset: -2px;
    }
    .time_class {
        font-size: 12px !important;
        color: grey;
    }

    /* context menu */
    #context-menu {
        position: fixed;
        z-index: 10000;
        width: 200px;
        background: #1b1a1a;
        border-radius: 5px;
        transform: scale(0);
        transform-origin: top left;
    }

    #context-menu.visible {
        transform: scale(1);
        transition: transform 200ms ease-in-out;
    }

    #context-menu .item {
        padding: 8px 10px;
        font-size: 15px;
        color: #eee;
        cursor: pointer;
        border-radius: inherit;
    }

    #context-menu .item:hover {
        background: #343434;
    }

    .selectcopy {
        /* background-color: #c9c9c929; */
        border: none;
        /* color: white !important; */
        /* background-color: #1a1a1a; */
        padding: 2px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        /* font-size: 13px !important; */
        /* margin: 2px 1px; */
        /* transition-duration: 0.4s; */
        cursor: pointer;
        border-radius: 4px;
        opacity: 1;
        line-height: 1.15;
    }
    .copy-notification {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #1f8a44;
        color: #ffffff;
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        display: none;
        z-index: 11000;
    }
    .copy-notification.show {
        display: block;
    }
    .price_class{
        background-color: #353535a3 !important;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .selectcopy:hover {
        background-color: rgba(52, 52, 52, 0.85);
        font-weight: 600;
        color: inherit;
    }

    textarea {
        opacity: 0 !important;
    }
    .select2-search__field{
        opacity: 1 !important;
    }
    input[type="checkbox"] {
        cursor: pointer;
        appearance: none;
        height: 15px;
        width: 10px;
        min-width: 16px;
        /* background: #ffffff; */
        background-color: red;
        transition: all 250ms linear;
        box-shadow: inset 0 0 0 1px #ffffff;
        border: 1px solid #6a6a6a;
    }

    input[type="checkbox"] {
        border-radius: none;
    }

    input[type="checkbox"]:checked {
        border-color: rgb(14, 194, 149);
        background-color: rgb(0, 147, 110);
        /* box-shadow: inset 0 0 0 5px #ffffff; */
    }

    .tooltip2 {
        position: relative;
        display: inline-block;
        /* border-bottom: 1px dotted black; */
    }

    .tooltip2 .tooltip2text {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;

        /* Position the tooltip2 */
        position: absolute;
        z-index: 1;
    }

    .tooltip2:hover .tooltip2text {
        visibility: visible;
    }

    .col-sm-12,
    .col-sm-6 {
        padding: 0px !important;
    }

    .loader2 {
        border: 3px solid #f3f3f3;
        border-radius: 50%;
        border-top: 3px solid #757575;
        width: 20px;
        height: 20px;
        margin-right: 224px;
        margin-top: -31px;
        -webkit-animation: spin 2s linear infinite;
        /* Safari */
        animation: spin 2s linear infinite;
    }

    .chain_loader {
        margin-right: 0px !important;
        margin-left: 724px !important;
    }

    /* Safari */
    @-webkit-keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(360deg);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    input[type='number'] {
        width: 85px;
    }

    .edit_form2 {
        width: 309px;
        height: 440px;
        padding: 10px 20px;
    }
    .notification_form {
        width: 300px;
        height: 200px;
        padding: 10px 20px;
    }

    .dataTables_length,
    .dataTables_filter {
        display: none !important;
    }

    .move_right {
        /* margin-right: -30px; */
        /* font-size: 12px; */
        width: 100px;
    }

    .table_style {
        border: 1px solid rgba(128, 128, 128, 0.555);
        margin-top: 2px;
        /* height: max-content; */
    }

    table.dataTable {
        width: 100% !important;
    }

    .middle {
        margin-left: -12px;
    }
    .middle2 {
        margin-left: -12px;
    }

    .differential_css {
        /* margin-left: 10%; */
        display: flex;
        /* width: 130px; */
        justify-content: space-between;
    }

    .price_css {
        display: flex;
        justify-content: space-between;
        /* width: 140px; */
        /* padding-left: 20px; */
    }

    .bar_css {
        position: absolute;
        margin-left: 62px;
    }

    .chainname_css {
        font-size: 12px;
        opacity: 0.5;
        /* border: 1px grey solid; */
        /* padding: 2px 4px; */
        border-radius: 4px;
        /* background-color: #424242; */
        color: white;
    }
    .chain_image {
        /* position: absolute; */
        margin-right: 4px;
        /* margin-top: 10px; */
        width: 13px;
        height: 13px;
    }
    .tdm_grey{
        opacity:0.4;
        position:unset;
        font-size:11px;
    }
    .small_decimal {
        font-style: italic;
        font-size: 12px;
        position: relative;
        top: 3px;
        margin-right:2px;
    }
    @media only screen and (max-width: 1200px) {
        .differential_css {
            /* margin-left: 12%;
            display: flex;
            width: 60%;
            justify-content: space-between; */
        }

        .bar_css {
            position: absolute;
            margin-left: 7.5%;
        }
    }

    @media only screen and (max-width: 800px) {
        .small_decimal{
            font-size: 6px;
        }
        .differential_css {
            /* margin-left: 12%;
            display: flex;
            width: 72%;
            justify-content: space-between; */
        }

        .bar_css {
            position: absolute;
            margin-left: 8.5%;
        }

        td,
        th,
        .time_class,
        .chainname_css,
        .button-coinname {
            font-size: 7px !important;
        }
        .button-coinname {
            font-size: 7px !important;
            min-width: 50px;
        }
        .selectcopy {
            /* width: unset !important; */
            padding-right: 10px !important;
        }
        .arrow_class {
            margin-left: 0%;
            position: unset;
        }
        .price_css {
            display: flex;
            justify-content: space-between;
            width: 50px;
            /* padding-left: 20px; */
        }
        .middle2 {
            width:45px;
            margin-left: 0px;
        }
        .middle {
            /* width:70px; */
            margin-left: 0px;
        }
        .btn-sm {
            font-size: 10px !important;
        }
        .row>*{
            padding-left: 0px !important;
            padding-right: 0px !important;
        }
        .icon_drop {
            font-size: 10px;
        }
        .topbar {
            grid-template-columns: 1fr;
            row-gap: 10px;
        }
        .topbar-left {
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }
        .topbar-center {
            width: 100%;
        }
        .topbar-right {
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
        }
        .search_input-wrapper {
            width: 100%;
            margin: 0 auto;
        }
        .tdm_grey{
            font-size: 7px;
        }

        .chain_image {
            position: absolute;
            margin-left: -10px;
            margin-top: 0px;
            width: 8px;
            height: 8px;
        }
        .chainname_css {
            font-size: 6px;
            padding: 2px;
            background-color: transparent;
            color: rgb(153, 153, 153);
        }
    }

    .checkbox_pointer:hover {
        cursor: pointer;
        opacity: 0.7;
    }

    input[type='checkbox'].tags-checkbox:checked+label>i:first-of-type,
    input[type='checkbox'].tags-checkbox+label>i:last-of-type {
        display: none;
    }

    input[type='checkbox'].tags-checkbox:checked+label>i:last-of-type {
        display: inline-block;
    }

    table.dataTable tbody tr.selected {
        outline: 2px dotted rgba(255, 255, 255, 0.6);
        outline-offset: -2px;
    }

    table.dataTable tbody tr.selected>* {
        box-shadow: none !important;
    }

    .red_bg {
        background-color: #b62929 !important;
        color: white !important;
    }

    .red_bg:hover {
        background-color: #680000 !important;
        color: white !important;
    }

    .login_input {
        margin: 10px 50px;
        background-color: transparent;
        border: 1px solid grey;
        color: white;
        border-radius: 4px;
        padding: 3px 8px;
    }

    .searchxbutton {
        color: grey;
        border: none;
        background-color: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--searchxbutton-size);
        height: var(--searchxbutton-size);
        padding: 0;
        position: absolute;
        right: var(--searchxbutton-offset);
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        line-height: 1;
    }

    .searchxbutton-icon {
        display: inline-block;
        font-weight: 600;
    }

    .searchxbutton-spinner {
        display: none;
        width: 14px;
        height: 14px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: search-spinner 0.8s linear infinite;
    }

    .search-loading .searchxbutton-icon {
        display: none;
    }

    .search-loading .searchxbutton-spinner {
        display: inline-block;
    }

    @keyframes search-spinner {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .search-results-wrapper {
        display: none;
        margin-top: 0;
    }

    .search-results-wrapper.search-results-visible {
        display: block;
    }

    .live-table-row-hidden {
        display: none !important;
    }

    .select2-selection--single, .select2-selection--multiple{
        height: 32px !important;
        margin-bottom: 2px !important;
        background-color: transparent !important;
        border: 1px solid rgba(128, 128, 128, 0.5) !important;
    }
    .select2-selection__rendered{
        color: white !important;
    }
    .select2-dropdown--below, .select2-search--dropdown, .select2-search__field{
        background-color: rgb(19, 23, 26) !important;
        color: white !important;
    }
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background-color: transparent;
    }
    .select2-container--default .select2-results__option--selected {
        background-color: #550101;
    }
    .select2-selection__choice{
        /* opacity: 0; */
        display: none !important;
    }
    .select2-search--inline{
        opacity: 0 !important;
    }
    .select2-selection--multiple{
        border: none !important;
    }
    .select2-selection--multiple:hover{
        cursor: pointer;
    }
    .hide_button{
        /* z-index: 1000; */
    }
    .hide_button:hover{
        cursor: pointer;
        background-color: grey;
    }
    .headingsmall{
        background-color: #525252;
        width: 190px;
        border-radius: 8px;
    }
    .formstyling{
        padding: 10px 40px;
        padding-right: 0px;
    }
    .inputField{
        border-radius: 8px;
    }
    select option { 
        line-height: 20px;
    }
    .pagination_button{
        text-decoration: none;
        font-size: large;
    }
    .green_price {
        color: rgb(83, 183, 83);
    }
    /* .green_price .chain_image{
        border: 1px solid rgb(25, 99, 25);
        box-shadow: 0 0 8px rgb(73, 255, 73);
        border-radius: 50%;
    } */
    .green_price .greenOverlay{
        background-color: rgba(0, 255, 0, 0.599); /* Green color with 50% opacity */
    }
    .greenOverlayContainer {
      position: relative;
      display: inline-block;
    }

    .greenOverlay {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      border-radius: 50%;
      margin-top: 4px;
      margin-bottom:1px;
      /* background-color: rgba(0, 255, 0, 0.5); Green color with 50% opacity */
      pointer-events: none; /* Ensure the overlay doesn't interfere with clicks */
      z-index: 1; /* Place the overlay above the image (increase if needed) */
    }
    .breadcrumbx{
        all:unset; 
        color: grey;
        padding: 0px 4px;
        margin-left: -4px;
    }
    .breadcrumbx:hover{
        cursor: pointer;
        color: lightgray;
    }
    .breadcrumbspan{
        border: 1px solid grey; 
        border-radius: 20px;
        padding: 4px 10px;
        margin-bottom: 2px;
        display: none;
    }
    #decimal_quantity1 {
        display: none;
        }
    
    #decimal_quantity2 {
        display: none;
        }
.checkbox-wrapper .background {
  fill: #c9c9c929;
  /* fill: red; */
  transition: ease all 0.6s;
}

.checkbox-wrapper .stroke {
  fill: none;
  /* stroke: #666; */
  stroke: white;
  stroke-miterlimit: 10;
  stroke-width: 2px;
  transition: ease all 0.6s;
}

.checkbox-wrapper .check {
  fill: none;
  stroke: black;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  stroke-dashoffset: 22;
  stroke-dasharray: 22;
  transition: ease all 0.6s;
  font-weight: bolder;
}

.checkbox-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 32px;
  min-height: 30px;
}

.checkbox-item svg {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
}

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

.checkbox-item:hover .check {
  stroke-dashoffset: 22;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .background {
  fill: lime;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .stroke {
  stroke: lime;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.checkbox-wrapper input[type="checkbox"]:checked + svg .check {
  stroke-dashoffset: 0;
}

.placeholder-faulty,
.placeholder-live_price,
.placeholder-raw_price {
  display: inline-block;
  background-color: rgba(201, 201, 201, 0.16);
  border-radius: 6px;
  padding: 4px 10px;
  color: white;
  font-size: 12px;
  min-width: 0;
}