@font-face {
  font-family: Lato-Black;
  src: url(./static/media/Lato-Black.57dee8aface5572f9101.ttf);
}

@font-face {
  font-family: Lato-Bold;
  src: url(./static/media/Lato-Bold.636be8de934918e38ed9.ttf);
}

@font-face {
  font-family: Lato-Light;
  src: url(./static/media/Lato-Light.c7400fcad9e48ca9043f.ttf);
}

@font-face {
  font-family: Lato;
  src: url(./static/media/Lato-Regular.9d883d540ee2b4de8024.ttf);
}

@font-face {
  font-family: Lato-Thin;
  src: url(./static/media/Lato-Thin.5a60dde25d817751d590.ttf);
}

@font-face {
  font-family: Poppins;
  src: url(./static/media/Poppins-Regular.1421a94e04ced16b1ffc.otf);
}

:root {
  --main-color-primary: #aa68ff;
  --main-color-background: ;
  --font-medium: 14px;
  --font-small: 10px;
  --Black-1: #16161b;
  --Black-2: rgba(127, 99, 167, 0.1);
  --Black-3: rgba(127, 99, 167, 0.05);
  --Long: #78c98f;
  --Short: #d87070;
  --Modal-BG: rgba(79, 62, 111, 0.8);
  --Border-Radius: 20px;

  --h-header: 56px; /* Price View height */
  --w-book: 320px; /* OrderBook column width */
  --w-trade: 360px; /* TradeBox width */
  --gap: 8px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: #16161b;
  background-color: var(--Black-1, #29173f);
  font-family: "Lato";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
}

a {
  text-decoration: none;
  color: #ada4c9;
  color: var(--Text-2, #ada4c9);
}

input {
  outline: none;
}
input:focus {
  outline: none;
}
button:focus,
button:active {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}
button {
  text-align: center !important;
}

.Toastify__toast {
  border-radius: "10px";
}
.Toastify__toast-body {
  color: #414141;
}
.Toastify__close-button {
  color: #414141;
}

.rc-slider {
  position: relative;
  width: 100%;
  height: 14px;
  padding: 5px 0;
  border-radius: 6px;
  touch-action: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-rail {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #2a2c3c;
  border-radius: 6px;
}
.rc-slider-track,
.rc-slider-tracks {
  position: absolute;
  height: 4px;
  background-color: #aa68ff;
  border-radius: 6px;
}
.rc-slider-track-draggable {
  z-index: 1;
  box-sizing: content-box;
  background-clip: content-box;
  border-top: 5px solid rgba(0, 0, 0, 0);
  border-bottom: 5px solid rgba(0, 0, 0, 0);
  transform: translateY(-5px);
}
.rc-slider-handle {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  background-color: #fff;
  border: solid 2px #a471e6;
  border-radius: 50%;
  cursor: pointer;
  cursor: grab;
  opacity: 0.8;
  touch-action: pan-x;
}
.rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
  border-color: #aa68ff;
  box-shadow: 0 0 0 5px #a471e6;
}
.rc-slider-handle:focus {
  outline: none;
  box-shadow: none;
}
.rc-slider-handle:focus-visible {
  border-color: #2db7f5;
  box-shadow: 0 0 0 3px #a471e6;
}
.rc-slider-handle-click-focused:focus {
  border-color: #a471e6;
  box-shadow: none;
  box-shadow: initial;
}
.rc-slider-handle:hover {
  border-color: #aa68ff;
}
.rc-slider-handle:active {
  border-color: #aa68ff;
  box-shadow: 0 0 5px #aa68ff;
  cursor: grabbing;
}
.rc-slider-mark {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  font-size: 12px;
}
.rc-slider-mark-text {
  position: absolute;
  display: inline-block;
  color: #999;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
.rc-slider-mark-text-active {
  color: #666;
}
.rc-slider-step {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
}
.rc-slider-dot {
  position: absolute;
  bottom: -2px;
  width: 8px;
  height: 8px;
  vertical-align: middle;
  background-color: #fff;
  border: 2px solid #e9e9e9;
  border-radius: 50%;
  cursor: pointer;
}
.rc-slider-dot-active {
  border-color: #a471e6;
}
.rc-slider-dot-reverse {
  margin-right: -4px;
}
.rc-slider-disabled {
  background-color: #e9e9e9;
}
.rc-slider-disabled .rc-slider-track {
  background-color: #ccc;
}
.rc-slider-disabled .rc-slider-handle,
.rc-slider-disabled .rc-slider-dot {
  background-color: #fff;
  border-color: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}
.rc-slider-disabled .rc-slider-mark-text,
.rc-slider-disabled .rc-slider-dot {
  cursor: not-allowed !important;
}
.rc-slider-vertical {
  width: 14px;
  height: 100%;
  padding: 0 5px;
}
.rc-slider-vertical .rc-slider-rail {
  width: 4px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-track {
  bottom: 0;
  left: 5px;
  width: 4px;
}
.rc-slider-vertical .rc-slider-track-draggable {
  border-top: 0;
  border-bottom: 0;
  border-right: 5px solid rgba(0, 0, 0, 0);
  border-left: 5px solid rgba(0, 0, 0, 0);
  transform: translateX(-5px);
}
.rc-slider-vertical .rc-slider-handle {
  position: absolute;
  z-index: 1;
  margin-top: 0;
  margin-left: -5px;
  touch-action: pan-y;
}
.rc-slider-vertical .rc-slider-mark {
  top: 0;
  left: 18px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-step {
  width: 4px;
  height: 100%;
}
.rc-slider-vertical .rc-slider-dot {
  margin-left: -2px;
}
.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
  display: block !important;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-play-state: paused;
}
.rc-slider-tooltip-zoom-down-leave {
  display: block !important;
  animation-duration: 0.3s;
  animation-fill-mode: both;
  animation-play-state: paused;
}
.rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
.rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
  animation-name: rcSliderTooltipZoomDownIn;
  animation-play-state: running;
}
.rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
  animation-name: rcSliderTooltipZoomDownOut;
  animation-play-state: running;
}
.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
  transform: scale(0, 0);
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
.rc-slider-tooltip-zoom-down-leave {
  animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}
@keyframes rcSliderTooltipZoomDownIn {
  0% {
    transform: scale(0, 0);
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: 50% 100%;
  }
}
@keyframes rcSliderTooltipZoomDownOut {
  0% {
    transform: scale(1, 1);
    transform-origin: 50% 100%;
  }
  100% {
    transform: scale(0, 0);
    transform-origin: 50% 100%;
    opacity: 0;
  }
}
.rc-slider-tooltip {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: visible;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-tooltip * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.rc-slider-tooltip-hidden {
  display: none;
}
.rc-slider-tooltip-placement-top {
  padding: 4px 0 8px 0;
}
.rc-slider-tooltip-inner {
  min-width: 24px;
  height: 24px;
  padding: 6px 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: #6c6c6c;
  border-radius: 6px;
  box-shadow: 0 0 4px #d9d9d9;
}
.rc-slider-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
  bottom: 4px;
  left: 50%;
  margin-left: -4px;
  border-width: 4px 4px 0;
  border-top-color: #6c6c6c;
}

.ExchangeChart-bottom-content {
  height: 100%;
}
.Exchange-loading {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Modal {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.Modal-scrollable .Modal-content .Modal-body {
  overscroll-behavior: smooth;
  max-height: calc(80vh - 5.5rem);
  overflow-y: auto;
  padding-right: 5px;
}

.Modal-backdrop {
  position: relative;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(79, 62, 111, 0.8);
  background: var(--Modal-BG, rgba(79, 62, 111, 0.8));
}

.Modal-content {
  z-index: 20;
  /* position: absolute; */
  /* top: 50%;
  left: 50%; */
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: #171822;
  border-radius: 4px;
}

.divider {
  border-bottom: 1px solid #333;
}

.Modal.non-scrollable .Modal-content {
  overflow: visible;
}

.Modal-header-wrapper {
  margin: 1rem;
}

.Modal-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Modal-body {
  max-height: calc(80vh - 8.5rem);
  overflow-y: auto;
  /* for scrollbar to have a space on left and right */
  margin: 1rem 1rem 1rem 1rem;
  padding-right: 0.5rem;
}

.Modal-title {
  text-align: left;
  font-size: var(--font-md);
  line-height: 1;
}

.Modal-close-button {
  text-align: right;
}

.Modal-close-icon {
  opacity: 0.6;
  cursor: pointer;
  text-align: right;
  display: inline-block;
}

.Modal-close-icon:hover {
  opacity: 0.9;
}

.header-content {
  font-size: 14px;
  margin-top: 20px;
  color: #999ec6;
}

/* Tooltip.css */
.tooltip-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.tooltip-box {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  white-space: pre-wrap; /* Allows multi-line content */
  z-index: 1000;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.tooltip-top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.tooltip-right {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 10px;
}

.tooltip-bottom {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
}

.tooltip-left {
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  margin-right: 10px;
}

.leverage-input {
  text-align: center;
  background: rgba(32, 21, 54, 1) !important;
  font-size: 16px !important;
  color: rgba(206, 126, 255, 1) !important;
}
.Modal-title {
  color: rgba(173, 164, 201, 1);
}
.Modal-content {
  background: rgba(32, 21, 54, 1) !important;
  padding: 10px 31px !important;
}
.Modal-header-wrapper {
  margin: 0 0px !important;
  height: 46px !important;
  padding-top: 5px !important;
}
.Modal-body {
  margin: 0 !important;
}
.Modal-body > div {
  margin: 18px 0 !important;
}
.leverage-slider .rc-slider-step {
  /* height: 12px; */
}
.leverage-slider .rc-slider-rail {
  /* height: 12px; */
}
.leverage-slider .rc-slider-track {
  /* height: 12px; */
}
.leverage-slider .rc-slider-dot {
  /* border: 4px solid rgba(155, 110, 211, 0);
  height: 14px;
  width: 14px;
  bottom: -1px;
  background-color: rgba(255, 255, 255, 0); */
}
.leverage-slider .rc-slider-dot:first-of-type {
  /* -webkit-transform: translateX(0px) !important;
  -moz-transform: translateX(7px);
  -ms-transform: translateX(7px);
  -o-transform: translateX(7px); */
}
.leverage-slider .rc-slider-dot::before {
  /* content: '';
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  display: block; */
  /* transform: translateX(7px); */
}
.leverage-slider .rc-slider-mark-text {
  background: linear-gradient(290.35deg, #8b81ff 2.18%, #ce7eff 92.61%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 10px;
  /* top: 2px; */
}
.leverage-slider .rc-slider-dot-active {
  /*  height: 16px;
  width: 16px; */
}
.leverage-slider .rc-slider-handle {
  /* height: 16px;
  width: 16px;
  margin-top: -2px;
  border: 5px solid rgba(155, 110, 211, 1);
  background-color: #fff; */
}
.close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 337px;
  height: 32px;
  border-radius: 32px;
  background: linear-gradient(290.35deg, #8b81ff 2.18%, #ce7eff 92.61%);
  font-family: Lato;
  font-weight: 700;
  font-size: 14px;
  color: rgba(36, 18, 62, 1);
  margin: 0 auto;
}

/* .Dropdown-root {
  display: flex;
  position: relative;
  cursor: pointer;

  div[aria-expanded="true"]:first-child {
    .Dropdown-current {
      color: #7885ff;
    }
  }

  &.disabled {
    .Dropdown-current {
      cursor: default;
    }

    .Dropdown-current-arrow {
      visibility: hidden;
    }
  }
} */

/* .Dropdown-options {
  position: absolute;
  top: 2.8rem;
  right: 0;
  z-index: 1002;
  transform-origin: top right;
  border-radius: 0.4rem;
  overflow-y: auto;
  max-height: 30rem;
  background: #16182e;
  border: 1px solid #32344c;
  text-align: left;
  list-style: none;
  cursor: pointer;
  outline: none;
} */

/* .Dropdown-current {
  cursor: pointer;
  display: flex;
  align-items: center;
  background: none;
  box-shadow: none;
  outline: none;
  border: none;
  box-sizing: border-box;
  color: white;

  &:hover {
    color: #7885ff;
  }
} */

.Dropdown-current-arrow {
  margin-left: 5px;
  margin-bottom: -5px;
}

.Modal {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.Modal-scrollable .Modal-content .Modal-body {
  overscroll-behavior: smooth;
  max-height: calc(80vh - 5.5rem);
  overflow-y: auto;
  padding-right: 5px;
}

.Modal-content {
  z-index: 20;
  /* position: absolute; */
  /* top: 50%;
    left: 50%; */
  padding: 10px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 10px;
  background: linear-gradient(117deg, #230f3c 0%, #261a42 100%);
}

.divider {
  border-bottom: 1px solid #333;
}

.Modal.non-scrollable .Modal-content {
  overflow: visible;
}

.Modal-header-wrapper {
  margin: 1rem;
}

.Modal-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Modal-body {
  max-height: calc(80vh - 8.5rem);
  overflow-y: auto;
  /* for scrollbar to have a space on left and right */
  margin: 1rem 1rem 1rem 1rem;
  padding-right: 0.5rem;
}

.Modal-title {
  text-align: left;
  line-height: 30px;
  font-size: 18px;
  font-weight: 700;
}

.Modal-close-button {
  text-align: right;
}

.Modal-close-icon {
  opacity: 0.6;
  cursor: pointer;
  text-align: right;
  display: inline-block;
}

.Modal-close-icon:hover {
  opacity: 0.9;
}

.trade-share-modal {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 20px;
  overflow: hidden;
}

.share-image {
  width: 100%;
  height: auto;
  max-width: 580px;
  border-radius: 10px;
}

.image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
}

.trade-share-modal-content {
  width: 100%;
  max-width: 650px;
  z-index: 20;
  padding: 2px 40px 42px 30px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(33, 30, 41, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.15);
}

.trade-share-modal-backdrop {
  position: relative;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.trade-share-modal.non-scrollable .trade-share-modal-content {
  overflow: visible;
}

.trade-share-modal-header-wrapper {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-share-modal-body {
  width: 100%;
}

.trade-share-modal-title {
  text-align: left;
  font-family: Lato;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: rgba(234, 231, 244, 1);
}

.trade-share-modal-close-button {
  cursor: pointer;
}

.trade-share-modal-close-button img {
  width: 22px;
}

.trade-share-modal-close-icon {
  opacity: 0.6;
  cursor: pointer;
  text-align: right;
  display: inline-block;
}

.trade-share-modal-close-icon:hover {
  opacity: 0.9;
}

.btns {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btns-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  display: flex;
  justify-content: center;
  width: 33%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  cursor: pointer;
  margin-right: 20px;
}

.btns-item.disable {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -o-filter: grayscale(1);
}

.btns-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btns-item:last-of-type {
  margin-right: 0;
  background: linear-gradient(290.35deg, #48a0f6 2.18%, #74fa9a 92.61%);
}

.btns-item:last-of-type:hover {
  transform: scale(1.025);
  box-shadow: 4px 8px 24px 0px #1406264d, 0px 6px 5px 0px #90ffaf80 inset;
}

.btns-item:last-of-type .btns-item-title {
  color: rgba(33, 30, 41, 1);
}

.btns-item img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

.btns-item-title {
  font-family: Lato;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 480px) {
  .trade-share-modal-content {
    padding: 1px 20px 21px 15px;
  }

  .trade-share-modal-header-wrapper {
    height: 50px;
  }

  .trade-share-modal-title {
    font-size: 12px;
  }

  .trade-share-modal-close-button {
  }

  .trade-share-modal-close-button img {
    width: 16px;
  }

  .btns {
    margin-top: 20px;
  }

  .btns-item {
    height: 26px;
    border-radius: 26px;
    -webkit-border-radius: 26px;
    -moz-border-radius: 26px;
    -ms-border-radius: 26px;
    -o-border-radius: 26px;
    margin-right: 12px;
  }

  .btns-item:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .btns-item:last-of-type {
    margin-right: 0;
  }

  .btns-item img {
    width: 12px;
    height: 12px;
    margin-right: 2px;
  }

  .btns-item-title {
    font-size: 12px;
  }
}

.trade-share-modal {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 20px;
  overflow: hidden;
}

.share-image {
  width: 100%;
  height: auto;
  max-width: 580px;
  border-radius: 10px;
}

.image-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
}

.trade-share-modal-content {
  width: 100%;
  max-width: 650px;
  z-index: 20;
  padding: 2px 40px 42px 30px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(33, 30, 41, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.15);
}

.trade-share-modal-backdrop {
  position: relative;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.trade-share-modal.non-scrollable .trade-share-modal-content {
  overflow: visible;
}

.trade-share-modal-header-wrapper {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-share-modal-body {
  width: 100%;
}

.trade-share-modal-title {
  text-align: left;
  font-family: Lato;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: rgba(234, 231, 244, 1);
}

.trade-share-modal-close-button {
  cursor: pointer;
}

.trade-share-modal-close-button img {
  width: 22px;
}

.trade-share-modal-close-icon {
  opacity: 0.6;
  cursor: pointer;
  text-align: right;
  display: inline-block;
}

.trade-share-modal-close-icon:hover {
  opacity: 0.9;
}

.btns {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btns-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  display: flex;
  justify-content: center;
  width: 33%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  cursor: pointer;
  margin-right: 20px;
}

.btns-item.disable {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -o-filter: grayscale(1);
}

.btns-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btns-item:last-of-type {
  margin-right: 0;
  background: linear-gradient(290.35deg, #48a0f6 2.18%, #74fa9a 92.61%);
}

.btns-item:last-of-type:hover {
  transform: scale(1.025);
  box-shadow: 4px 8px 24px 0px #1406264d, 0px 6px 5px 0px #90ffaf80 inset;
}

.btns-item:last-of-type .btns-item-title {
  color: rgba(33, 30, 41, 1);
}

.btns-item img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

.btns-item-title {
  font-family: Lato;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 480px) {
  .trade-share-modal-content {
    padding: 1px 20px 21px 15px;
  }

  .trade-share-modal-header-wrapper {
    height: 50px;
  }

  .trade-share-modal-title {
    font-size: 12px;
  }

  .trade-share-modal-close-button {
  }

  .trade-share-modal-close-button img {
    width: 16px;
  }

  .btns {
    margin-top: 20px;
  }

  .btns-item {
    height: 26px;
    border-radius: 26px;
    -webkit-border-radius: 26px;
    -moz-border-radius: 26px;
    -ms-border-radius: 26px;
    -o-border-radius: 26px;
    margin-right: 12px;
  }

  .btns-item:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .btns-item:last-of-type {
    margin-right: 0;
  }

  .btns-item img {
    width: 12px;
    height: 12px;
    margin-right: 2px;
  }

  .btns-item-title {
    font-size: 12px;
  }
}

.OrderBookRow_row__67y\+n {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  padding: 2px 16px;
  font-size: 12px;
  font-family: "Lato", sans-serif;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 18px;
  align-items: center;
}

.OrderBookRow_row__67y\+n:hover {
  background-color: rgba(64, 64, 64, 0.5);
}

.OrderBookRow_hovered__nPkko.OrderBookRow_bidRow__3ukPr {
  background-color: rgba(255, 255, 255, 0.05);
}

.OrderBookRow_hovered__nPkko.OrderBookRow_askRow__q0R4N {
  background-color: rgba(255, 255, 255, 0.05);
}

.OrderBookRow_groupHighlight__4muyT.OrderBookRow_bidRow__3ukPr {
  background-color: rgba(255, 255, 255, 0.05);
}

.OrderBookRow_groupHighlight__4muyT.OrderBookRow_askRow__q0R4N {
  background-color: rgba(255, 255, 255, 0.05);
}

.OrderBookRow_bestPrice__quJT- {
  background-color: rgba(251, 191, 36, 0.12);
  border-left: 3px solid #fbbf24;
  font-weight: bold;
}

.OrderBookRow_bestPrice__quJT-.OrderBookRow_bidRow__3ukPr {
  background-color: rgba(22, 163, 74, 0.2);
  border-left: 3px solid #16a34a;
}

.OrderBookRow_bestPrice__quJT-.OrderBookRow_askRow__q0R4N {
  background-color: rgba(220, 38, 38, 0.2);
  border-left: 3px solid #dc2626;
}

.OrderBookRow_volumeBar__qtY0w {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: all 0.3s ease;
}

.OrderBookRow_bidVolumeBar__2XhsW {
  background-color: rgba(22, 163, 74, 0.08);
}

.OrderBookRow_askVolumeBar__1M0Cu {
  background-color: rgba(220, 38, 38, 0.08);
}

.OrderBookRow_price__UPl6C {
  position: relative;
  z-index: 10;
}

.OrderBookRow_bidPrice__JZS2j {
  color: #16a34a;
  font-weight: 500;
}

.OrderBookRow_askPrice__rREsf {
  color: #dc2626;
  font-weight: 500;
}

.OrderBookRow_amount__Ybn3z {
  text-align: right;
  color: #d1d5db;
  position: relative;
  z-index: 10;
}

.OrderBookRow_total__\+OsiH {
  text-align: right;
  color: #a3a3a3;
  position: relative;
  z-index: 10;
}

.LoadingSpinner_container__F0FLi {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2d2d2d;
  border-radius: 8px;
}

.LoadingSpinner_content__DIsYF {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  gap: 16px;
}

.LoadingSpinner_spinner__\+wPdQ {
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-top: 2px solid #fbbf24;
  border-radius: 50%;
  animation: LoadingSpinner_spin__XnuOF 1s linear infinite;
}

@keyframes LoadingSpinner_spin__XnuOF {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.LoadingSpinner_text__FCbNv {
  color: #a3a3a3;
}

.OrderBook_container__XmvJk {
  border-radius: 8px;
  overflow: hidden;
}

.OrderBook_errorContainer__V1RI\+ {
  background-color: rgba(220, 38, 38, 0.2);
  border: 1px solid #dc2626;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.OrderBook_errorText__2BQ4T {
  color: #fca5a5;
  margin-bottom: 12px;
}

.OrderBook_retryButton__ZfLqY {
  background-color: #dc2626;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.OrderBook_retryButton__ZfLqY:hover {
  background-color: #b91c1c;
}

.OrderBook_header__kBUPw {
  background-color: #292b2f;
  background-color: var(--Black-2, #292b2f);
  padding: 8px 16px;
  border-bottom: 1px solid #3e434b;
}

.OrderBook_headerContent__hlfOn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.OrderBook_title__7tZfb {
  font-size: 18px;
  font-weight: 600;
  color: #eaecef;
}

.OrderBook_statusContainer__XDYE- {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.OrderBook_status__FpV-d {
  font-weight: 500;
}

.OrderBook_connected__9ljiH {
  color: #22c55e;
}

.OrderBook_disconnected__q9\+J3 {
  color: #ef4444;
}

.OrderBook_columnHeaders__xsxxk {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 2px;
  gap: 2px;
  padding: 8px 16px;
  background-color: #2b2f36;
  font-size: 12px;
  color: #848e9c;
  font-weight: 500;
}

.OrderBook_priceHeader__ySkAo {
  text-align: left;
}

.OrderBook_amountHeader__\+ckFr {
  text-align: right;
}

.OrderBook_totalHeader__dGRUu {
  text-align: right;
}

.OrderBook_orderBookContent__8JNiL {
  overflow-y: visible;
}

/* Only show scroll when levels = 25 */
.OrderBook_orderBookContent__8JNiL.OrderBook_withScroll__VLr9X {
  max-height: 600px;
  overflow-y: auto;
}

.OrderBook_currentPriceSection__IYwAA {
  padding: 8px 16px;
  background-color: #2b2f36;
  border-top: 1px solid #3e434b;
  border-bottom: 1px solid #3e434b;
}

.OrderBook_currentPriceContainer__FnXRO {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.OrderBook_currentPrice__Z2d-K {
  font-size: 16px;
  font-weight: bold;
}

.OrderBook_priceUp__x2Q7o {
  color: #0ecb81;
}

.OrderBook_priceDown__EnLye {
  color: #f6465d;
}

.OrderBook_priceNeutral__IFVY4 {
  color: #eaecef;
}

.OrderBook_priceLoading__rqh3H {
  color: #848e9c;
  animation: OrderBook_pulse__27Fiq 1.5s ease-in-out infinite;
}

@keyframes OrderBook_pulse__27Fiq {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.OrderBook_currentPriceUSD__hxN3R {
  margin-left: 10px;

  font-size: 12px;
  color: #848e9c;
}

.OrderBook_ratioSection__\+7O1e {
  padding: 12px 16px;
  border-top: 1px solid #3e434b;
}

.OrderBook_ratioBar__ow1y7 {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-color: #3e434b;
  margin-bottom: 8px;
}

.OrderBook_sellRatioFill__duPAD {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #f6465d;
  transition: width 0.3s ease;
}

.OrderBook_buyRatioFill__y\+6Xh {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background-color: #0ecb81;
  transition: width 0.3s ease;
}

.OrderBook_ratioLabels__PMJFf {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.OrderBook_sellRatioLabel__\+oBBx {
  color: #f6465d;
  font-weight: 500;
}

.OrderBook_buyRatioLabel__g\+7la {
  color: #0ecb81;
  font-weight: 500;
}

.OrderBook_debugInfo__w3lem {
  padding: 8px 16px;
  background-color: #1a1a1a;
  color: #666;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 768px) {
  .OrderBook_headerContent__hlfOn {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .OrderBook_statusContainer__XDYE- {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .OrderBook_currentPriceContainer__FnXRO {
    justify-content: center;
  }
}

.OrderBookControls_container__WIyPq {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.OrderBookControls_control__vlnGF {
  display: flex;
  align-items: center;
  gap: 8px;
}

.OrderBookControls_label__reZRW {
  color: #a3a3a3;
  white-space: nowrap;
}

.OrderBookControls_select__PqiLi {
  background-color: #404040;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #525252;
  font-size: 11px;
}

.OrderBookControls_select__PqiLi:focus {
  outline: none;
  border-color: #fbbf24;
}

.OrderBookControls_checkboxControl__sjfnA {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.OrderBookControls_checkbox__4CiWX {
  width: 16px;
  height: 16px;
  accent-color: #fbbf24;
}

.OrderBookControls_checkboxLabel__XIF0c {
  color: #a3a3a3;
  white-space: nowrap;
}

.OrderBookControls_menuWrapper__sRYDO {
  position: relative;
}

.OrderBookControls_menuTrigger__h4FxN {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: #2e2e2e;
  border: 1px solid #3a3a3a;
  color: #9ca3af;
}

.OrderBookControls_menuTrigger__h4FxN:hover {
  background-color: #3a3a3a;
}

.OrderBookControls_menuDots__\+xI6Y {
  display: inline-flex;
  gap: 3px;
}

.OrderBookControls_menuDot__EnnMB {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #9ca3af;
}

.OrderBookControls_menu__ukkhs {
  position: absolute;
  top: 36px;
  right: 0;
  min-width: 200px;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

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

@media (max-width: 768px) {
  .OrderBookControls_container__WIyPq {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .OrderBookControls_control__vlnGF {
    width: auto;
    justify-content: space-between;
  }

  .OrderBookControls_checkboxControl__sjfnA {
    width: 100%;
    justify-content: flex-start;
  }
}

.gradient-box {
  position: relative;
  width: 100%;
  min-height: 750px;
  overflow: hidden;
  border-radius: 16px;
}

.gradient-border {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(34, 35, 43, 0.47),
    rgba(127, 99, 167, 0.53)
  );
  background-size: 400% 400%;
  z-index: 1;
  animation: borderAnimation 10s ease infinite;
}

.box-content {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background-color: rgba(31, 32, 38, 0.9);

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;

  border-radius: 14px;
}

.box-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(177deg, #8c77eb -12.86%, #1f2027 117.88%);
  opacity: 0.23;
  filter: blur(100px);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 14px;
}

.box-table {
  width: 100%;
  height: 100%;
  padding: 12px;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Table Container */
.user-table-container {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Table Styling */
.user-table {
  width: 100%;
  border-collapse: collapse;
  overflow: auto;
  table-layout: auto;
  font-size: 18px;
}

/* Table Head */
.user-table thead {
  color: rgb(246, 254, 253);
}

.user-table th {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgb(62, 62, 62);
  line-height: 40px;
  cursor: pointer;
  background-color: transparent;
  margin-bottom: 5px;
}

.user-table th:hover {
  color: #9346c4;
}

/* Sortable Header Styling */
.sortable-header {
  position: relative;
  -webkit-user-select: none;
          user-select: none;
}

.sort-indicator {
  margin-left: 5px;
  font-size: 0.7em;
}

.sorted-asc::after,
.sorted-desc::after {
  content: "";
  display: inline-block;
  margin-left: 5px;
}

/* Table Body */
.user-table tbody tr {
  transition: background-color 0.3s ease;
}

.user-table tbody tr:hover {
  cursor: pointer;
  background: rgb(76, 76, 76, 0.5);
}

.user-table td {
  padding: 12px 15px;
  font-size: 14px;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

