.loginWrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: #f1f3f5;
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.09), transparent 34%), #0b0e11;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.loginWrap .loginLanguageSwitch {
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 2;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.loginWrap .loginLanguageSwitch button {
  min-width: 42px;
  height: 30px;
  padding: 0 9px;
  color: #92969f;
  background: #14171c;
  border: 1px solid #30333a;
  cursor: pointer;
}
.loginWrap .loginLanguageSwitch button:first-child {
  border-radius: 4px 0 0 4px;
}
.loginWrap .loginLanguageSwitch button:last-child {
  border-left: 0;
  border-radius: 0 4px 4px 0;
}
.loginWrap .loginLanguageSwitch button:hover,
.loginWrap .loginLanguageSwitch button.active {
  color: #3b82f6;
  background: #20232a;
}
.loginWrap .login-div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  min-height: 420px;
  padding: 44px 42px 36px;
  background: #111318;
  border: 1px solid #292c33;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.loginWrap .login-header {
  margin-bottom: 38px;
}
.loginWrap .loginTenantContext {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 9px 12px;
  color: #92969f;
  font-size: 12px;
  background: #101820;
  border: 1px solid #28556a;
  border-radius: 4px;
}
.loginWrap .loginTenantContext strong {
  color: #3b82f6;
  word-break: break-all;
}
.loginWrap .loginTenantContext.error {
  background: #2b1519;
  border-color: #753e45;
}
.loginWrap .loginTenantContext.error strong {
  color: #ffb5bc;
}
.loginWrap .login-header-title {
  display: block;
  color: #f4f5f7;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.4px;
  text-align: center;
}
.loginWrap .login-header-title::before {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  color: #0b0e11;
  font-size: 17px;
  font-weight: 800;
  vertical-align: 3px;
  background: #3b82f6;
  border-radius: 7px;
  content: 'D';
}
.loginWrap .login-body .div1,
.loginWrap .login-body .div2 {
  margin-bottom: 22px;
}
.loginWrap .login-body .div3 {
  min-height: 26px;
  margin: 4px 0 24px;
}
.loginWrap .login-body .ant-input,
.loginWrap .login-body .ant-input-affix-wrapper {
  color: #f1f3f5;
  background: #181a20;
  border-color: #30333a;
  border-radius: 4px;
}
.loginWrap .login-body .ant-input-affix-wrapper:hover,
.loginWrap .login-body .ant-input-affix-wrapper-focused,
.loginWrap .login-body .ant-input:hover,
.loginWrap .login-body .ant-input:focus {
  border-color: #3b82f6;
  box-shadow: none;
}
.loginWrap .login-body .ant-input-password-icon,
.loginWrap .login-body .ant-checkbox-wrapper {
  color: #92969f;
}
.loginWrap .login-body .ant-checkbox-checked .ant-checkbox-inner {
  background: #3b82f6;
  border-color: #3b82f6;
}
.loginWrap .login-body .ant-btn-primary {
  height: 42px;
  color: #111318;
  font-weight: 650;
  background: #3b82f6;
  border-color: #3b82f6;
  border-radius: 4px;
  box-shadow: none;
}
.loginWrap .login-body .ant-btn-primary:hover,
.loginWrap .login-body .ant-btn-primary:focus {
  color: #111318 !important;
  background: #60a5fa;
  border-color: #60a5fa;
}
.loginWrap .login-label {
  display: block;
  margin-bottom: 8px;
  color: #b5bac4;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}
.loginWrap .version-info {
  color: #737985;
  font-size: 13px;
  text-align: center;
}
.loginTenantLinks {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
}
.loginTenantLinks a {
  color: #3b82f6;
}
@media (max-width: 520px) {
  .loginWrap .loginLanguageSwitch {
    top: 14px;
    right: 14px;
  }
  .loginWrap .login-div {
    padding: 40px 24px 30px;
  }
}

.chartWrap {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.chartWrap .chartLayout {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.chartWrap .TVChartContainer {
  position: relative;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #0b1420;
}
.chartWrap .head {
  position: absolute;
  top: 6px;
  right: 92px;
  z-index: 12;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: auto;
  height: 22px;
  padding: 0 !important;
  color: var(--T1);
  background: transparent;
  border: 0;
  pointer-events: none;
}
.chartWrap .head > span:first-child {
  display: none;
}
.chartWrap .tvChart {
  background: #0b1420;
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .chartWrap.mobileChartWrap {
    background: #0b1420;
  }
  .chartWrap.mobileChartWrap .mobileChartIntervals {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(0, 1fr))[6];
        grid-template-columns: repeat(6, minmax(0, 1fr));
    -webkit-flex: 0 0 34px;
        -ms-flex: 0 0 34px;
            flex: 0 0 34px;
    height: 34px;
    border-bottom: 1px solid #1d2a38;
    background: #0b1420;
  }
  .chartWrap.mobileChartWrap .mobileChartIntervals button {
    position: relative;
    min-width: 0;
    padding: 0;
    color: #7f8da0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
  }
  .chartWrap.mobileChartWrap .mobileChartIntervals button.active {
    color: #f1f5f9;
    font-weight: 650;
  }
  .chartWrap.mobileChartWrap .mobileChartIntervals button.active::after {
    position: absolute;
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
    content: '';
    background: var(--PRIMARY);
    border-radius: 2px 2px 0 0;
  }
  .chartWrap.mobileChartWrap .TVChartContainer {
    border: 0;
  }
}
@media (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .chartWrap.mobileChartWrap .mobileChartIntervals {
    -webkit-flex-basis: 28px;
        -ms-flex-preferred-size: 28px;
            flex-basis: 28px;
    height: 28px;
  }
  .chartWrap.mobileChartWrap .mobileChartIntervals button {
    font-size: 10px;
  }
}

:root {
  --B0: #1b2533;
  --B1: #0b1420;
  --B1H: #151e2b;
  --B2: #141b26;
  --B3: #1b2532;
  --B3H: #263244;
  --B4: #515762;
  --B5: #2b3747;
  --B6: #060c13;
  --B7: #172131;
  --T1: #f1f3f5;
  --T2: #b5bac4;
  --T3: #848a94;
  --T4: #737985;
  --T5: #5b616b;
  --T6: #181a20;
  --BD: #1f2c3a;
  --PRIMARY: #3b82f6;
  --buy: #20c77a;
  --sell: #ff4d57;
  --warning: #3b82f6;
  --danger: #dc4a45;
  --ASK1: #392029;
  --ASK2: #392029;
  --BID1: #0f3034;
  --BID2: #0f3034;
  --UPF: #0f3034;
  --DWF: #0f3034;
  --W1: #E4E7EA;
  --RTF: rgba(255, 255, 255, 0.05);
  --fw1: 400;
  --fw2: 500;
  --fw3: 600;
}
.f10 {
  font-size: 12px;
  -webkit-transform: scale(0.8333);
          transform: scale(0.8333);
}
.T1 {
  color: var(--T1);
}
.long {
  color: var(--sell);
}
.short {
  color: var(--buy);
}
.warn {
  color: var(--warning);
}
.head {
  line-height: 44px;
  color: white;
}
.f12 {
  font-size: 12px;
}
.f20 {
  font-size: 20px;
}
.f16 {
  font-size: 16px;
}
.lh20 {
  line-height: 20px;
}
.df {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.T1 {
  color: var(--T1);
}
.T3 {
  color: var(--T3);
}
.f1 {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.f2 {
  -webkit-flex: 2;
      -ms-flex: 2;
          flex: 2;
  -webkit-flex-grow: 2;
      -ms-flex-positive: 2;
          flex-grow: 2;
  -webkit-flex-shrink: 1;
      -ms-flex-negative: 1;
          flex-shrink: 1;
  -webkit-flex-basis: 0%;
      -ms-flex-preferred-size: 0%;
          flex-basis: 0%;
}
.f3 {
  -webkit-flex: 3;
      -ms-flex: 3;
          flex: 3;
}
.f14 {
  font-size: 14px;
}
.fw2 {
  font-weight: var(--fw2);
}
.tc {
  text-align: center;
}
.ph16 {
  padding-left: 16px;
  padding-right: 16px;
}
.tr {
  text-align: right;
}
.fd {
  -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}
.B1 {
  background: var(--B1);
}
.fdc {
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.ovh {
  overflow: hidden;
}
.wp100 {
  width: 100%;
}
.pr {
  position: relative;
}
.pr16 {
  padding-right: 16px;
}
.cp {
  cursor: pointer;
}
.usn {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.z-index-1 {
  box-sizing: border-box;
  z-index: 1;
}
.aic {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.lh18 {
  line-height: 18px;
}
.lh32 {
  line-height: 32px;
}
.lh38 {
  line-height: 38px;
}
.lh40 {
  line-height: 40px;
}
.mr4 {
  margin-right: 4px;
}
.mr8 {
  margin-right: 8px;
}
.ml2 {
  margin-left: 2px;
}
.ml4 {
  margin-left: 4px;
}
.ml6 {
  margin-left: 6px;
}
.ml8 {
  margin-left: 8px;
}
.ml12 {
  margin-left: 12px;
}
.ml32 {
  margin-left: 32px;
}
.ml16 {
  margin-left: 16px;
}
.mr16 {
  margin-right: 16px;
}
.mb12 {
  margin-bottom: 12px;
}
.mb16 {
  margin-bottom: 16px;
}
.mt4 {
  margin-top: 4px;
}
.mt8 {
  margin-top: 4px;
}
.mt12 {
  margin-top: 12px;
}
.mt16 {
  margin-top: 16px;
}
.br8 {
  border-radius: 8px;
}
.jcsb {
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.usn {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.asc {
  -webkit-align-self: center;
      -ms-flex-item-align: center;
              -ms-grid-row-align: center;
          align-self: center;
}
.wsn {
  white-space: nowrap;
}
.lh36 {
  line-height: 36px;
}
.vis {
  visibility: visible;
}
.hid {
  display: none;
}
.blc {
  display: block;
}
button:active {
  color: #93bdff !important;
}
button:hover {
  color: var(--PRIMARY) !important;
}
/* scroll bar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  position: fixed;
  background-color: #14161b;
  border-radius: 8px;
}
::-webkit-scrollbar-corner {
  background-color: #14161b;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #343841;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #474c57;
}
::-webkit-scrollbar-thumb:active {
  background-color: #BEBEBE;
}

.tradeWrap {
  width: 100%;
  min-height: 100%;
  color: #f5f7fa;
  background: var(--B6);
  overflow: auto;
}
.tradeWrap .symbolMarket {
  position: relative;
  width: 100%;
  min-height: 70px;
  background: linear-gradient(180deg, #08111c 0%, #09131d 100%);
  border-bottom: 1px solid var(--BD);
}
.tradeWrap .layoutResetButton {
  position: absolute;
  top: 20px;
  right: 12px;
  z-index: 20;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #92969f;
  font-size: 16px;
  background: #181a20;
  border: 1px solid #30323a;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.12s ease, color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.tradeWrap .symbolMarket:hover .layoutResetButton,
.tradeWrap .layoutResetButton:focus-visible {
  opacity: 1;
}
.tradeWrap .layoutResetButton:hover {
  color: var(--PRIMARY);
  background: #172131;
  border-color: rgba(59, 130, 246, 0.55);
}
.tradeWrap .tradeConnectionFooter {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 280;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 24px;
  padding: 0 16px;
  box-sizing: border-box;
  color: #7f8a98;
  background: #0b111a;
  border-top: 1px solid #1b2634;
  font-size: 10px;
  line-height: 24px;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tradeWrap .tradeConnectionLeft,
.tradeWrap .tradeConnectionMeta {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.tradeWrap .tradeConnectionLeft {
  gap: 7px;
}
.tradeWrap .tradeConnectionMeta {
  gap: 12px;
  color: #6f7a88;
}
.tradeWrap .tradeConnectionDot {
  width: 7px;
  height: 7px;
  -webkit-flex: 0 0 7px;
      -ms-flex: 0 0 7px;
          flex: 0 0 7px;
  background: var(--PRIMARY);
  border-radius: 50%;
}
.tradeWrap .tradeConnectionFooter.connected .tradeConnectionDot {
  background: #27d17f;
  box-shadow: 0 0 0 2px rgba(39, 209, 127, 0.08);
}
.tradeWrap .tradeConnectionFooter.reconnecting .tradeConnectionDot,
.tradeWrap .tradeConnectionFooter.connecting .tradeConnectionDot {
  background: #3b82f6;
}
.tradeWrap .tradeConnectionFooter.disconnected .tradeConnectionDot,
.tradeWrap .tradeConnectionFooter.closed .tradeConnectionDot {
  background: #f04451;
}
.tradeWrap .mainBody {
  width: 100%;
  min-height: calc(100vh - 146px);
  padding-bottom: 24px;
  box-sizing: border-box;
  background: var(--B6);
}
.tradeWrap .tradeGrid {
  min-height: calc(100vh - 146px);
}
.tradeWrap .tradePanel {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--B1);
  border: 1px solid var(--BD);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}
.tradeWrap .tradePanel:hover {
  border-color: #34445a;
}
.tradeWrap .tradePanelBody {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.tradeWrap .guestOrdersSplit {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 42% 58%;
      grid-template-rows: 42% 58%;
  height: 100%;
  min-height: 0;
}
.tradeWrap .guestOrdersSplit > section {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-height: 0;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  background: var(--B1);
}
.tradeWrap .guestOrdersSplit > section:first-child {
  border-bottom: 1px solid var(--BD);
}
.tradeWrap .guestOrderTitle {
  -webkit-flex: 0 0 34px;
      -ms-flex: 0 0 34px;
          flex: 0 0 34px;
  height: 34px;
  padding: 0 12px;
  color: var(--T1);
  background: #101824;
  border-bottom: 1px solid var(--BD);
  font-size: 12px;
  font-weight: 600;
  line-height: 34px;
}
.tradeWrap .guestOrderBody {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 0;
  overflow: hidden;
  color: #7f8b9b;
}
.tradeWrap .guestOrderBody > .loginRequiredInline {
  margin: 0;
  color: #7f8b9b;
  font-size: 12px;
}
.tradeWrap .guestOrderBody > .loginRequiredInline button {
  height: auto;
  padding: 0;
  color: var(--PRIMARY);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.tradeWrap .guestOrderBody > .loginRequiredInline button:hover {
  color: #93bdff;
}
.tradeWrap .guestOrderBody .loginRequiredPanel {
  height: 100%;
}
.tradeWrap .tradePanelBody .ant-tabs {
  color: var(--T1);
}
.tradeWrap .tradePanelBody .ant-tabs-nav {
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  background: var(--B1);
  border-bottom: 1px solid #292c33;
}
.tradeWrap .tradePanelBody .ant-tabs-tab {
  padding: 12px 0 10px;
  color: var(--T3);
  font-size: 13px;
}
.tradeWrap .tradePanelBody .ant-tabs-tab:hover,
.tradeWrap .tradePanelBody .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: var(--T1);
}
.tradeWrap .tradePanelBody .ant-tabs-ink-bar {
  background: var(--PRIMARY);
}
.tradeWrap .tradePanelBody .ant-table,
.tradeWrap .tradePanelBody .ant-table-container,
.tradeWrap .tradePanelBody .ant-table-thead > tr > th,
.tradeWrap .tradePanelBody .ant-table-tbody > tr > td {
  color: var(--T2);
  background: var(--B1);
  border-color: #24272e;
}
.tradeWrap .tradePanelBody .ant-table-thead > tr > th {
  color: var(--T3);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tradeWrap .tradePanelBody .ant-table-tbody > tr:hover > td {
  background: #181b21;
}
.tradeWrap .tradePanelBody .ant-empty-description {
  color: var(--T3);
}
.tradeWrap .tradePanelBody input,
.tradeWrap .tradePanelBody select,
.tradeWrap .tradePanelBody button {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.tradeWrap .panelDragZone {
  position: absolute;
  top: 0;
  right: 48px;
  left: 48px;
  z-index: 100;
  height: 6px;
  cursor: move;
}
.tradeWrap .panelDragZone::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 32px;
  height: 6px;
  color: var(--PRIMARY);
  font-size: 10px;
  line-height: 5px;
  text-align: center;
  content: '\2022\2022\2022';
  background: rgba(24, 26, 32, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  transition: opacity 0.12s ease;
  pointer-events: none;
}
.tradeWrap .tradePanel:hover .panelDragZone:hover::before {
  opacity: 1;
}
.tradeWrap .panelDragZone:active {
  cursor: grabbing;
}
.tradeWrap.layoutDragging iframe {
  pointer-events: none !important;
}
.tradeWrap .react-grid-item.react-grid-placeholder {
  background: rgba(59, 130, 246, 0.16);
  border: 1px dashed #3b82f6;
  border-radius: 3px;
  opacity: 1;
}
.tradeWrap .react-grid-item > .react-resizable-handle::after {
  right: 5px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border-right-color: #3b82f6;
  border-bottom-color: #3b82f6;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.tradeWrap .react-grid-item:hover > .react-resizable-handle::after {
  opacity: 1;
}
.tradeWrap .tradePanelBody > div,
.tradeWrap .tradePanelBody > div > div {
  max-width: 100%;
}
.tradeWrap .tradePanelBody .chartWrap,
.tradeWrap .tradePanelBody .orderBookWrap,
.tradeWrap .tradePanelBody .placeOrderWrap,
.tradeWrap .tradePanelBody .accountInfoWrap,
.tradeWrap .tradePanelBody .orderWrap {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
.tradeWrap .loginRequiredPanel {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100%;
  color: #f4f5f7;
  background: var(--B1);
}
.tradeWrap .loginRequiredTitle {
  -webkit-flex: 0 0 45px;
      -ms-flex: 0 0 45px;
          flex: 0 0 45px;
  height: 45px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 45px;
  border-bottom: 1px solid #292c33;
}
.tradeWrap .loginRequiredBody {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 0;
  padding: 20px;
  color: #92969f;
  text-align: center;
}
.tradeWrap .loginRequiredBody .loginRequiredInline {
  margin: 0;
  color: #92969f;
  font-size: 13px;
}
.tradeWrap .loginRequiredBody button {
  height: auto;
  padding: 0;
  color: var(--PRIMARY);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.tradeWrap .loginRequiredBody button:hover {
  color: #93bdff;
}
.tradeWrap .tradePanelBody .chartWrap .TVChartContainer {
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
.tradeWrap .tradePanelBody .chartWrap .TVChartContainer iframe {
  width: 100% !important;
  height: 100% !important;
}
.tradeWrap .tradePanelBody .placeOrderWrap .marketDiv,
.tradeWrap .tradePanelBody .placeOrderWrap .marketInput {
  width: 100%;
}
.tradeWrap .tradePanelBody .placeOrderWrap .orderBtn {
  width: calc(100% - 4px);
}
.tradeWrap .drawDiv {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 65px;
}
.tradeWrap .drawDiv:hover {
  background: #24262d;
}
.tradeWrap .drawBPDiv {
  margin-right: 14px;
  text-align: right;
}
.tradeWrap .drawImg {
  width: 25px;
  height: 25px;
}
.tradeWrap .marketSearch {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0 0 12px;
  background: var(--B1);
}
.tradeWrap .marketSearch .ant-input-affix-wrapper {
  color: var(--T1);
  background: #181a20;
  border-color: #30323a;
  border-radius: 4px;
}
.tradeWrap .marketSearch .ant-input {
  color: var(--T1);
  background: transparent;
}
.tradeWrap .marketSearch .ant-input::-webkit-input-placeholder {
  color: var(--T3);
}
.tradeWrap .marketSearch .ant-input:-ms-input-placeholder {
  color: var(--T3);
}
.tradeWrap .marketSearch .ant-input::placeholder {
  color: var(--T3);
}
.tradeWrap .marketEmpty {
  padding: 48px 12px;
  color: var(--T3);
  font-size: 13px;
  text-align: center;
}
.ant-drawer-content,
.ant-drawer-header,
.ant-drawer-body {
  color: var(--T1);
  background: var(--B1);
  border-color: #292c33;
}
.ant-drawer-title {
  color: var(--T1);
}
@media (max-width: 1180px) {
  .tradeWrap .symbolMarketWrap > div:nth-last-child(-n+2) {
    display: none;
  }
}
@media (max-width: 820px) {
  .tradeWrap .layoutResetButton {
    top: 72px;
  }
  .tradeWrap .symbolMarket {
    min-height: 112px;
  }
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .tradeWrap {
    height: calc(100vh - 44px);
    min-height: 0;
    overflow: hidden;
    background: #07111b;
  }
  .tradeWrap .symbolMarket {
    min-height: 72px;
    height: 72px;
    border-bottom: 1px solid #172434;
  }
  .tradeWrap .layoutResetButton,
  .tradeWrap .mainBody,
  .tradeWrap .tradeConnectionFooter {
    display: none !important;
  }
  .tradeWrap .mobileWorkspaceBar {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 38px;
    padding: 0 10px;
    background: #0a1420;
    border-bottom: 1px solid #1b2938;
  }
  .tradeWrap .mobileWorkspaceTabs {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    height: 100%;
    gap: 18px;
  }
  .tradeWrap .mobileWorkspaceTabs button,
  .tradeWrap .mobileAccountTrigger {
    position: relative;
    padding: 0;
    color: #7f8da0;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
  }
  .tradeWrap .mobileWorkspaceTabs button.active {
    color: #f4f7fb;
  }
  .tradeWrap .mobileWorkspaceTabs button.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: '';
    background: var(--PRIMARY);
    border-radius: 2px 2px 0 0;
  }
  .tradeWrap .mobileAccountTrigger {
    color: #9eb2ca;
    font-size: 11px;
  }
  .tradeWrap .mobileTradeWorkspace {
    height: calc(100vh - 154px);
    min-height: 0;
    overflow: hidden;
    background: #07111b;
  }
  .tradeWrap .mobileChartWorkspace,
  .tradeWrap .mobileOrderWorkspace {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .tradeWrap .mobileChartStage {
    -webkit-flex: 1 1 52%;
        -ms-flex: 1 1 52%;
            flex: 1 1 52%;
    min-height: 300px;
    overflow: hidden;
    background: #0b1420;
    border-bottom: 1px solid #1a2836;
  }
  .tradeWrap .mobileLowerSection {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex: 1 1 48%;
        -ms-flex: 1 1 48%;
            flex: 1 1 48%;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    min-height: 210px;
    overflow: hidden;
    background: #0a131e;
  }
  .tradeWrap .mobileLowerTabs {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex: 0 0 36px;
        -ms-flex: 0 0 36px;
            flex: 0 0 36px;
    -webkit-align-items: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 18px;
    height: 36px;
    padding: 0 12px;
    border-bottom: 1px solid #1c2a39;
  }
  .tradeWrap .mobileLowerTabs button {
    position: relative;
    padding: 0;
    color: #768599;
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 600;
  }
  .tradeWrap .mobileLowerTabs button.active {
    color: #f0f4f8;
  }
  .tradeWrap .mobileLowerTabs button.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: '';
    background: var(--PRIMARY);
  }
  .tradeWrap .mobileLowerContent {
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .tradeWrap .mobileOrderSplit {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 55%) minmax(0, 45%);
        grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    -webkit-flex: 1 1 62%;
        -ms-flex: 1 1 62%;
            flex: 1 1 62%;
    min-height: 390px;
    overflow: hidden;
    border-bottom: 1px solid #1b2938;
  }
  .tradeWrap .mobileOrderEntry,
  .tradeWrap .mobileOrderBook {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #0a131e;
  }
  .tradeWrap .mobileOrderEntry {
    border-right: 1px solid #1b2938;
  }
  .tradeWrap .mobileOrderEntry > div,
  .tradeWrap .mobileOrderBook > div {
    width: 100%;
    height: 100%;
  }
  .tradeWrap .mobileOrderWorkspace .mobileLowerSection {
    -webkit-flex: 1 1 38%;
        -ms-flex: 1 1 38%;
            flex: 1 1 38%;
    min-height: 180px;
  }
  .tradeWrap .mobileTradeBar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 300;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: calc(54px + env(safe-area-inset-bottom));
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    background: rgba(7, 17, 27, 0.98);
    border-top: 1px solid #263647;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.32);
  }
  .tradeWrap .mobileTradeBar button {
    min-height: 40px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: 0;
    border-radius: 5px;
  }
  .tradeWrap .mobileTradeBar .buy {
    background: var(--buy);
  }
  .tradeWrap .mobileTradeBar .sell {
    background: var(--sell);
  }
  .tradeWrap .mobileChartWorkspace {
    box-sizing: border-box;
    padding-bottom: 54px;
  }
  .tradeWrap .mobileAccountDrawer .ant-drawer-content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 46vh !important;
  }
  .tradeWrap .mobileAccountDrawer .ant-drawer-content {
    position: relative;
    overflow: hidden;
    background: #0a131e;
    border-radius: 14px 14px 0 0;
    border-top: 1px solid #2a3b4e;
  }
  .tradeWrap .mobileAccountDrawer .ant-drawer-content::before {
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 5;
    width: 34px;
    height: 3px;
    content: '';
    background: #425268;
    border-radius: 999px;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .tradeWrap .mobileAccountDrawer .ant-drawer-body {
    padding: 0;
    overflow: hidden;
    background: #0a131e;
  }
  .tradeWrap .mobileAccountDrawer .accountInfoWrap {
    height: 100%;
  }
  .tradeWrap .loginRequiredPanel {
    min-height: 150px;
  }
  .ant-drawer-content-wrapper {
    max-width: 100vw;
  }
}
/* Order entry keeps its Buy/Sell footer visible and does not show an inner scrollbar. */
.tradeWrap [data-panel-key='place-order'] .tradePanelBody {
  overflow: hidden;
}
@media (max-width: 479px) and (max-height: 820px) {
  .tradeWrap .mobileChartStage {
    -webkit-flex: 1 1 47%;
        -ms-flex: 1 1 47%;
            flex: 1 1 47%;
    min-height: 270px;
  }
  .tradeWrap .mobileLowerSection {
    -webkit-flex: 1 1 53%;
        -ms-flex: 1 1 53%;
            flex: 1 1 53%;
    min-height: 220px;
  }
}
@media (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .tradeWrap {
    height: calc(100vh - 40px);
  }
  .tradeWrap .symbolMarket {
    min-height: 50px;
    height: 50px;
  }
  .tradeWrap .mobileWorkspaceBar {
    height: 32px;
  }
  .tradeWrap .mobileTradeWorkspace {
    height: calc(100vh - 122px);
  }
  .tradeWrap .mobileChartWorkspace {
    padding-bottom: 44px;
  }
  .tradeWrap .mobileChartWorkspace .mobileLowerSection,
  .tradeWrap .mobileOrderWorkspace .mobileLowerSection {
    display: none;
  }
  .tradeWrap .mobileChartStage {
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 0;
  }
  .tradeWrap .mobileOrderSplit {
    -ms-grid-columns: minmax(0, 52%) minmax(0, 48%);
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 0;
  }
  .tradeWrap .mobileTradeBar {
    height: calc(44px + env(safe-area-inset-bottom));
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
  }
  .tradeWrap .mobileTradeBar button {
    min-height: 34px;
    font-size: 12px;
  }
  .tradeWrap .mobileAccountDrawer .ant-drawer-content-wrapper {
    max-height: 82vh !important;
  }
}

.ant-drawer-header {
  background: #0D151C !important;
  border-bottom: 1px solid #2B313A !important;
}
.ant-drawer-title {
  color: var(--T1) !important;
}
.ant-drawer-content {
  background: #0D151C !important;
  color: var(--T2);
}
.ant-drawer-body {
  padding: 0px !important;
}
.ant-drawer-left {
  left: 0;
  margin-top: 56px;
}

.orderWrap {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  background: var(--B1);
}
.desktopPositionsPane {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 0 0 39%;
      -ms-flex: 0 0 39%;
          flex: 0 0 39%;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--BD);
}
.desktopOrdersPane {
  -webkit-flex: 1 1 61%;
      -ms-flex: 1 1 61%;
          flex: 1 1 61%;
  min-height: 0;
  overflow: hidden;
}
.orderSectionTitle {
  -webkit-flex: 0 0 34px;
      -ms-flex: 0 0 34px;
          flex: 0 0 34px;
  height: 34px;
  padding: 0 12px;
  color: var(--T1);
  background: #101824;
  border-bottom: 1px solid var(--BD);
  font-size: 12px;
  font-weight: 600;
  line-height: 34px;
}
.orderSectionBody {
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.desktopOrdersPane > .ant-tabs {
  height: 100%;
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-nav {
  min-height: 34px !important;
  height: 34px;
  margin: 0 !important;
  padding: 0 12px !important;
  border-bottom: 1px solid var(--BD);
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-nav .ant-tabs-tab {
  padding: 7px 0 6px !important;
  font-size: 12px;
  line-height: 20px;
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-bar {
  height: 34px;
  margin: 0;
  border-bottom: 1px solid var(--BD);
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-bar .ant-tabs-nav-container {
  height: 34px;
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-bar .ant-tabs-tab {
  margin-right: 4px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 20px;
}
.desktopOrdersPane > .ant-tabs > .ant-tabs-content-holder,
.desktopOrdersPane > .ant-tabs > .ant-tabs-content-holder > .ant-tabs-content,
.desktopOrdersPane > .ant-tabs > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
  height: 100%;
  min-height: 0;
}
@media (min-height: 980px) {
  .desktopPositionsPane {
    -webkit-flex-basis: 34%;
        -ms-flex-preferred-size: 34%;
            flex-basis: 34%;
  }
  .desktopOrdersPane {
    -webkit-flex-basis: 66%;
        -ms-flex-preferred-size: 66%;
            flex-basis: 66%;
  }
}
@media (max-width: 767px) {
  .desktopPositionsPane {
    -webkit-flex-basis: 46%;
        -ms-flex-preferred-size: 46%;
            flex-basis: 46%;
  }
  .desktopOrdersPane {
    -webkit-flex-basis: 54%;
        -ms-flex-preferred-size: 54%;
            flex-basis: 54%;
  }
}

.orderPositionWrap {
  background: var(--B1);
  height: 100%;
}
.orderPositionWrap .positionWrap {
  background: var(--B1);
}
.orderPositionWrap .positionToolbar {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 0 12px;
  color: var(--T3);
  border-bottom: 1px solid #22303d;
}
.orderPositionWrap .positionToolbar strong {
  position: relative;
  height: 34px;
  color: var(--T1);
  font-size: 12px;
  font-weight: 650;
  line-height: 34px;
}
.orderPositionWrap .positionToolbar strong::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: '';
  background: var(--PRIMARY);
  border-radius: 2px 2px 0 0;
}
.orderPositionWrap .positionToolbar button {
  height: 25px;
  padding: 0 10px;
  color: #c6d0dc;
  background: #121c28;
  border: 1px solid #2b3b4e;
  border-radius: 4px;
  cursor: pointer;
}
.orderPositionWrap .positionToolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.orderPositionWrap .positionSymbolCell {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.orderPositionWrap .positionSymbolCell strong {
  color: var(--T1);
  font-size: 12px;
  font-weight: 600;
}
.orderPositionWrap .positionSymbolCell small {
  overflow: hidden;
  color: var(--T3);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orderPositionWrap .positionRoi {
  color: var(--T3);
  font-weight: 600;
}
.orderPositionWrap .positionRoi.positive {
  color: var(--buy);
}
.orderPositionWrap .positionRoi.negative {
  color: var(--sell);
}
.orderPositionWrap .ant-table-thead > tr > th {
  height: 28px !important;
  padding: 4px 10px !important;
  line-height: 18px !important;
}
.orderPositionWrap .ant-table-tbody > tr > td {
  height: 42px !important;
  padding: 4px 10px !important;
  line-height: 16px !important;
}
.orderPositionWrap .positionMetricCell {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
  line-height: 16px;
}
.orderPositionWrap .positionSubMetric {
  color: var(--T3);
  font-size: 11px;
  white-space: nowrap;
}
.orderPositionWrap .liqDistance.normal {
  color: var(--T3);
}
.orderPositionWrap .liqDistance.warning {
  color: #3b82f6;
}
.orderPositionWrap .liqDistance.danger {
  color: var(--sell);
  font-weight: 600;
}
.orderPositionWrap .positionProtectionCell {
  position: relative;
  display: -ms-grid;
  display: grid;
  gap: 1px;
  min-width: 108px;
  padding: 4px 24px 4px 8px;
  background: #111c28;
  border: 1px solid #27384a;
  border-radius: 4px;
  font-size: 11px;
  line-height: 15px;
}
.orderPositionWrap .positionProtectionCell span {
  color: var(--T2);
  white-space: nowrap;
}
.orderPositionWrap .positionProtectionCell button {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 18px;
  height: 22px;
  padding: 0;
  color: #8291a3;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.orderPositionWrap .positionProtectionCell button:hover {
  color: var(--PRIMARY) !important;
}
.orderPositionWrap .positionPnl strong {
  color: var(--T1);
  font-weight: 600;
}
.orderPositionWrap .positionPnl span {
  color: var(--T3);
  font-size: 11px;
}
.orderPositionWrap .positionPnl.positive strong,
.orderPositionWrap .positionPnl.positive span {
  color: var(--buy);
}
.orderPositionWrap .positionPnl.negative strong,
.orderPositionWrap .positionPnl.negative span {
  color: var(--sell);
}
.orderPositionWrap .positionCloseActions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.orderPositionWrap .positionCloseActions button {
  height: 27px;
  min-width: 42px;
  padding: 0 7px;
  color: #c1cbd7;
  background: #121c28;
  border: 1px solid #2d3e51;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
}
.orderPositionWrap .positionCloseActions button:hover {
  color: #fff !important;
  border-color: #536a85;
}
.orderPositionWrap .positionCloseActions .advancedClose {
  color: #f2f5f8;
}
.closePositionModal .ant-modal-content,
.closePositionModal .ant-modal-header {
  color: #f4f5f7;
  background: #17191f;
  border-color: #2b2f37;
}
.closePositionModal .ant-modal-title,
.closePositionModal .ant-modal-close {
  color: #f4f5f7;
}
.closePositionModal .ant-modal-footer {
  border-color: #2b2f37;
}
.closePositionModal .ant-btn-primary {
  color: #111318;
  background: #3b82f6;
  border-color: #3b82f6;
}
.closePositionModal label {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: #adb3bf;
}
.closePositionModal .ant-input {
  color: #f4f5f7;
  background: #20232a;
  border-color: #343943;
}
.closePositionModal select {
  height: 36px;
  padding: 0 10px;
  color: #f4f5f7;
  background: #20232a;
  border: 1px solid #343943;
  border-radius: 4px;
}
.closePositionModal p {
  color: #7f8794;
}
.closePositionModal .closeTypeTabs,
.closePositionModal .closePercentButtons {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.closePositionModal .closePercentButtons {
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
}
.closePositionModal .closeTypeTabs button,
.closePositionModal .closePercentButtons button {
  height: 34px;
  color: #adb3bf;
  background: #22252c;
  border: 1px solid #343943;
  border-radius: 4px;
  cursor: pointer;
}
.closePositionModal .closeTypeTabs button.active,
.closePositionModal .closePercentButtons button.active {
  color: #3b82f6;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}
.closePositionModal .protectionSummary {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 8px 14px;
  padding: 12px;
  color: #adb3bf;
  background: #20232a;
  border-radius: 4px;
}
.closePositionModal .protectionSummary strong {
  width: 100%;
  color: #f4f5f7;
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .orderPositionWrap.compactPosition {
    height: 100%;
    overflow: hidden;
    background: #0a131e;
  }
  .orderPositionWrap.compactPosition .mobilePositionsWrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .orderPositionWrap.compactPosition .mobilePositionsHeader {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex: 0 0 34px;
        -ms-flex: 0 0 34px;
            flex: 0 0 34px;
    height: 34px;
    padding: 0 10px;
    border-bottom: 1px solid #1d2a38;
    color: #eef3f8;
    font-size: 11px;
  }
  .orderPositionWrap.compactPosition .mobilePositionsHeader button {
    height: 24px;
    padding: 0 8px;
    color: #9fb0c3;
    background: #111c28;
    border: 1px solid #2a3a4d;
    border-radius: 4px;
    font-size: 10px;
  }
  .orderPositionWrap.compactPosition .mobilePositionCards {
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 0;
    padding: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard {
    padding: 10px;
    margin-bottom: 8px;
    background: #0d1824;
    border: 1px solid #203043;
    border-radius: 7px;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard header > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 7px;
    min-width: 0;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard header strong {
    color: #f3f7fb;
    font-size: 12px;
    font-weight: 700;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard header span {
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.04);
  }
  .orderPositionWrap.compactPosition .mobilePositionCard header small {
    color: #768598;
    font-size: 9px;
    white-space: nowrap;
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 8px;
    border-top: 1px solid #1a2837;
    border-bottom: 1px solid #1a2837;
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl > div,
  .orderPositionWrap.compactPosition .mobilePositionMetrics > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl span,
  .orderPositionWrap.compactPosition .mobilePositionMetrics span {
    color: #748398;
    font-size: 9px;
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl strong {
    color: #e9eff6;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl strong.positive {
    color: var(--buy);
  }
  .orderPositionWrap.compactPosition .mobilePositionPnl strong.negative {
    color: var(--sell);
  }
  .orderPositionWrap.compactPosition .mobilePositionMetrics {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(0, 1fr))[3];
        grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 8px;
  }
  .orderPositionWrap.compactPosition .mobilePositionMetrics strong {
    overflow: hidden;
    color: #dbe4ee;
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard footer {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 0.7fr 1fr;
        grid-template-columns: 1fr 0.7fr 1fr;
    gap: 6px;
    margin-top: 10px;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard footer button {
    height: 28px;
    padding: 0 6px;
    color: #c3cfdb;
    background: #121f2d;
    border: 1px solid #2b3d52;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
  }
  .orderPositionWrap.compactPosition .mobilePositionCard footer button.primary {
    color: #fff;
    background: #20364e;
    border-color: #365674;
  }
  .orderPositionWrap.compactPosition .mobilePositionEmpty {
    display: -ms-grid;
    display: grid;
    place-items: center;
    height: 100%;
    color: #647489;
    font-size: 12px;
  }
  .closePositionModal .ant-modal {
    max-width: calc(100vw - 20px);
    margin: 10px auto;
  }
}

.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td,
.ant-table-tbody .ant-table-row-hover,
.ant-table-tbody .ant-table-row-hover > td {
  background: #141414 !important;
}
.ant-table table {
  width: 100%;
  background: #141414;
  text-align: left;
  border-radius: 2px 2px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  max-height: 300px;
  overflow-y: auto;
}
.ant-table-thead > tr > th {
  color: var(--T3) !important;
  font-weight: 300;
  text-align: left;
  height: 50px !important;
  background: #141414 !important;
  transition: background 0.3s ease;
}
.ant-table-tbody > tr > td {
  border-bottom: 0.5px solid #f0f0f0;
  transition: background 0.3s;
  color: var(--W1);
}
/* 自定义表格组件的网格线颜色 */
.ant-table td {
  border-bottom: none !important;
}
.ant-table th {
  border-bottom: 0px solid #2B313A !important;
  /* 自定义网格线颜色 */
}
/* 全局覆盖表格表头高度 */
.ant-table thead .ant-table-cell {
  height: 10px;
  /* 修改为你所需的高度值 */
  line-height: 10px;
  /* 修改为你所需的行间距值 */
}
/* 设置表格行高 */
.ant-table-row,
.ant-table-expanded-row {
  height: 15px;
  /* 将此值更改为所需的行高 */
  line-height: 15px;
  /* 和行高保持一致 */
}
.ant-table-tbody {
  max-height: 200px;
  /* 将此值更改为所需的最大高度 */
  overflow-y: auto;
  /* 确保超出高度的内容可以滚动 */
  overflow-x: auto;
}
/* 覆盖 Ant Design Table 的默认占位图标样式 */
/* 覆盖 Ant Design Table 的默认占位图标样式 */
.ant-empty-image {
  display: none !important;
}
.ant-table-cell-scrollbar {
  box-shadow: none !important;
}
.ant-empty-description {
  color: white;
}
.ant-table-body {
  background: #141414;
  overflow-y: auto !important;
  height: 100%;
}
.ant-spin-nested-loading {
  height: 100%;
}
.ant-table,
.ant-table-wrapper,
.ant-table-container {
  height: 100%;
}
.ant-spin-container {
  height: calc(100% - 40px) !important;
}

.openOrderWrap {
  background: var(--B1);
}
.openOrderWrap .positionWrap {
  background: var(--B1);
}
.openOrderWrap .orderStyle {
  overflow: auto;
}
.openOrderWrap .openOrderToolbar {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 1px 12px;
  color: var(--T3);
  border-bottom: 1px solid #292c33;
}
.openOrderWrap .openOrderScope,
.openOrderWrap .openOrderToolbarActions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.openOrderWrap .openOrderScope label {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  color: var(--T2);
  cursor: pointer;
  font-size: 12px;
}
.openOrderWrap .openOrderScope input {
  width: 14px;
  height: 14px;
  accent-color: var(--PRIMARY);
}
.openOrderWrap .openOrderScopeSymbol {
  padding: 2px 6px;
  color: #75aaff;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 3px;
  font-size: 11px;
}
.openOrderWrap .openOrderToolbarActions {
  color: var(--T3);
}
.openOrderWrap .openOrderToolbar button {
  height: 26px;
  padding: 0 10px;
  color: var(--T1);
  background: #20232a;
  border: 1px solid #3a3f48;
  border-radius: 4px;
  cursor: pointer;
}
.openOrderWrap .openOrderToolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.openOrderWrap .openOrderSymbol {
  color: var(--T1);
  font-size: 12px;
  font-weight: 600;
}
.openOrderWrap .openOrderTypeCell,
.openOrderWrap .openOrderStatusCell {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0;
  min-width: 0;
}
.openOrderWrap .openOrderTypeCell small,
.openOrderWrap .openOrderStatusCell small {
  overflow: hidden;
  color: var(--T3);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.openOrderWrap .openOrderStatusCell > span {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding: 1px 6px;
  color: var(--buy);
  background: rgba(39, 209, 127, 0.08);
  border-radius: 3px;
}
.openOrderWrap .ant-table-thead > tr > th {
  height: 34px !important;
  padding: 5px 10px !important;
  line-height: 18px !important;
}
.openOrderWrap .ant-table-tbody > tr > td {
  height: 33px !important;
  padding: 3px 10px !important;
  line-height: 15px !important;
}
.openOrderWrap .ant-table-row {
  height: 33px !important;
  line-height: 15px !important;
}
.openOrderWrap .openOrderActions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}
.openOrderWrap .openOrderActions span {
  min-width: 48px;
  height: 23px;
  padding: 0 7px;
  color: var(--T1);
  background: #1d2026;
  border: 1px solid #343943;
  border-radius: 3px;
  font-size: 11px;
  line-height: 21px;
  text-align: center;
}
.openOrderWrap .openOrderActions span:hover {
  border-color: #4a5568;
}
.openOrderWrap .openOrderActions span.long {
  color: var(--sell);
}
.openOrderWrap .openOrderFill {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr auto;
      grid-template-columns: 1fr auto;
  gap: 2px 8px;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 130px;
}
.openOrderWrap .openOrderFill > span {
  -ms-grid-column: -1;
      grid-column: -1;
  color: var(--T2);
  font-size: 11px;
}
.openOrderWrap .openOrderFillTrack {
  height: 3px;
  overflow: hidden;
  background: #2b2f37;
  border-radius: 999px;
}
.openOrderWrap .openOrderFillTrack i {
  display: block;
  height: 100%;
  background: var(--PRIMARY);
  border-radius: inherit;
}
.openOrderWrap .openOrderFill small {
  color: var(--T3);
  font-size: 10px;
}
.replaceOrderModal .ant-modal-content,
.replaceOrderModal .ant-modal-header {
  color: #f4f5f7;
  background: #17191f;
  border-color: #2b2f37;
}
.replaceOrderModal .ant-modal-title,
.replaceOrderModal .ant-modal-close {
  color: #f4f5f7;
}
.replaceOrderModal .ant-modal-footer {
  border-color: #2b2f37;
}
.replaceOrderModal .ant-btn-primary {
  color: #111318;
  background: #3b82f6;
  border-color: #3b82f6;
}
.replaceOrderModal label {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #adb3bf;
}
.replaceOrderModal .ant-input {
  color: #f4f5f7;
  background: #20232a;
  border-color: #343943;
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .openOrderWrap.compactOpenOrders {
    height: 100%;
    overflow: hidden;
    background: #0a131e;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersWrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersHeader {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-flex: 0 0 34px;
        -ms-flex: 0 0 34px;
            flex: 0 0 34px;
    height: 34px;
    padding: 0 9px;
    border-bottom: 1px solid #1d2a38;
    color: #8796a8;
    font-size: 9px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersHeader label,
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersHeader > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersHeader input {
    width: 12px;
    height: 12px;
    accent-color: var(--PRIMARY);
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrdersHeader button {
    height: 23px;
    padding: 0 7px;
    color: #bdc9d6;
    background: #121f2c;
    border: 1px solid #2a3b4e;
    border-radius: 4px;
    font-size: 9px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCards {
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-height: 0;
    padding: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard {
    padding: 9px 10px;
    margin-bottom: 8px;
    background: #0d1824;
    border: 1px solid #203043;
    border-radius: 7px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard header > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 6px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard header strong {
    color: #f3f7fb;
    font-size: 11px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard header span {
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 9px;
    font-weight: 650;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard header small {
    color: #758497;
    font-size: 9px;
    white-space: nowrap;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderGrid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(0, 1fr))[3];
        grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 7px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderGrid > div {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderGrid span {
    color: #748398;
    font-size: 8px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderGrid strong {
    overflow: hidden;
    color: #dbe4ee;
    font-size: 9px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderFillTrack {
    height: 3px;
    margin: 9px 0 8px;
    overflow: hidden;
    background: #233143;
    border-radius: 999px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderFillTrack i {
    display: block;
    height: 100%;
    background: var(--PRIMARY);
    border-radius: inherit;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard footer {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: 6px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard footer button {
    min-width: 58px;
    height: 26px;
    padding: 0 8px;
    color: #c4cfda;
    background: #121f2d;
    border: 1px solid #2b3d52;
    border-radius: 4px;
    font-size: 9px;
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderCard footer button.danger {
    color: #ff7c85;
    border-color: rgba(240, 68, 81, 0.35);
  }
  .openOrderWrap.compactOpenOrders .mobileOpenOrderEmpty {
    display: -ms-grid;
    display: grid;
    place-items: center;
    height: 100%;
    color: #647489;
    font-size: 12px;
  }
  .replaceOrderModal .ant-modal {
    max-width: calc(100vw - 20px);
    margin: 10px auto;
  }
}

.tradeHistoryWrap {
  background: #111318;
}
.tradeHistoryWrap .positionWrap {
  background: #111318;
}
.tradeHistoryWrap .orderStyle {
  overflow: auto;
  max-height: 300px;
}
.historyToolbar {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: #8c96a8;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  min-height: 34px;
  padding: 0 12px;
}
.historyToolbar button {
  background: #1b2029;
  border: 1px solid #343b49;
  border-radius: 4px;
  color: #d7dbe2;
  cursor: pointer;
  margin-left: 12px;
  padding: 3px 12px;
}
.historyToolbar button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.historyToolbar button:hover:not(:disabled) {
  border-color: #3b82f6;
  color: #3b82f6;
}

.ant-pagination-disabled .ant-pagination-item-link,
.ant-pagination-disabled:hover .ant-pagination-item-link,
.ant-pagination-disabled:focus .ant-pagination-item-link {
  color: white !important;
  border-color: #1B2834 !important;
  cursor: not-allowed;
}
.ant-pagination-prev .ant-pagination-item-link,
.ant-pagination-next .ant-pagination-item-link {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 12px;
  text-align: center;
  background-color: #1B2834 !important;
  border: 1px solid #1B2834 !important;
  border-radius: 2px;
  outline: none;
  transition: all 0.3s;
}
.ant-pagination-item a {
  display: block;
  padding: 0 6px;
  color: white !important;
  transition: none;
}
.ant-pagination-item-active a {
  color: #121214 !important;
  background: #3b82f6;
}
.ant-pagination-item-active {
  font-weight: 500;
  background: #1B2834 !important;
  border-color: #1B2834 !important;
}
.ant-pagination-item {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  margin-right: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  line-height: 30px;
  text-align: center;
  vertical-align: middle;
  list-style: none;
  background-color: #1B2834 !important;
  border: 1px solid #1B2834 !important;
  border-radius: 2px;
  outline: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.orderHistoryWrap {
  background: #111318;
}
.orderHistoryWrap .positionWrap {
  background: #111318;
}
.orderHistoryWrap .orderStyle {
  overflow: auto;
}
.historyToolbar {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: #8c96a8;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  min-height: 34px;
  padding: 0 12px;
}
.historyToolbar button {
  background: #1b2029;
  border: 1px solid #343b49;
  border-radius: 4px;
  color: #d7dbe2;
  cursor: pointer;
  margin-left: 12px;
  padding: 3px 12px;
}
.historyToolbar button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.historyToolbar button:hover:not(:disabled) {
  border-color: #3b82f6;
  color: #3b82f6;
}

.fundsWrap {
  background: #111318;
}

.orderBookWrap {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  border-radius: 0;
}
.orderBookWrap .body {
  background: var(--B1);
}
.orderBookWrap .head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-flex: 0 0 44px;
      -ms-flex: 0 0 44px;
          flex: 0 0 44px;
  height: 44px;
  padding: 0 10px 0 12px;
  color: var(--T1);
  background: var(--B1);
  border-bottom: 1px solid #1e2a38;
  font-size: 14px;
  font-weight: 650;
  line-height: 44px;
}
.orderBookWrap .orderBookTitle {
  cursor: pointer;
}
.orderBookWrap .recentTradeToggle {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  color: #758397;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.orderBookWrap .recentTradeToggle:hover,
.orderBookWrap .recentTradeToggle.active {
  color: #dce5f0 !important;
  background: #162231;
  border-color: #26384d;
}
.orderBookWrap .orderBookControls {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 34px;
  padding: 4px 10px;
}
.orderBookWrap .bookViewButtons {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.orderBookWrap .bookViewButtons button {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
.orderBookWrap .bookViewButtons button:hover,
.orderBookWrap .bookViewButtons button.active {
  background: #172332;
}
.orderBookWrap .bookViewIcon {
  display: -ms-grid;
  display: grid;
  width: 14px;
  gap: 2px;
}
.orderBookWrap .bookViewIcon b {
  display: block;
  height: 3px;
  border-left: 4px solid #6f7d8e;
  background: #344253;
}
.orderBookWrap .bookViewIcon.both b:first-child,
.orderBookWrap .bookViewIcon.ask b {
  border-left-color: var(--sell);
}
.orderBookWrap .bookViewIcon.both b:last-child,
.orderBookWrap .bookViewIcon.bid b {
  border-left-color: var(--buy);
}
.orderBookWrap .orderBookControls select {
  height: 27px;
  min-width: 64px;
  padding: 0 20px 0 8px;
  color: #c5cfdb;
  background: #0d1722;
  border: 1px solid #263547;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  font-size: 11px;
}
.orderBookWrap .orderBookControls select:hover,
.orderBookWrap .orderBookControls select:focus {
  border-color: #435b76;
}
.orderBookWrap .orderBookColumns {
  padding: 0 10px 3px;
  color: #7f8c9d;
  line-height: 20px;
}
.orderBookWrap .orderBookColumns > div {
  padding: 0 2px;
}
.orderBookWrap .bookViewport {
  min-height: 0;
}
.orderBookWrap .orderBookSide {
  display: -ms-grid;
  display: grid;
  -webkit-flex: 1 1 0;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  -ms-grid-rows: (minmax(0, 1fr))[10];
      grid-template-rows: repeat(10, minmax(0, 1fr));
  min-height: 0;
  overflow: hidden;
}
.orderBookWrap .order-book-row {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 1 1 0;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  line-height: 18px;
  isolation: isolate;
  transition: background-color 0.12s ease;
}
.orderBookWrap .order-book-row::before {
  position: absolute;
  z-index: 0;
  top: 1px;
  right: 0;
  bottom: 1px;
  width: var(--depth-width, 0%);
  content: '';
  pointer-events: none;
  transition: width 0.18s ease-out;
}
.orderBookWrap .order-book-row > div {
  position: relative;
  z-index: 1;
}
.orderBookWrap .order-book-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.orderBookWrap .order-book-row--ask::before {
  background: rgba(255, 77, 87, 0.13);
}
.orderBookWrap .order-book-row--bid::before {
  background: rgba(32, 199, 122, 0.13);
}
.orderBookWrap .order-book-row .order-size:hover {
  color: #8ab8ff;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.orderBookWrap .order-book-row > div:first-child {
  padding-left: 12px;
  padding-right: 6px;
}
.orderBookWrap .order-book-row .order-size {
  padding-left: 6px;
  padding-right: 6px;
}
.orderBookWrap .order-book-row .order-total {
  padding-left: 6px;
  padding-right: 12px;
}
.orderBookWrap .go1073093940 {
  -webkit-flex: 0 0 42px;
      -ms-flex: 0 0 42px;
          flex: 0 0 42px;
  min-height: 42px;
  background: #0b1520;
  border-top: 1px solid #1c2a38;
  border-bottom: 1px solid #1c2a38;
}
.orderBookWrap .bookMidPrice {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.orderBookWrap .bookMidPrice i {
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}
.orderBookWrap .ask-container {
  -webkit-flex-direction: column-reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}
.orderBookWrap .ask-price {
  color: var(--sell);
}
.orderBookWrap .bid-price {
  color: var(--buy);
}
.orderBookWrap .common-price {
  color: var(--T1);
}
.orderBookWrap .showDiv {
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 0;
  visibility: visible;
}
.orderBookWrap .showDiv > .body {
  min-height: 0;
}
.orderBookWrap .hiddenDiv {
  display: none;
}
.orderBookWrap .recentTradeDiv {
  height: 470px;
  overflow-y: auto;
}
.orderBookWrap .recentTradeDiv .go1655553803 {
  min-height: 0;
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .mobileOrderBook .orderBookWrap {
    background: #0a131e;
  }
  .mobileOrderBook .orderBookWrap .head {
    -webkit-flex: 0 0 32px;
        -ms-flex: 0 0 32px;
            flex: 0 0 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 32px;
  }
  .mobileOrderBook .orderBookWrap .recentTradeToggle {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }
  .mobileOrderBook .orderBookWrap .orderBookControls {
    min-height: 28px;
    padding: 2px 5px;
  }
  .mobileOrderBook .orderBookWrap .bookViewButtons {
    gap: 2px;
  }
  .mobileOrderBook .orderBookWrap .bookViewButtons button {
    width: 20px;
    height: 20px;
  }
  .mobileOrderBook .orderBookWrap .bookViewIcon {
    width: 12px;
  }
  .mobileOrderBook .orderBookWrap .orderBookControls select {
    min-width: 52px;
    height: 23px;
    padding: 0 15px 0 4px;
    font-size: 9px;
  }
  .mobileOrderBook .orderBookWrap .orderBookColumns {
    padding: 0 5px 2px;
    font-size: 8px;
    line-height: 17px;
  }
  .mobileOrderBook .orderBookWrap .order-book-row {
    font-size: 9px;
    line-height: 15px;
  }
  .mobileOrderBook .orderBookWrap .order-book-row > div:first-child {
    padding-left: 5px;
    padding-right: 2px;
  }
  .mobileOrderBook .orderBookWrap .order-book-row .order-size {
    padding-left: 2px;
    padding-right: 2px;
  }
  .mobileOrderBook .orderBookWrap .order-book-row .order-total {
    padding-left: 2px;
    padding-right: 5px;
  }
  .mobileOrderBook .orderBookWrap .go1073093940 {
    -webkit-flex: 0 0 32px;
        -ms-flex: 0 0 32px;
            flex: 0 0 32px;
    min-height: 32px;
  }
  .mobileOrderBook .orderBookWrap .bookMidPrice {
    gap: 3px;
    padding: 0 6px;
    font-size: 14px;
  }
  .mobileOrderBook .orderBookWrap .bookMidPrice i {
    font-size: 11px;
  }
  .mobileOrderBook .orderBookWrap .recentTradeDiv {
    height: auto;
    min-height: 0;
  }
}

.symbolMarketWrap {
  position: relative;
  z-index: 9;
  width: 100%;
  min-width: 0;
  height: 70px;
  padding: 10px 48px 10px 16px;
  box-sizing: border-box;
  color: var(--T1);
  background: transparent;
  overflow: hidden;
}
.symbolMarketWrap .symbolDiv {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex: 0 0 120px;
      -ms-flex: 0 0 120px;
          flex: 0 0 120px;
  min-width: 120px;
  font-size: 16px;
  font-weight: 600;
}
.symbolMarketWrap .symbolIdentity {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  line-height: 18px;
}
.symbolMarketWrap .symbolCode {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  color: #f5f7fa;
  font-variant-numeric: tabular-nums;
}
.symbolMarketWrap .symbolCaret {
  color: #7c899a;
  font-size: 13px;
  font-weight: 400;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.symbolMarketWrap .symbolIdentity small {
  color: #8c9aab;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
}
.symbolMarketWrap > .df.fdc {
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  min-width: 78px;
  margin-left: 18px !important;
}
.symbolMarketWrap > .df.fdc span:first-child {
  color: #8492a4;
  font-size: 11px;
}
.symbolMarketWrap > .df.fdc span:last-child {
  color: #e4eaf1;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.symbolMarketWrap > .df.fdc span:last-child.short {
  color: var(--buy);
}
.symbolMarketWrap > .df.fdc span:last-child.long {
  color: var(--sell);
}
.symbolMarketWrap .warn {
  color: var(--sell) !important;
}
.symbolMarketWrap .marketLastPrice {
  min-width: 88px;
  margin-left: 10px !important;
  line-height: 18px;
}
.symbolMarketWrap .marketLastPrice strong {
  color: var(--T1);
  font-size: 20px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 21px;
}
.symbolMarketWrap .marketLastPrice small {
  color: var(--T3);
  font-size: 11px;
  font-weight: 550;
  line-height: 15px;
}
.symbolMarketWrap .marketLastPrice strong.short,
.symbolMarketWrap .marketLastPrice small.short {
  color: var(--buy);
}
.symbolMarketWrap .marketLastPrice strong.long,
.symbolMarketWrap .marketLastPrice small.long {
  color: var(--sell);
}
.symbolMarketWrap .marketMetricOi {
  min-width: 96px !important;
}
.symbolMarketWrap .marketMetricVolume {
  min-width: 120px !important;
}
@media (max-width: 1540px) {
  .symbolMarketWrap > .df.fdc {
    margin-left: 15px !important;
  }
  .symbolMarketWrap .marketMetricTurnover {
    display: none;
  }
}
@media (max-width: 1380px) {
  .symbolMarketWrap .marketMetricOi {
    display: none;
  }
}
@media (max-width: 1220px) {
  .symbolMarketWrap .marketMetricVolume {
    display: none;
  }
}
@media (max-width: 820px) {
  .symbolMarketWrap {
    height: 70px;
    padding: 9px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .symbolMarketWrap .symbolDiv {
    -webkit-flex: 0 0 120px;
        -ms-flex: 0 0 120px;
            flex: 0 0 120px;
    min-width: 120px;
  }
  .symbolMarketWrap > .df.fdc {
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    min-width: 88px;
    margin-left: 14px !important;
  }
  .symbolMarketWrap .marketLastPrice {
    min-width: 96px;
    margin-left: 8px !important;
  }
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .symbolMarketWrap {
    display: -ms-grid !important;
    display: grid !important;
    -ms-grid-columns: minmax(94px, 1.15fr) minmax(88px, 1fr) minmax(68px, 0.82fr) minmax(68px, 0.82fr);
        grid-template-columns: minmax(94px, 1.15fr) minmax(88px, 1fr) minmax(68px, 0.82fr) minmax(68px, 0.82fr);
    -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
    -webkit-column-gap: 8px;
            column-gap: 8px;
    width: 100%;
    height: 72px;
    padding: 8px 10px;
    overflow: hidden;
  }
  .symbolMarketWrap .symbolDiv {
    min-width: 0;
    -webkit-flex: none;
        -ms-flex: none;
            flex: none;
  }
  .symbolMarketWrap .symbolIdentity {
    min-width: 0;
  }
  .symbolMarketWrap .symbolCode {
    gap: 4px;
    font-size: 15px;
    line-height: 18px;
  }
  .symbolMarketWrap .symbolIdentity small {
    margin-top: 1px;
    font-size: 9px;
    line-height: 12px;
  }
  .symbolMarketWrap .marketLastPrice {
    min-width: 0;
    margin: 0 !important;
    -webkit-align-self: center;
        -ms-flex-item-align: center;
                -ms-grid-row-align: center;
            align-self: center;
  }
  .symbolMarketWrap .marketLastPrice strong {
    font-size: 18px;
    line-height: 20px;
  }
  .symbolMarketWrap .marketLastPrice small {
    font-size: 10px;
    line-height: 13px;
  }
  .symbolMarketWrap > .df.fdc {
    min-width: 0;
    margin: 0 !important;
    -webkit-align-self: center;
        -ms-flex-item-align: center;
                -ms-grid-row-align: center;
            align-self: center;
    overflow: hidden;
  }
  .symbolMarketWrap > .df.fdc span:first-child {
    overflow: hidden;
    font-size: 9px;
    line-height: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .symbolMarketWrap > .df.fdc span:last-child {
    overflow: hidden;
    font-size: 10px;
    line-height: 15px;
    text-overflow: ellipsis;
  }
  .symbolMarketWrap .marketMetricHigh,
  .symbolMarketWrap .marketMetricLow,
  .symbolMarketWrap .marketMetricFunding,
  .symbolMarketWrap .marketMetricPremium,
  .symbolMarketWrap .marketMetricOi,
  .symbolMarketWrap .marketMetricVolume,
  .symbolMarketWrap .marketMetricTurnover {
    display: none !important;
  }
}
@media (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .symbolMarketWrap {
    height: 50px;
    padding: 5px 12px;
    -ms-grid-columns: minmax(110px, 1.2fr) minmax(95px, 1fr) minmax(82px, 0.9fr) minmax(82px, 0.9fr);
        grid-template-columns: minmax(110px, 1.2fr) minmax(95px, 1fr) minmax(82px, 0.9fr) minmax(82px, 0.9fr);
  }
  .symbolMarketWrap .symbolIdentity small {
    display: none;
  }
  .symbolMarketWrap .marketLastPrice strong {
    font-size: 17px;
  }
}

.accountInfoWrap {
  width: 100%;
  height: 100%;
  background: var(--B1);
}
.accountInfoWrap .accountInfoBody {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  min-height: 0;
}
.accountInfoWrap .accountInfoHeader {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-flex: 0 0 34px;
      -ms-flex: 0 0 34px;
          flex: 0 0 34px;
  min-height: 34px;
  padding: 0 10px 0 13px;
  border-bottom: 1px solid #22303d;
}
.accountInfoWrap .title {
  padding: 0 !important;
  color: var(--T1);
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 34px !important;
}
.accountInfoWrap .accountHeaderActions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.accountInfoWrap .accountHeaderActions button {
  height: 24px;
  padding: 0 8px;
  color: #aeb9c6;
  background: #111c28;
  border: 1px solid #2a3a4d;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
}
.accountInfoWrap .accountHeaderActions button:hover {
  color: #fff !important;
  border-color: #4d6682;
}
.accountInfoWrap .accountRiskSummary {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 118px minmax(0, 1fr);
      grid-template-columns: 118px minmax(0, 1fr);
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-align-content: start;
      -ms-flex-line-pack: start;
          align-content: start;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 18px 14px 12px;
  background: var(--B1);
}
.accountInfoWrap .accountRiskGauge {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 9px;
}
.accountInfoWrap .marginUsageDonut {
  --usage: 0%;
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--buy) var(--usage), #243244 var(--usage));
}
.accountInfoWrap .marginUsageDonut::after {
  position: absolute;
  inset: 10px;
  content: '';
  background: #0b1420;
  border: 1px solid #2a394b;
  border-radius: 50%;
}
.accountInfoWrap .marginUsageDonut.warning {
  background: conic-gradient(var(--warning) var(--usage), #243244 var(--usage));
}
.accountInfoWrap .marginUsageDonut.high {
  background: conic-gradient(#ff8f3d var(--usage), #243244 var(--usage));
}
.accountInfoWrap .marginUsageDonut.critical {
  background: conic-gradient(var(--sell) var(--usage), #243244 var(--usage));
}
.accountInfoWrap .marginUsageDonutInner {
  position: absolute;
  inset: 10px;
  z-index: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
.accountInfoWrap .marginUsageDonutInner strong {
  color: #f3f7fb;
  font-size: 16px;
  font-weight: 700;
}
.accountInfoWrap .accountRiskState {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  color: #9aa7b7;
  font-size: 10px;
}
.accountInfoWrap .accountRiskState i {
  width: 8px;
  height: 8px;
  background: var(--buy);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(32, 199, 122, 0.08);
}
.accountInfoWrap .accountRiskState.warning i {
  background: var(--warning);
}
.accountInfoWrap .accountRiskState.high i {
  background: #ff8f3d;
}
.accountInfoWrap .accountRiskState.critical i {
  background: var(--sell);
}
.accountInfoWrap .accountMetricList {
  display: -ms-grid;
  display: grid;
  gap: 1px;
  min-width: 0;
}
.accountInfoWrap .accountMetricRow {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 24px;
  color: #8996a6;
  font-size: 11px;
}
.accountInfoWrap .accountMetricRow span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accountInfoWrap .accountMetricRow strong {
  min-width: 0;
  color: #e5ebf2;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.accountInfoWrap .accountMetricRow strong.positive {
  color: var(--buy);
}
.accountInfoWrap .accountMetricRow strong.negative,
.accountInfoWrap .accountMetricRow strong.critical {
  color: var(--sell);
}
.accountInfoWrap .accountMetricRow strong.warning {
  color: var(--warning);
}
.accountInfoWrap .accountMetricRow strong.high {
  color: #ff8f3d;
}
.accountInfoWrap .accountPublicActions {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}
.accountInfoWrap .accountPublicActions button {
  height: 34px;
  color: #d8dee8;
  background: #152131;
  border: 1px solid #304257;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}
.accountInfoWrap .accountPublicActions button.primary {
  color: #fff;
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
}
.fundingModal .ant-modal-content {
  overflow: hidden;
  color: #f4f5f7;
  background: #17191f;
  border: 1px solid #2b2f37;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}
.fundingModal .ant-modal-header {
  padding: 20px 22px 15px;
  background: #17191f;
  border-bottom: 1px solid #292c33;
}
.fundingModal .ant-modal-title {
  color: #f4f5f7;
  font-size: 18px;
  font-weight: 650;
}
.fundingModal .ant-modal-close {
  color: #8e95a3;
}
.fundingModal .ant-modal-close:hover {
  color: #f4f5f7;
}
.fundingModal .ant-modal-body {
  padding: 22px;
  background: #17191f;
}
.fundingModal .ant-modal-footer {
  padding: 14px 22px 20px;
  background: #17191f;
  border-top: 1px solid #292c33;
}
.fundingModal .ant-modal-footer .ant-btn {
  min-width: 112px;
  height: 38px;
  color: #d5d8de;
  background: #24272e;
  border-color: #343842;
  border-radius: 6px;
}
.fundingModal .ant-modal-footer .ant-btn-primary {
  color: #fff;
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
  font-weight: 650;
}
.fundingModal .ant-modal-footer .ant-btn-primary[disabled] {
  color: #6f737b;
  background: #2c2f36;
  border-color: #343842;
}
.fundingModal .fundingModalNotice {
  margin-bottom: 20px;
  padding: 12px 14px;
  color: #b9c0cc;
  background: #20242b;
  border-left: 3px solid #3b82f6;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
}
.fundingModal .fundingAmountLabel {
  display: block;
  margin-bottom: 8px;
  color: #d7dae0;
  font-size: 13px;
}
.fundingModal .fundingAmountInput.ant-input-affix-wrapper {
  height: 46px;
  background: #101217;
  border-color: #343842;
  border-radius: 6px;
}
.fundingModal .fundingAmountInput.ant-input-affix-wrapper-focused,
.fundingModal .fundingAmountInput.ant-input-affix-wrapper:hover {
  border-color: var(--PRIMARY);
  box-shadow: none;
}
.fundingModal .fundingAmountInput .ant-input {
  color: #f4f5f7;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
}
.fundingModal .fundingAmountInput .ant-input-suffix {
  color: #949ba8;
  font-size: 12px;
}
.fundingModal .fundingQuickAmounts {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  margin: 12px 0 20px;
}
.fundingModal .fundingQuickAmounts button {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 30px;
  color: #b9c0cc;
  background: #24272e;
  border: 1px solid #343842;
  border-radius: 4px;
  cursor: pointer;
}
.fundingModal .fundingQuickAmounts button:hover {
  color: var(--PRIMARY);
  border-color: var(--PRIMARY);
}
.fundingModal .fundingBalanceRow {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  color: #8e95a3;
  font-size: 12px;
}
.fundingModal .fundingBalanceRow strong {
  color: #f4f5f7;
}

.placeOrderWrap {
  height: 100%;
  width: 100%;
  background: var(--B1);
  /* Style for the dropdown container */
  /* Style for the selected option */
  /* Style for the dropdown list */
  /* Set the font color to orange for selected (active) option */
  /* Style for the individual dropdown items */
  /* Hover effect for dropdown items */
  /* Show the dropdown list when the dropdown container is hovered */
}
.placeOrderWrap .body {
  background: var(--B1);
}
.placeOrderWrap .head {
  line-height: 44px;
  color: var(--T1);
  border-bottom: 2px solid transparent;
  height: 45px;
  background: var(--B1);
  border-bottom: 1px solid #292c33;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
}
.placeOrderWrap .bg {
  background: var(--B1);
}
.placeOrderWrap > .go267429063,
.placeOrderWrap > .go267429063 > .go2015748219 {
  height: 100%;
  min-height: 0;
}
.placeOrderWrap .orderEntryShell {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.placeOrderWrap .tradeConfigBar {
  position: absolute;
  top: 5px;
  right: 9px;
  z-index: 12;
  display: block;
  padding: 0;
}
.placeOrderWrap .tradeConfigPill,
.placeOrderWrap .positionModePill {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-width: 0;
  height: 26px;
  padding: 0 6px;
  font-size: 10px;
  color: var(--T1);
  background: #121c28;
  border: 1px solid #263649;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.placeOrderWrap .tradeConfigPill {
  width: 78px;
  gap: 4px;
}
.placeOrderWrap .tradeConfigPill strong {
  margin-left: auto;
  color: #6ea8ff;
  font-weight: 650;
}
.placeOrderWrap .positionModePill {
  display: none;
}
.placeOrderWrap .tradeConfigPill:hover,
.placeOrderWrap .positionModePill:hover {
  background: #292d35;
  border-color: #4a505b;
}
.placeOrderWrap .tradeConfigPill:disabled,
.placeOrderWrap .positionModePill:disabled {
  cursor: wait;
  opacity: 0.62;
}
.placeOrderWrap .configCaret {
  color: var(--T3);
  font-size: 10px;
}
.placeOrderWrap .riskLimitSummary {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  color: var(--T3);
}
.placeOrderWrap .riskLimitSummary strong {
  color: var(--T1);
  text-align: right;
}
.placeOrderWrap .riskTierTable {
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid #2b2f37;
  border-radius: 4px;
}
.placeOrderWrap .riskTierHeader,
.placeOrderWrap .riskTierRow {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 44px minmax(150px, 1fr) minmax(112px, auto) 88px;
      grid-template-columns: 44px minmax(150px, 1fr) minmax(112px, auto) 88px;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 32px;
  padding: 0 10px;
  -webkit-column-gap: 10px;
          column-gap: 10px;
}
.placeOrderWrap .riskTierHeader {
  color: var(--T3);
  background: #181a20;
  font-size: 11px;
}
.placeOrderWrap .riskTierRow {
  color: var(--T2);
  border-top: 1px solid #252931;
  font-size: 12px;
}
.placeOrderWrap .riskTierHeader span:nth-child(n+3),
.placeOrderWrap .riskTierRow span:nth-child(n+3) {
  text-align: right;
}
.placeOrderWrap .placeOrderBtn {
  border: none;
  padding: 0 4px 0 0;
  line-height: 20px;
  background: transparent;
  color: var(--T1);
}
.placeOrderWrap .marketDiv {
  background: #181a20;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  border: 1px solid #2b2e35;
  border-radius: 4px;
}
.placeOrderWrap .marketDiv:hover {
  border-color: #555b66;
}
.placeOrderWrap .marketDiv:focus {
  border-color: var(--PRIMARY);
}
.placeOrderWrap .marketInput {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: none;
  padding: 0;
  min-width: 0;
  width: auto;
  background: transparent;
  outline: none;
  color: var(--T1);
}
.placeOrderWrap .orderBtn {
  height: 40px;
  width: 140px;
  color: white;
}
.placeOrderWrap .orderBtn:disabled {
  cursor: not-allowed;
  -webkit-filter: saturate(0.35);
          filter: saturate(0.35);
  opacity: 0.45;
}
.placeOrderWrap .orderTypeTabs {
  min-height: 36px;
  margin: 0 0 5px;
  padding-right: 92px !important;
  padding-left: 12px !important;
  border-bottom: 1px solid #202b38;
  line-height: 35px !important;
}
.placeOrderWrap .orderTypeTabs .ml16 {
  margin-left: 12px;
}
.placeOrderWrap .orderFormBody {
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-height: 0;
  padding: 5px 12px 4px !important;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.placeOrderWrap .orderFormBody::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.placeOrderWrap .orderActionBar {
  z-index: 8;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  gap: 8px;
  padding: 7px 12px 9px !important;
  background: var(--B1);
  border-top: 1px solid #202329;
}
.placeOrderWrap .orderActionBar .orderBtn {
  width: 100%;
}
.placeOrderWrap .tifRow {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.placeOrderWrap .orderFormBody > .mb12 {
  margin-bottom: 8px;
}
.placeOrderWrap .orderOptionsGrid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px 10px;
  margin-bottom: 8px;
}
.placeOrderWrap .tifCompact {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 6px;
  min-width: 0;
  min-height: 26px;
}
.placeOrderWrap .tifCompact .tifSelect {
  width: 78px;
  height: 28px;
  padding: 0 6px;
  font-size: 11px;
}
.placeOrderWrap .tifSelect {
  width: 140px;
  height: 34px;
  padding: 0 8px;
  color: var(--T1);
  background: #181a20;
  border: 1px solid #2b2e35;
  border-radius: 4px;
  outline: none;
}
.placeOrderWrap .tifSelect:focus {
  border-color: var(--PRIMARY);
}
.placeOrderWrap .tifSelect:disabled {
  color: var(--T3);
  cursor: not-allowed;
}
.placeOrderWrap .orderBuyBtn {
  background: var(--buy) !important;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
}
.placeOrderWrap .orderSellBtn {
  background: var(--sell) !important;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
}
.placeOrderWrap .showDiv {
  visibility: visible;
}
.placeOrderWrap .hiddenDiv {
  display: none;
}
.placeOrderWrap .clickBtnBG {
  background: var(--PRIMARY);
}
.placeOrderWrap .notClickBtnBG {
  background: transparent;
}
.placeOrderWrap .clickBtnFC {
  color: var(--PRIMARY);
  border-bottom-color: var(--PRIMARY);
}
.placeOrderWrap .noClickBtnFC {
  color: var(--T1);
}
.placeOrderWrap .dropdown {
  position: relative;
  border: solid 1px #2b313a;
  box-sizing: border-box;
  height: 38px;
  color: var(--T2);
  border-radius: 8px;
}
.placeOrderWrap .selected-option {
  padding-right: 16px;
  /* Add space for the arrow icon */
  padding-top: 8px;
}
.placeOrderWrap .dropdown-list {
  display: none;
  /* Initially hide the dropdown list */
  position: absolute;
  top: 100%;
  left: 0;
  background: #1E2328;
  border-top: none;
  width: 100%;
  z-index: 1;
  padding-left: 0px;
}
.placeOrderWrap .active {
  color: var(--PRIMARY);
}
.placeOrderWrap .dropdown-list li {
  list-style: none;
  /* Remove default list-style */
  margin: 0;
  /* Remove any margin */
  padding: 8px 40px 8px 0px;
  /* Adjust padding for top and bottom */
  cursor: pointer;
  transition: color 0.2s;
  /* Add transition for color change */
  width: 100%;
  /* Set the width to 100% */
  box-sizing: border-box;
  /* Include padding in the width */
  text-align: center;
  /* Center-align text */
}
.placeOrderWrap .dropdown-list li:hover {
  background-color: #474D57;
}
.placeOrderWrap .dropdown:hover .dropdown-list {
  display: block;
}
.placeOrderWrap .selectHeight {
  height: 33px;
}
.placeOrderWrap .reduceOnlyRow {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 26px;
  gap: 7px;
  cursor: pointer;
}
.placeOrderWrap .reduceOnlyRow input {
  width: 15px;
  height: 15px;
  accent-color: var(--PRIMARY);
}
.placeOrderWrap .reduceOnlyHint {
  margin-left: auto;
  max-width: 62%;
  text-align: right;
  font-size: 11px;
  line-height: 15px;
}
.placeOrderWrap .tpSlFields {
  display: -ms-grid;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #15171c;
  border: 1px solid #292d34;
  border-radius: 4px;
}
.placeOrderWrap .tpSlFields .marketDiv {
  width: 100%;
}
.placeOrderWrap .tpSlFields .marketInput {
  min-width: 0;
  width: auto;
}
.placeOrderWrap .tpSlTrigger {
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.placeOrderWrap .amountModeTabs {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  padding: 2px;
  background: #181a20;
  border: 1px solid #2b2e35;
  border-radius: 4px;
}
.placeOrderWrap .amountModeTabs button {
  height: 24px;
  color: #7f8794;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}
.placeOrderWrap .amountModeTabs button.active {
  color: #f4f5f7;
  background: #2a2e36;
}
.placeOrderWrap .orderPercentTrack {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[5];
      grid-template-columns: repeat(5, 1fr);
  height: 27px;
}
.placeOrderWrap .orderPercentTrack .trackLine {
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #3a3f48;
}
.placeOrderWrap .orderPercentTrack button {
  position: relative;
  z-index: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-column-align: center;
      justify-items: center;
  gap: 3px;
  color: #6f7784;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
}
.placeOrderWrap .orderPercentTrack button i {
  width: 10px;
  height: 10px;
  background: #181a20;
  border: 2px solid #4b515c;
  border-radius: 50%;
}
.placeOrderWrap .orderPercentTrack button.active,
.placeOrderWrap .orderPercentTrack button:hover {
  color: var(--PRIMARY);
}
.placeOrderWrap .orderPercentTrack button.active i,
.placeOrderWrap .orderPercentTrack button:hover i {
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
}
.placeOrderWrap .orderPreview {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
  gap: 3px;
  padding: 8px 10px;
  background: #0d1721;
  border: 1px solid #273544;
  border-top-width: 2px;
  border-radius: 5px;
}
.placeOrderWrap .orderPreview.previewBuy {
  border-top-color: var(--buy);
}
.placeOrderWrap .orderPreview.previewSell {
  border-top-color: var(--sell);
}
.placeOrderWrap .orderPreview .orderPreviewTitle {
  min-height: 19px;
  margin-bottom: 2px;
  color: var(--buy);
  border-bottom: 1px solid #22303d;
}
.placeOrderWrap .orderPreview.previewSell .orderPreviewTitle {
  color: var(--sell);
}
.placeOrderWrap .orderPreview .orderPreviewTitle strong {
  color: inherit;
  font-size: 11px;
  font-weight: 650;
}
.placeOrderWrap .orderPreview > div {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  min-width: 0;
  min-height: 18px;
  color: #737b88;
  font-size: 10px;
}
.placeOrderWrap .orderPreview b {
  overflow: hidden;
  color: #d5d9e0;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.placeOrderWrap .orderPreview .previewRiskRow {
  padding-top: 5px;
  margin-top: 2px;
  border-top: 1px solid #292d34;
}
.placeOrderWrap .orderPreview .previewRiskRow b {
  color: var(--warning);
  font-size: 13px;
}
.placeOrderWrap .orderPreview em {
  position: absolute;
  top: 8px;
  right: 10px;
  color: var(--warning);
  font-size: 10px;
  font-style: normal;
}
.placeOrderWrap.publicMode .marketInput:disabled,
.placeOrderWrap.publicMode .tifSelect:disabled,
.placeOrderWrap.publicMode .reduceOnlyRow input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}
.placeOrderWrap.publicMode .dropdown,
.placeOrderWrap.publicMode .placeOrderBtn {
  pointer-events: none;
}
.placeOrderWrap .publicOrderActions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}
.placeOrderWrap .publicOrderActions button {
  width: 100%;
  height: 40px;
  color: #f4f5f7;
  font-weight: 600;
  background: #353941;
  border: 1px solid #454a54;
  border-radius: 6px;
  cursor: pointer;
}
.placeOrderWrap .publicOrderActions button.primary {
  color: #fff;
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
}
.placeOrderWrap .publicOrderActions button:hover {
  -webkit-filter: brightness(1.08);
          filter: brightness(1.08);
}
.tradeConfigModal .ant-modal-content {
  overflow: hidden;
  border: 1px solid #2b2f37;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}
.tradeConfigModal .ant-modal-content,
.tradeConfigModal .ant-modal-header {
  color: #f4f5f7;
  background: #17191f;
  border-color: #2b2f37;
}
.tradeConfigModal .ant-modal-title,
.tradeConfigModal .ant-modal-close {
  color: #f4f5f7;
}
.tradeConfigModal .ant-modal-header {
  padding: 20px 22px 15px;
  border-bottom: 1px solid #292c33;
}
.tradeConfigModal .ant-modal-title {
  font-size: 18px;
  font-weight: 650;
}
.tradeConfigModal .ant-modal-body {
  max-height: 680px;
  padding: 0 22px 18px;
  overflow-y: auto;
  background: #17191f;
}
.tradeConfigModal .ant-modal-footer {
  padding: 14px 22px 20px;
  background: #17191f;
  border-color: #2b2f37;
}
.tradeConfigModal .ant-modal-footer .ant-btn {
  min-width: 108px;
  height: 38px;
  color: #d5d8de;
  background: #24272e;
  border-color: #343842;
  border-radius: 5px;
}
.tradeConfigModal .ant-btn-primary {
  color: #fff;
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
}
.tradeConfigModal .configSummary {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.tradeConfigModal .configSummary > div {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5px;
  padding: 11px 12px;
  background: #20242b;
  border: 1px solid #2f343d;
  border-radius: 5px;
}
.tradeConfigModal .configSummary span {
  color: #858d9a;
  font-size: 11px;
}
.tradeConfigModal .configSummary strong {
  color: #f4f5f7;
  font-size: 13px;
}
.tradeConfigModal .configSection {
  padding: 14px 0;
  border-bottom: 1px solid #292c33;
}
.tradeConfigModal .configSection:last-child {
  border-bottom: 0;
}
.tradeConfigModal .configSectionTitle {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 12px;
  color: #f4f5f7;
  font-size: 13px;
  font-weight: 600;
}
.tradeConfigModal .configSectionTitle strong {
  color: var(--PRIMARY);
}
.tradeConfigModal .configSectionTitle .ant-input-number {
  width: 94px;
  background: #101217;
  border-color: #343842;
}
.tradeConfigModal .configSectionTitle .ant-input-number-input {
  color: var(--PRIMARY);
  text-align: right;
  font-weight: 650;
}
.tradeConfigModal .configChoices {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.tradeConfigModal .configChoice {
  height: 38px;
  color: #adb3bf;
  background: #22252c;
  border: 1px solid #30343d;
  border-radius: 4px;
  cursor: pointer;
}
.tradeConfigModal .configChoice.active {
  color: var(--PRIMARY);
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--PRIMARY);
}
.tradeConfigModal .configChoice:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.tradeConfigModal input[type='range'] {
  width: 100%;
  accent-color: var(--PRIMARY);
}
.tradeConfigModal .leverageBounds {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  color: #7f8794;
  font-size: 11px;
}
.tradeConfigModal .leveragePresets {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.tradeConfigModal .leveragePresets button {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 30px;
  color: #9ba2ae;
  background: #22252c;
  border: 1px solid #30343d;
  border-radius: 4px;
  cursor: pointer;
}
.tradeConfigModal .leveragePresets button.active {
  color: var(--PRIMARY);
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--PRIMARY);
}
.tradeConfigModal .leveragePresets button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.tradeConfigModal .configLockHint {
  margin: 10px 0 0;
  color: #3b82f6;
  font-size: 12px;
  line-height: 18px;
}
@media (max-width: 680px) {
  .tradeConfigModal .ant-modal {
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }
  .tradeConfigModal .configSummary {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .tradeConfigModal .leveragePresets {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .tradeConfigModal .leveragePresets button {
    -webkit-flex: 1 0 27%;
        -ms-flex: 1 0 27%;
            flex: 1 0 27%;
  }
  .fundingModal .ant-modal {
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .placeOrderWrap.compactOrder {
    background: #0a131e;
  }
  .placeOrderWrap.compactOrder .orderEntryShell {
    background: #0a131e;
  }
  .placeOrderWrap.compactOrder .tradeConfigBar {
    top: 4px;
    right: 6px;
  }
  .placeOrderWrap.compactOrder .tradeConfigPill {
    width: 58px;
    height: 24px;
    padding: 0 4px;
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .orderTypeTabs {
    min-height: 32px;
    height: 32px;
    margin-bottom: 3px;
    padding-right: 66px !important;
    padding-left: 7px !important;
    line-height: 31px !important;
  }
  .placeOrderWrap.compactOrder .orderTypeTabs .ml16 {
    margin-left: 7px;
  }
  .placeOrderWrap.compactOrder .placeOrderBtn {
    padding: 0;
    font-size: 10px;
    white-space: nowrap;
  }
  .placeOrderWrap.compactOrder .orderFormBody {
    padding: 4px 7px 3px !important;
  }
  .placeOrderWrap.compactOrder .orderFormBody > .mb12 {
    margin-bottom: 6px;
  }
  .placeOrderWrap.compactOrder .marketDiv {
    height: 32px;
    border-radius: 4px;
  }
  .placeOrderWrap.compactOrder .marketDiv .go3580733006 {
    height: 30px;
  }
  .placeOrderWrap.compactOrder .marketDiv .asc {
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .marketInput {
    font-size: 11px;
    line-height: 30px !important;
  }
  .placeOrderWrap.compactOrder .amountModeTabs {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(0, 1fr))[3];
        grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }
  .placeOrderWrap.compactOrder .amountModeTabs button {
    min-width: 0;
    height: 24px;
    padding: 0 2px;
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .orderPercentTrack {
    margin: 2px 1px 7px;
  }
  .placeOrderWrap.compactOrder .orderPercentTrack button span {
    font-size: 8px;
  }
  .placeOrderWrap.compactOrder .orderOptionsGrid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 2px;
    margin-bottom: 6px;
  }
  .placeOrderWrap.compactOrder .reduceOnlyRow {
    min-height: 22px;
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .reduceOnlyRow input {
    width: 12px;
    height: 12px;
  }
  .placeOrderWrap.compactOrder .tifCompact {
    min-height: 24px;
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .tifCompact .tifSelect,
  .placeOrderWrap.compactOrder .tifSelect {
    width: 68px;
    height: 26px;
    padding: 0 4px;
    font-size: 9px;
  }
  .placeOrderWrap.compactOrder .orderPreview {
    display: none;
  }
  .placeOrderWrap.compactOrder .tpSlFields {
    gap: 5px;
  }
  .placeOrderWrap.compactOrder .orderActionBar {
    gap: 5px;
    padding: 6px 7px 7px !important;
  }
  .placeOrderWrap.compactOrder .orderActionBar .orderBtn {
    min-width: 0;
    height: 34px;
    padding: 0 4px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .placeOrderWrap.compactOrder.intentBuy .orderBuyBtn,
  .placeOrderWrap.compactOrder.intentSell .orderSellBtn {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
  }
  .placeOrderWrap.compactOrder .publicOrderActions button {
    height: 34px;
    font-size: 10px;
  }
}
/* Landscape order-entry compaction */
@media (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .placeOrderWrap.compactOrder .orderTypeTabs {
    min-height: 28px;
    height: 28px;
    line-height: 27px !important;
  }
  .placeOrderWrap.compactOrder .tradeConfigBar {
    top: 2px;
  }
  .placeOrderWrap.compactOrder .tradeConfigPill {
    height: 22px;
  }
  .placeOrderWrap.compactOrder .orderFormBody {
    padding: 3px 7px 2px !important;
    overflow-y: auto;
  }
  .placeOrderWrap.compactOrder .orderFormBody > .mb12 {
    margin-bottom: 4px;
  }
  .placeOrderWrap.compactOrder .marketDiv {
    height: 28px;
  }
  .placeOrderWrap.compactOrder .marketDiv .go3580733006 {
    height: 26px;
  }
  .placeOrderWrap.compactOrder .marketInput {
    line-height: 26px !important;
  }
  .placeOrderWrap.compactOrder .amountModeTabs {
    margin-bottom: 4px !important;
  }
  .placeOrderWrap.compactOrder .amountModeTabs button {
    height: 21px;
    font-size: 8px;
  }
  .placeOrderWrap.compactOrder .orderPercentTrack {
    height: 22px;
    margin: 0 1px 4px;
  }
  .placeOrderWrap.compactOrder .orderOptionsGrid {
    -ms-grid-columns: (minmax(0, 1fr))[2];
        grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px 6px;
    margin-bottom: 3px;
  }
  .placeOrderWrap.compactOrder .reduceOnlyRow,
  .placeOrderWrap.compactOrder .tifCompact {
    min-height: 19px;
    font-size: 8px;
  }
  .placeOrderWrap.compactOrder .reduceOnlyRow input {
    width: 11px;
    height: 11px;
  }
  .placeOrderWrap.compactOrder .tifCompact .tifSelect {
    width: 58px;
    height: 21px;
    font-size: 8px;
  }
  .placeOrderWrap.compactOrder .orderActionBar {
    gap: 5px;
    padding: 4px 7px 5px !important;
  }
  .placeOrderWrap.compactOrder .orderActionBar .orderBtn {
    height: 32px;
  }
}

.ant-alert-warning {
  background-color: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}
.ant-alert-warning .ant-alert-icon,
.ant-message-warning .anticon,
.ant-notification-notice-icon-warning,
.ant-result-warning .ant-result-icon > .anticon {
  color: #3b82f6 !important;
}
.ant-form-item-has-warning .ant-form-item-explain,
.ant-form-item-has-warning .ant-form-item-extra,
.ant-form-item-has-warning .ant-input-prefix,
.ant-form-item-has-warning .ant-input-group-addon {
  color: #3b82f6 !important;
}
.ant-form-item-has-warning .ant-input,
.ant-form-item-has-warning .ant-input-affix-wrapper,
.ant-form-item-has-warning .ant-input-number,
.ant-form-item-has-warning .ant-picker,
.ant-form-item-has-warning .ant-select:not(.ant-select-borderless) .ant-select-selector,
.ant-form-item-has-warning .ant-cascader-picker .ant-cascader-input {
  border-color: #3b82f6 !important;
}
.ant-form-item-has-warning .ant-input:focus,
.ant-form-item-has-warning .ant-input-affix-wrapper:focus,
.ant-form-item-has-warning .ant-input-focused,
.ant-form-item-has-warning .ant-input-affix-wrapper-focused,
.ant-form-item-has-warning .ant-input-number-focused,
.ant-form-item-has-warning .ant-picker-focused,
.ant-form-item-has-warning .ant-select-focused .ant-select-selector,
.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
}
.ant-tag-warning,
.ant-tag-orange,
.ant-tag-yellow,
.ant-tag-gold {
  color: #93bdff !important;
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}
.ant-tag-orange-inverse,
.ant-tag-yellow-inverse,
.ant-tag-gold-inverse {
  color: #fff !important;
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
}
.ant-tooltip-orange .ant-tooltip-inner,
.ant-tooltip-orange .ant-tooltip-arrow-content,
.ant-tooltip-yellow .ant-tooltip-inner,
.ant-tooltip-yellow .ant-tooltip-arrow-content,
.ant-tooltip-gold .ant-tooltip-inner,
.ant-tooltip-gold .ant-tooltip-arrow-content {
  background-color: #3b82f6 !important;
}
.ant-badge-status-orange,
.ant-badge-status-yellow,
.ant-badge-status-gold,
.ant-ribbon-color-orange,
.ant-ribbon-color-yellow,
.ant-ribbon-color-gold {
  color: #3b82f6 !important;
  background: #3b82f6 !important;
}
.ant-rate {
  color: #3b82f6 !important;
}
.ant-typography mark {
  color: inherit !important;
  background-color: rgba(59, 130, 246, 0.18) !important;
}

.headerWrap {
  position: relative;
  z-index: 400;
  height: 52px;
  min-height: 52px;
  color: var(--T1);
  background: linear-gradient(180deg, #08111d 0%, #0a111a 100%);
  border-bottom: 1px solid #1d2a38;
}
.headerWrap .head-user {
  float: left;
  height: 52px;
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 52px;
}
.headerWrap .head-user ul {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  height: 52px;
  margin: 0;
  padding: 0 0 0 15px;
  list-style: none;
}
.headerWrap .head-user li {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 52px;
  margin: 0;
  list-style: none;
}
.headerWrap .head-user .brandMarkItem {
  width: 26px;
  margin-right: 6px;
}
.headerWrap .head-user .brandMark {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 8px 8px;
      grid-template-columns: 8px 8px;
  gap: 3px;
  width: 19px;
  height: 22px;
}
.headerWrap .head-user .brandMark i {
  position: relative;
  display: block;
  height: 22px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.18);
}
.headerWrap .head-user .brandMark i::after {
  position: absolute;
  top: 7px;
  left: 3px;
  width: 5px;
  height: 8px;
  content: '';
  background: #08111d;
  border-radius: 3px 0 0 3px;
}
.headerWrap .head-user .brandMark i:last-child::after {
  right: 3px;
  left: auto;
  border-radius: 0 3px 3px 0;
}
.headerWrap .head-user .homeBrand {
  cursor: pointer;
}
.headerWrap .head-user .brandName {
  gap: 7px;
  margin-right: 25px;
  color: #f7f9fc;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.25px;
  white-space: nowrap;
}
.headerWrap .head-user .brandDc {
  color: #7eb4ff;
  font-weight: 650;
}
.headerWrap .head-user .brandDivider {
  color: #667488;
  font-weight: 400;
}
.headerWrap .head-user .navItem {
  position: relative;
  min-width: 76px;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 18px;
  color: #9aa7b7;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
}
.headerWrap .head-user .navItem:hover,
.headerWrap .head-user .navItem.active {
  color: #5da2ff;
  background: rgba(59, 130, 246, 0.06);
}
.headerWrap .head-user .navItem.active::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  content: '';
  background: #4f9cff;
  border-radius: 2px 2px 0 0;
}
.headerWrap .publicActions {
  float: right;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  height: 52px;
  margin-right: 12px;
}
.headerWrap .publicActions button {
  height: 30px;
  padding: 0 13px;
  color: #dce4ee;
  background: #111a25;
  border: 1px solid #273546;
  border-radius: 5px;
  cursor: pointer;
}
.headerWrap .publicActions button:hover {
  border-color: var(--PRIMARY);
}
.headerWrap .publicActions button.primary {
  color: #fff;
  background: var(--PRIMARY);
  border-color: var(--PRIMARY);
  font-weight: 600;
}
.headerWrap .languageSwitch {
  float: right;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 52px;
  margin-right: 12px;
}
.headerWrap .languageSwitch select {
  height: 30px;
  padding: 0 26px 0 10px;
  color: #d8e0ea;
  background: #0d1621;
  border: 1px solid #253344;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  font-size: 12px;
}
.headerWrap .languageSwitch select:hover,
.headerWrap .languageSwitch select:focus {
  border-color: #40566f;
}
.headerWrap .profileShell {
  float: right;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  height: 52px;
  margin-right: 12px;
}
.headerWrap .profileMenu {
  position: relative;
}
.headerWrap .profileSummary {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #c9d4e2;
  background: #111b27;
  border: 1px solid #283748;
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}
.headerWrap .profileSummary::-webkit-details-marker {
  display: none;
}
.headerWrap .profileSummary:hover {
  color: #fff;
  border-color: #4c6380;
}
.headerWrap .profileDropdown {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 2000;
  width: 172px;
  padding: 6px;
  color: var(--T2);
  background: #0d1621;
  border: 1px solid #263649;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.headerWrap .profileName {
  padding: 7px 9px 8px;
  overflow: hidden;
  color: #8391a3;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid #1d2a38;
}
.headerWrap .profileDropdown button {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  width: 100%;
  height: 32px;
  padding: 0 9px;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}
.headerWrap .profileDropdown button:hover {
  color: #fff !important;
  background: #172332;
}
@-webkit-keyframes connection-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}
@keyframes connection-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}
@media (max-width: 820px) {
  .headerWrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    overflow: hidden;
  }
  .headerWrap .head-user {
    float: none;
    -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    min-width: 0;
  }
  .headerWrap .head-user ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    min-width: 0;
    margin: 0;
  }
  .headerWrap .head-user li {
    float: none;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-right: 3px;
    margin-left: 7px;
  }
  .headerWrap .head-user .brandName {
    font-size: 15px;
  }
  .headerWrap .head-user .navItem {
    font-size: 13px;
  }
  .headerWrap .head-user li:nth-child(5),
  .headerWrap .head-user li:nth-child(6) {
    display: none;
  }
  .headerWrap .languageSwitch {
    float: none;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    height: 52px;
    margin-right: 5px;
  }
  .headerWrap .languageSwitch button {
    min-width: 36px;
    height: 34px;
    padding: 0 6px;
  }
  .headerWrap .div-login {
    float: none;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-right: 5px;
    margin-left: 0;
    padding: 0 2px;
    background: transparent;
  }
  .headerWrap .div-login > span:first-child,
  .headerWrap .div-login .img-logo {
    display: none;
  }
  .headerWrap .div-login .logoutButton.ant-btn {
    min-width: 34px;
    padding: 0 7px;
    font-size: 0;
  }
  .headerWrap .div-login .logoutButton .anticon {
    margin: 0;
    font-size: 16px;
  }
  .headerWrap .publicActions {
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    margin-right: 5px;
    gap: 4px;
  }
  .headerWrap .publicActions button {
    padding: 0 8px;
  }
}
@media (max-width: 479px), (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .headerWrap {
    height: 44px;
    min-height: 44px;
  }
  .headerWrap .head-user {
    height: 44px;
  }
  .headerWrap .head-user ul {
    height: 44px;
    padding-left: 10px;
  }
  .headerWrap .head-user li {
    height: 44px;
    margin: 0;
  }
  .headerWrap .head-user .brandMarkItem {
    width: 24px;
    margin-right: 0;
  }
  .headerWrap .head-user .brandMark {
    -webkit-transform: scale(0.88);
            transform: scale(0.88);
    -webkit-transform-origin: left center;
            transform-origin: left center;
  }
  .headerWrap .head-user .brandName,
  .headerWrap .head-user .navItem {
    display: none !important;
  }
  .headerWrap .languageSwitch {
    height: 44px;
    margin-right: 7px;
  }
  .headerWrap .languageSwitch select {
    width: 58px;
    height: 28px;
    padding: 0 20px 0 8px;
    border-radius: 6px;
    font-size: 11px;
  }
  .headerWrap .profileShell {
    height: 44px;
    margin-right: 9px;
  }
  .headerWrap .profileSummary {
    width: 28px;
    height: 28px;
  }
  .headerWrap .profileDropdown {
    top: 34px;
  }
  .headerWrap .publicActions {
    height: 44px;
    margin-right: 6px;
  }
  .headerWrap .publicActions button {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
}
@media (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .headerWrap {
    height: 40px;
    min-height: 40px;
  }
  .headerWrap .head-user,
  .headerWrap .head-user ul,
  .headerWrap .head-user li,
  .headerWrap .languageSwitch,
  .headerWrap .profileShell,
  .headerWrap .publicActions {
    height: 40px;
  }
  .headerWrap .head-user .brandName,
  .headerWrap .head-user .navItem {
    display: none !important;
  }
  .headerWrap .languageSwitch select {
    height: 26px;
  }
  .headerWrap .profileSummary {
    width: 27px;
    height: 27px;
  }
}

.tenant-page {
  min-height: 100vh;
  background: radial-gradient(circle at 70% 0, #101a2d 0, #0b0e13 36%, #080a0e 100%);
  color: #f5f7fa;
  padding: 32px;
  box-sizing: border-box;
}
.tenant-shell {
  max-width: 1120px;
  margin: 0 auto;
}
.tenant-public-shell {
  max-width: 720px;
  margin: 0 auto;
}
.tenant-brand {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 42px;
}
.tenant-brand strong {
  font-size: 22px;
  letter-spacing: 0.4px;
}
.tenant-brand em {
  color: #3b82f6;
  font-style: normal;
}
.tenant-language button {
  color: #8f98a8;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px 8px;
}
.tenant-language button.active {
  color: #f5f7fa;
}
.tenant-hero h1 {
  font-size: 38px;
  line-height: 1.18;
  margin: 0 0 12px;
  color: #f5f7fa;
}
.tenant-hero p {
  color: #8f98a8;
  font-size: 16px;
  margin-bottom: 28px;
}
.tenant-card {
  background: rgba(23, 27, 34, 0.96);
  border: 1px solid #2a2f38;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}
.tenant-card h2 {
  color: #f5f7fa;
  margin-top: 0;
}
.tenant-entry-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(0, 1fr))[2];
      grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tenant-entry-card {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 245px;
}
.tenant-entry-card h2 {
  margin: 10px 0 12px;
  font-size: 22px;
}
.tenant-entry-card p {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: #8f98a8;
  line-height: 1.7;
}
.tenant-entry-card .ant-btn:not(.ant-btn-primary) {
  color: #f5f7fa;
  background: #242933;
  border-color: #3a414d;
}
.tenant-entry-kicker {
  color: #3b82f6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tenant-login-context {
  margin: 0 0 14px;
  padding: 9px 11px;
  color: #8f98a8;
  background: #101820;
  border: 1px solid #28556a;
  border-radius: 6px;
  font-size: 12px;
}
.tenant-login-context strong {
  margin-left: 8px;
  color: #3b82f6;
}
.tenant-home-footer {
  margin-top: 22px;
  text-align: center;
}
.tenant-card .ant-form-item {
  margin: 0;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.tenant-card .ant-form-item-label {
  -webkit-flex: none;
      -ms-flex: none;
          flex: none;
  max-width: 100%;
  padding: 0 0 8px;
  text-align: left;
  line-height: 1.3;
}
.tenant-card .ant-form-item-control {
  -webkit-flex: none;
      -ms-flex: none;
          flex: none;
  max-width: 100%;
}
.tenant-card .ant-form-item-label > label,
.tenant-card label {
  color: #c7cdd7;
}
.tenant-card .ant-input,
.tenant-card .ant-input-password,
.tenant-card .ant-input-number,
.tenant-card .ant-select-selector {
  background: #11141a !important;
  border-color: #2a2f38 !important;
  color: #f5f7fa !important;
}
.tenant-card .ant-form-item-control-input-content > .ant-input,
.tenant-card .ant-form-item-control-input-content > .ant-input-affix-wrapper,
.tenant-card .ant-form-item-control-input-content > .ant-input-number {
  width: 100%;
}
.tenant-card textarea.ant-input {
  min-height: 92px;
}
.tenant-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(0, 1fr))[2];
      grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tenant-grid .wide {
  -ms-grid-column: -1;
      grid-column: -1;
}
.tenant-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 20px;
}
.tenant-primary.ant-btn-primary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  font-weight: 600;
}
.tenant-result {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #3e6d52;
  background: #13251a;
  border-radius: 8px;
  color: #b8e8ca;
  word-break: break-all;
}
.tenant-error {
  border-color: #753e45;
  background: #2b1519;
  color: #ffb5bc;
}
.tenant-link {
  color: #3b82f6;
  cursor: pointer;
}
.tenant-link-muted {
  color: #8f98a8;
}
.tenant-link:hover {
  color: #60a5fa;
}
.tenant-route-context {
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #cbd1da;
  background: #101820;
  border: 1px solid #28556a;
  border-radius: 8px;
}
.tenant-route-title {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
}
.tenant-route-context span {
  color: #8f98a8;
}
.tenant-route-context strong {
  color: #3b82f6;
  text-align: right;
  word-break: break-word;
}
.tenant-route-context small {
  display: block;
  margin-top: 6px;
  color: #8f98a8;
}
.tenant-route-context-error {
  background: #2b1519;
  border-color: #753e45;
}
.tenant-route-context-error strong {
  color: #ffb5bc;
}
.tenant-admin-page {
  min-height: calc(100vh - 50px);
  background: #080a0e;
  color: #f5f7fa;
  padding: 18px;
  overflow: auto;
}
.tenant-admin-heading {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 16px;
}
.tenant-admin-heading h1 {
  color: #f5f7fa;
  margin: 0;
  font-size: 24px;
}
.tenant-admin-heading p {
  color: #8f98a8;
  margin: 4px 0 0;
}
.tenant-admin-page .ant-tabs-nav::before {
  border-bottom-color: #2a2f38;
}
.tenant-admin-page .ant-tabs-tab {
  color: #8f98a8;
}
.tenant-admin-page .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #3b82f6;
}
.tenant-admin-page .ant-tabs-ink-bar {
  background: #3b82f6;
}
.tenant-page .ant-tabs-nav::before {
  border-bottom-color: #2a2f38;
}
.tenant-page .ant-tabs-tab {
  color: #8f98a8;
}
.tenant-page .ant-tabs-tab:hover,
.tenant-page .ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #3b82f6;
}
.tenant-page .ant-tabs-ink-bar {
  background: #3b82f6;
}
.tenant-toolbar {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 14px;
}
.tenant-toolbar .ant-input {
  width: 180px;
  background: #11141a;
  border-color: #2a2f38;
  color: #f5f7fa;
}
.tenant-toolbar .ant-input-affix-wrapper {
  width: 180px;
  background: #11141a;
  border-color: #2a2f38;
}
.tenant-toolbar .ant-input-affix-wrapper .ant-input {
  width: 100%;
}
.tenant-admin-page .ant-table {
  background: #171b22;
  color: #f5f7fa;
}
.tenant-admin-page .ant-table-thead > tr > th {
  background: #20252d;
  color: #cbd1da;
  border-bottom-color: #2a2f38;
}
.tenant-admin-page .ant-table-tbody > tr > td {
  border-bottom-color: #2a2f38;
}
.tenant-admin-page .ant-table-tbody > tr.ant-table-row:hover > td {
  background: #20252d;
}
.tenant-page .ant-table {
  background: #171b22;
  color: #f5f7fa;
}
.tenant-page .ant-table-container {
  border: 1px solid #2a2f38;
  border-radius: 8px;
  overflow: hidden;
}
.tenant-page .ant-table-thead > tr > th {
  background: #20252d;
  color: #cbd1da;
  border-bottom-color: #2a2f38;
}
.tenant-page .ant-table-tbody > tr > td {
  background: #171b22;
  color: #f5f7fa;
  border-bottom-color: #2a2f38;
}
.tenant-page .ant-table-tbody > tr.ant-table-row:hover > td {
  background: #20252d;
}
.tenant-page .ant-table-placeholder .ant-table-cell {
  background: #171b22;
  border-bottom-color: #2a2f38;
}
.tenant-admin-page .ant-empty-description {
  color: #8f98a8;
}
.tenant-status-on {
  color: #20c997;
}
.tenant-status-off {
  color: #ff6375;
}
.tenant-config-form {
  background: #171b22;
  border: 1px solid #2a2f38;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}
@media (max-width: 720px) {
  .tenant-page {
    padding: 20px 14px;
  }
  .tenant-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .tenant-entry-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .tenant-grid .wide {
    -ms-grid-column: auto;
        grid-column: auto;
  }
  .tenant-hero h1 {
    font-size: 30px;
  }
  .tenant-card {
    padding: 20px 16px;
  }
  .tenant-admin-page {
    padding: 12px;
  }
  .tenant-admin-heading {
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 12px;
  }
  .tenant-admin-heading h1 {
    font-size: 22px;
  }
  .tenant-admin-page .ant-tabs-nav-wrap {
    overflow-x: auto;
  }
  .tenant-admin-page .ant-tabs-nav-list {
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
  }
  .tenant-admin-page .ant-tabs-nav-operations {
    display: none;
  }
  .tenant-admin-page .ant-table-wrapper {
    overflow-x: auto;
  }
  .tenant-config-form.tenant-toolbar {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
  .tenant-config-form.tenant-toolbar > .ant-input,
  .tenant-config-form.tenant-toolbar > .ant-input-affix-wrapper,
  .tenant-config-form.tenant-toolbar > .ant-input-number,
  .tenant-config-form.tenant-toolbar > .ant-select,
  .tenant-config-form.tenant-toolbar > .ant-btn {
    width: 100% !important;
  }
}
.tenant-back-row {
  margin: 6px 0 14px;
}
.tenant-back {
  height: auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #8fa7ba;
  box-shadow: none;
  cursor: pointer;
  font-size: 13px;
}
.tenant-back:hover {
  color: #fff;
  background: transparent;
}


/*# sourceMappingURL=main_2026_09_30_03_50_35.css.map*/