body {
  font-family: Helvetica, Arial, sans-serif;
  padding: 20px;
  background: #ececec;
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 10px;
}

#dt-table_wrapper {
  width: 35%;
  margin-right: 2%;
}

#chart {
  width: 63%;
}

table {
  text-align: left;
}

.polymarket-table thead.header tr th {
    background: #a1bbff;
    text-align: center;
    font-size: 15px;
    padding: 2px;
}

.polymarket-table thead.header tr th:hover {
    background: #5685ff;
    color: #ffffff;
}

.polymarket-table .table {
    margin-bottom: 0;
}

.polymarket-table .table.data-history tr td {
    width: 20%;
    padding: 0px;
    text-align: center;
}

.polymarket-table .table.data-history tr td.price {
  background: #ebf0fd;
}

.polymarket-table .table.data-history tr td.buy {
    background: #55bd6c;
}

.polymarket-table .table.data-history tr td.sell{
  background: #ff837a;
}

.polymarket-table .table.data-history.pmmediumcolor tr td.buy:not(:empty) {
    background: #48a95d !important;
}

.polymarket-table .table.data-history.pmmediumcolor tr td.sell:not(:empty){
  background: #e64d42 !important;
}

.polymarket-table .table.data-history.pmlightcolor tr td.buy {
    background: #f8f9fa  !important;
}
.polymarket-table .table.data-history.pmlightcolor tr td.sell {
  background: #f8f9fa !important;
}

.polymarket-table .table.data-history.pmlightcolor tr td.buy:not(:empty) {
    background: #48a95d !important;
}
.polymarket-table .table.data-history.pmlightcolor tr td.sell:not(:empty){
  background: #e64d42 !important;
}

.market-order-section {
    background-color: #f8f9fa;
}
.order-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 100%;
}

.slide-menu .side-menu-fixed {
    width: 100px;
}

.button-toggle-nav {
    color: #000000;
    position: absolute;
    left: 305px;
    top: 15px;
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    height: 30px;
    width: 30px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 10%);
    z-index: 222;
    transition: all 0.5s ease;
}

.slide-menu .button-toggle-nav {
    left: 85px;
}

.side-menu-fixed {
    position: fixed;
    top: 0px;
    left: 0;
    width: 320px;
    margin-left: 0;
    bottom: 0;
    padding: 0;
    border-right: 0px solid #dedede;
    transition: all 0.5s ease;
    z-index: 9;
    background: #4A6171;
    padding-right: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}



.side-menu-fixed .side-menu li a {
    width: 290px;
    text-transform: capitalize;
    transition: all 0.3s ease;
    display: flex;
    color: #ffffff;
    padding: 5px 10px 5px 10px;
    font-size: 16px;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.slide-menu .side-menu-fixed .side-menu li a {
    padding: 5px 20px 5px 20px;
    width: 60px;
    font-size: 16px;
}

.navbar-nav a img {
    height: 20px;
}

.side-menu-fixed .right-nav-text {
    opacity: 1;
    transition: opacity 0.2s ease 0s;
}

.slide-menu .side-menu-fixed .right-nav-text {
    opacity: 0;
}

.slide-menu .polymarket-table {
    padding-left: 90px;
}
.polymarket-table {
    padding-left: 320px;
    transition: all 0.5s ease;
}


.slide-menu .side-menu-fixed h1, .slide-menu .side-menu-fixed div#results h2 {
    font-size: 18px;
}

.side-menu-fixed h1, .side-menu-fixed .lead, .side-menu-fixed div#results h2 {
    color: #ffffff;
}


.side-menu-fixed .lead {
    font-size: 14px;
    color: #888888;
}

.side-menu-fixed .navbar-nav li.sub-menu a {
    width: auto;
}

.navbar-nav li.sub-menu .search-market {
    display: flex;
    flex-direction: column;
    width: auto;
    padding: 20px 20px;
    background: #fff;
    margin: 10px 0;
    border-radius: 5px;
}

.side-menu-fixed .navbar-nav li.sub-menu a.text-decoration-none {
    padding: 0;
    gap: 10px;
}

.navbar-nav li.sub-menu .search-market .card-body {
    padding: 5px;
    border-color: #dee2e6;
}

.navbar-nav li.sub-menu-profile .user-profile-data {
    display: flex;
    flex-direction: column;
    width: auto;
    padding: 20px 20px;
    background: #fff;
    margin: 10px 0;
    border-radius: 5px;
}

.navbar-nav li.sub-menu-profile .card-body {
    padding: 5px;
    border-color: #dee2e6;
}

.side-menu-fixed .navbar-nav li.sub-menu a.text-decoration-none .card-title {
    color: #888;
    font-size: 14px;
}
.side-menu-fixed .scrollbar.side-menu-bg .navbar-nav {
    margin-top: 20px;
}

