.margin-borrow-repay-main {
  width: 588px;
}
.margin-borrow-repay-main .mantine-GateModal-content {
  padding: 0px 40px 0px 40px;
  margin: 0;
}

/* .margin-borrow-repay-main .mantine-Modal-header {
  display: none;
} */

.margin-borrow-repay-title {
  display: flex;
  font-size: 20px;
  font-weight: 600;
}
.margin-borrow-repay-title > .margin-space {
  width: 32px;
}
.margin-borrow-repay-title > div {
  height: 38px;
  box-sizing: border-box;
  color: var(--color-text-3);
  line-height: 24px;
  margin-top: 2.5px;
  cursor: pointer;
}
.margin-borrow-repay-title div.margin-active-title {
  border-bottom: solid var(--color-text-1) 2px;
  color: var(--color-text-1);
}

.margin-borrow-repay-body {
  /* margin: 0 0; */
  margin-bottom: 16px;
  padding-top: 32px;
}

.unified-borrow-flex {
  height: 32px;
}
.unified-borrow-coin .mantine-InputWrapper-root + .unified-borrow-flex {
  margin-top: 8px;
}

.margin-right-borrow-num {
  color: var(--color-text-1);
  position: absolute;
  right: 4px;
}
.unified-repay-coin-search + .mantine-Popover-dropdown .mantine-GateSearchSelect-item[data-selected="true"] .margin-right-borrow-num {
  right: 25px;
}

.default-coin-show {
  margin-left: 7px;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
  align-self: center;
  line-height: 40px;
}
.unified-transfer-icon {
  color: var(--color-icon-5);
  margin-left: 5px;
  cursor: pointer;
}
.unified-repay-coin-search + .mantine-Popover-dropdown .mantine-SelectItem-root {
  width: 100%;
}

.margin-modal-close-btn {
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 16px;
  width: 16px;
  height: 16px;
  color: var(--color-text-4);
}

.borrow-repay-slider {
  margin-top: 16px;
  margin-bottom: 16px; 
  height: 24px;
  padding-left: 8px;
  padding-right: 8px;
  margin-right: 6px;
}

.unified-borrow-now {
  margin-top: 8px;
  padding: 8px;
  color: var(--color-text-1);
  border-color: var(--color-divider-5);
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
}

.borrow-now-icon {
  color: var(--color-text-5);
  cursor: pointer;
  font-weight: 500;
}
.borrow-now-icon svg {
  width: 12px;
  height: 12px
}

.unified-underline-cls {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  cursor: pointer;
}


.unified-margin-footer {
  display: grid;
  gap: 16px;
  grid-auto-flow: column;
}
.unified-coin-icon {
  margin-right: 8px;
}
.unified-handle-all {
  color: var(--color-text-5);
  cursor: pointer;
}

/* ar fix */
html[lang='ar'] .unified-coin-icon {
  margin-left: 8px;
  margin-right: 0;
}
html[lang='ar'] .margin-modal-close-btn {
  left: 16px;
  right: unset;
}
html[lang='ar'] .unified-transfer-icon {
  margin-right: 5px;
  margin-left: 0;
}
/* ar fix end*/