button.text-decoration-none {
    font-size: 14px;
    border: 1px solid #dee2e6;
    box-shadow: inherit;
}
div#market-data-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
div#market-data-container .card.mt-3.market-oderbook-list-btn {
    margin-top: 0 !important;
}
.mol-active button.text-decoration-none {
    background: #007bff;
    color: #fff;
    border-radius: 3px;
}
.slide-menu .side-menu-fixed .brand-logo a.logo-desktop {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    word-break: break-word;
    text-align: center;
}
.market-tabs {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 100%;
    background: #f8f9fa;
}
.brand-logo a.logo-desktop {
    font-size: 22px;
    color: #ffffff;
    text-decoration: none;
}
.highlighted-buy {
    background-color: #ffffff !important;
    color: black;
    font-weight: bold;
}
.highlighted-sell {
    background-color: #f9f92a !important;
    color: black;
    font-weight: bold;
}

.order-book-setting-options{
    list-style: none;
    margin: 0;           
    position: absolute;
    background-color: rgb(255, 255, 255);
    padding: 15px;
    width: 210px;
    right: 0px;
    z-index: 2;
    border-radius: 10px;            
}
.order-book-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    /* border-bottom: 1px solid #eee; */
}
.settings-block{
    display: flex;
    gap: 5px;
}
.order-book-settings-block{
    position: relative;
}
.order-book-settings-btn{
    padding: 10px;
    cursor: pointer;
}
.global-settings-options {
    position: absolute;
    width: 940px;
    right: 0px;
    z-index: 2;
    background-color: #ececec;
    border-radius: 10px;
}
.global-opt-block{
    list-style: none;
    margin: 0;           
    padding: 15px;
}
.lastTradeSwitchBlock{
    padding-bottom: 10px;
    padding-left:10px;
    margin-top: 0px;
    margin-left: 10px;
    margin-bottom: 10px;
}
#last-trade-price-toggle {
    cursor: pointer;
}
.price-format-setting-options{
    list-style: none;
    margin: 0;           
    position: absolute;
    background-color: rgb(255, 255, 255);
    padding: 15px;
    width: 192px;
    right: 0px;
    z-index: 2;
    border-radius: 10px;            
}
.price-format-settings-block{
    position: relative;
}
.price-format-settings-btn{
    padding: 10px;
    cursor: pointer;
}
.new-address-block{
    vertical-align: sub;
}
.toggel-btn-block {
    margin-right: 10px;
    display: flex;
    float: left;    
}

#merge-share-frm #merge-shares-error-message.alert {   position: relative;   padding-right: 30px; }
#merge-share-frm span#merge-shares-error-text { word-break: break-all; }
#merge-share-frm #merge-shares-error-message.alert button.btn-close {  position: absolute;  top: 5px;  right: 5px; }
button.error-remove-btn { border: none;   background: red;   color: #fff;  border-radius: 100%;  height: 20px;  width: 20px;  display: flex;  align-items: center;   justify-content: center;   position: absolute;   right: -5px;   font-size: 16px;   top: -5px; }

span.error-remove-btn { border: none;   background: red;   color: #fff;  border-radius: 100%;  height: 22px;  width: 22px;  display: flex;  align-items: center;   justify-content: center;   position: absolute;   right: -15px;   font-size: 16px;   top: -19px; }
.mrunbtn {
    max-width: 180px;
}
.market-activity-filter-block{
    display: flex;
    gap: 10px;
    align-items: center;
}
/* .buy-no-price{
    color: green;
}
.buy-yes-price{
    color: red;
} */
.buy-no-price, .buy-yes-price {
    display: inline-block;
    /* width: 40%; */
    text-align: center;
    font-size: 14px;
}
@media screen and (min-width: 1999px) {
    .container {
        width: 100%;
        max-width: 100%;
    }

    .order-book-section {
        display: flex;
        gap: 30px;
    }
}

@media screen and (max-width: 1999px) {
    .order-book-section {
        display: flex;
        flex-direction: column-reverse;
    }
}



@media screen and (max-width: 1200px) {
  #dt-table_wrapper,
  #chart {
    width: 100%;
    margin: 20px 0;
  }

  #dt-table_wrapper {
    margin-right: 0;
  }
}

.dynamic-qty-block{
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.dynamic-qty-remove-btn {
    border: none;
    background: red;
    color: #fff;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -17px;
    font-size: 16px;
    top: -1px;
    cursor: pointer;
}

/* Add to css/style.css */
body.dark-mode {
    background-color: #181a1b !important;
    color: #e0e0e0 !important;
}
body.dark-mode .card,
body.dark-mode .table,
body.dark-mode .navbar,
body.dark-mode .container,
body.dark-mode .side-menu-bg {
    background-color: #23272b !important;
    color: #e0e0e0 !important;
}
body.dark-mode .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
body.dark-mode .btn-default,
body.dark-mode .btn-secondary {
    background-color: #444 !important;
    color: #fff !important;
}
body.dark-mode .alert-danger {
    background-color: #3a1a1a !important;
    color: #ffb3b3 !important;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #23272b !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.dark-mode .nav-tabs .nav-link.active {
    background-color: #444 !important;
    color: #fff !important;
}
body.dark-mode .nav-tabs .nav-link {
    background-color: #23272b !important;
    color: #e0e0e0 !important;
}
body.dark-mode .table-bordered th,
body.dark-mode .table-bordered td {
    border-color: #444 !important;
}
body.dark-mode .polymarket-table thead.header tr th {
    background: #3a3f44 !important;
    color: #e0e0e0 !important;
}
body.dark-mode .polymarket-table thead.header tr th:hover {
    background: #555b61 !important;
    color: #ffffff !important;
}
body.dark-mode .polymarket-table .table.data-history tr td.price {
    background: #2c2f33 !important;
    color: #e0e0e0 !important;
}

body.dark-mode .polymarket-table .table.data-history tr td.buy {
    background: #2c3e2c !important;
    color: #e0e0e0 !important;
}
body.dark-mode .polymarket-table .table.data-history tr td.sell {
    background: #5a1e1d !important;
    color: #e0e0e0 !important;
}

body.dark-mode .polymarket-table .table.data-history.pmmediumcolor tr td.buy:not(:empty) {
    background: #48a95d !important;
    color: #e0e0e0 !important;
}
body.dark-mode .polymarket-table .table.data-history.pmmediumcolor tr td.sell:not(:empty){
  background: #e64d42 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .polymarket-table .table.data-history.pmlightcolor tr td.buy {
    background: #23272b  !important;
    color: #e0e0e0 !important;
}
body.dark-mode .polymarket-table .table.data-history.pmlightcolor tr td.sell {
  background: #23272b !important;
  color: #e0e0e0 !important;
}

body.dark-mode .polymarket-table .table.data-history.pmlightcolor tr td.buy:not(:empty) {
    background: #48a95d !important;
    color: #e0e0e0 !important;
}
body.dark-mode .polymarket-table .table.data-history.pmlightcolor tr td.sell:not(:empty){
  background: #e64d42 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .side-menu-fixed {
    background: #2c2f33 !important;
}
body.dark-mode .side-menu-fixed .side-menu li a {
    color: #e0e0e0 !important;
}
body.dark-mode .side-menu-fixed h1,
body.dark-mode .side-menu-fixed div#results h2 {
    color: #e0e0e0 !important;
}
body.dark-mode .side-menu-fixed .lead {
    color: #bbbbbb !important;
}
body.dark-mode .navbar-nav li.sub-menu .search-market {
    background: #2c2f33 !important;
    color: #e0e0e0 !important;
}
body.dark-mode .navbar-nav li.sub-menu-profile .user-profile-data {
    background: #2c2f33 !important;
    color: #e0e0e0 !important;
}
body.dark-mode .side-menu-fixed .navbar-nav li.sub-menu a.text-decoration-none .card-title {
    color: #bbbbbb !important;
}
body.dark-mode button.text-decoration-none {
    background: #444 !important;
    color: #fff !important;
    border: 1px solid #555 !important;
}
body.dark-mode .market-order-section {
    background-color: #23272b !important;
}
body.dark-mode .order-section {
    background-color: #23272b !important;
    border: 1px solid #444 !important;
}
body.dark-mode .market-tabs {
    background-color: #23272b !important;
    border: 1px solid #444 !important;
}
body.dark-mode .order-book-setting-options,
body.dark-mode .price-format-setting-options {
    background-color: #2c2f33 !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}
body.dark-mode .order-book-setting-options li,
body.dark-mode .price-format-setting-options li {
    color: #e0e0e0 !important;
}
body.dark-mode .order-book-header {
    border-bottom: 1px solid #444 !important;
}
body.dark-mode .error-remove-btn {
    background: #ff4d4d !important;
    color: #fff !important;
}
body.dark-mode .button-toggle-nav {
    background: #444 !important;
    color: #e0e0e0 !important;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 30%) !important;
}
body.dark-mode .highlighted-buy {
    background-color: white !important;
    color: black;
    font-weight: bold;
}
body.dark-mode .highlighted-sell {
    background-color: #f9f92a !important;
    color: black;
    font-weight: bold;
}
body.dark-mode .brand-logo a.logo-desktop {
    color: #e0e0e0 !important;
}
body.dark-mode .pt-settings-icon {
    background-color: #e0e0e0 !important;
}
body.dark-mode table tr {
    border-color: #808080;
}

body.dark-mode .ob-buy-quantity.selected {
    background: #555b61 !important;
}
body.dark-mode .polymarket-table thead.header tr th.ob-buy-quantity.selected, body.dark-mode .polymarket-table thead.header tr th.ob-sell-quantity.selected {
    background: #555b61 !important;
    color: #fff !important;
}
body.dark-mode .global-settings-options {
    background-color: #2c2f33 !important;
    border-radius: 10px;    
}
