.future_tool_modal_sub_title {
  color: var(--colorgray2);
  height: 24px;
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 32px;
}

.future_tool_modal_body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 24px;
}

.future_tool_account_item {
  padding: 24px;
  background-color: var(--brandColorMenuHover);
  margin-bottom: 12px;
  cursor: pointer;
}
.future_tool_account_item_active {
  background-color: var(--tabBg);
}

.future_tool_account_item_header {
  color: var(--colorFont1);
  font-size: 20px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.future_tool_account_item_desc {
  font-weight: 400;
  margin-top: 8px;
  font-size: 16px;
  color: var(--colorgray2);
}

.future_tool_account_item_icon {
  margin-right: 8px;
  padding-bottom: 2px;
  font-size: 16px;
}

.future_tool_account_item_circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--borderGray);
  box-sizing: border-box;
}

.future_tool_account_item_circle_active {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 5px solid var(--brandColor);
  box-sizing: border-box;
}

.future_tool_account_item_advantage {
  color: var(--colorFont1);
  font-size: 20px;
  margin-bottom: 24px;
}

.future_tool_advantage_container {
  display: grid;
  grid-template-columns: 8px auto;
  grid-column-gap: 12px;
  margin-bottom: 24px;
}

.future_tool_advantage_span {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background-color: var(--green);
}

.future_tool_advantage_title {
  color: var(--colorFont1);
  height: 22px;
  line-height: 22px;
  font-size: 14px;
  margin-bottom: 8px;
}

.future_tool_advantage_desc {
  color: var(--colorgray2);
  font-weight: 400;
  font-size: 16px;
  line-height: 158%;
}

.future_tool_modal_footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 24px;
}

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

.future_tool_checkbox_container span {
  margin-left: 8px;
  color: var(--colorgray3);
  font-size: 16px;
}

/* .future_tool_checkbox_container input[type=checkbox] {
  width: 16px;
  height: 16px;
  border: 1px solid #E6E9F2;
  border-radius: 2px;
}

.future_tool_checkbox_container input[type="checkbox"]:checked {
  background-color: var(--brandColor) !important;
  display: inline-flex;
  justify-content: center;
}

.future_tool_checkbox_container input[type=checkbox]:checked::before {
  content: "✓";
  color: var(--colorWhite);
  font-weight: bold;
  align-self: center;
} */

.future_tool_checkbox {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  cursor: pointer;
  box-sizing: border-box;
}

.future_tool_checkbox_unchecked {
  border: 1px solid #E6E9F2;
  background-color: transparent;
}

.future_tool_checkbox_checked {
  background-color: var(--brandColor);
  color: var(--colorWhite);
  text-align: center;
}

.future_tool_checkbox_checked img {
  width: 12px;
  height: 14px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 4px;
}

.future_tool_modal_close {
  width: 10px;
  height: 10px;
  color: var(--iconGray);
  cursor: pointer;
}

.mantine_modal {
  padding: 24px 40px !important;
  background-color: var(--color-bg-3);
  border-radius: 16px;
}

.mantine_modal_overlay {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.mantine_select_dropDown {
  min-width: 140px;
  background-color: var(--color-bg-4);
  box-shadow: 0px 0px 24px rgba(70, 100, 140, 0.15);
  border-radius: 8p;
  border: none;
  padding: 8px 0;
  right: 0;
  z-index: 10000;
}
.mantine_select_dropDown::-webkit-scrollbar {
  width: 5px !important;
}
/* .mantine_select_dropDown::-webkit-scrollbar-track {
  background: transparent !important;
} */

.mantine_select_dropDown::-webkit-scrollbar-thumb {
  background: var(--color-neutral-3);
}

.mantine_select_item {
  height: 40px;
  color: var(--color-text-1);
  border-radius: 0;
  line-height: 40px;
  padding: 0 16px;
  padding-right: 0;
}

.mantine_select_item:hover {
  background-color: var(--color-card-3);
  color: var(--color-brand-1);
}

.mantine_select_selected {
  background-color: var(--color-card-3);
  color: var(--color-brand-1);
}
.mantine_select_root {
  height: 40px;
  z-index: 10000;
}


.mantine_select_input {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  background: var(--color-card-1) !important;
  color: var(--color-text-3);
}
.mantine_select_right_section {
  width: 12px;
  right: 12px;
  pointer-events: none;
}

.trade_modal_header {
  display: flex;
  justify-content:space-between;
  align-items: start;
}

.trade_modal_title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-1);
  line-height: 1.5;
}

.trade_modal_close {
  color: var(--color-text-4);
  margin-right: -16px;
  cursor: pointer;
}

.trade_modal_close_bg {
  font-size: 24px !important;
  height: 24px;
  width: 24px;
  color: var(--color-text-4);
  margin-right: -16px;
  margin-top: -16px;
  cursor: pointer;
}
.trade_transfer_account_container {
  display: grid;
  grid-template-columns: 1fr 16px 1fr;
  column-gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.trade_transfer_account_container > div {
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  background-color: var(--color-card-1);
  padding: 0 16px;
  font-size: 16px;
  color: var(--color-text-3);
}

.trade_transfer_account_container > img  {
  width: 16px;
  height: 16px;
}

.trade_modal_btn {
  height: 40px;
  line-height: 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--color-brand-1);
  cursor: pointer;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade_modal_btn:hover {
  background-color: var(--color-brand-2);
}

.common-amount-withall {
  border: 1px solid var(--color-divider-1);
  background: var(--color-card-1)!important;
  color: var(--color-text-3);
  margin-top: 30px!important;
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
}

.common-amount-withall input {
  background: var(--color-card-1)!important;
}


.common-amount-withall .unit {
  color: var(--color-text-1);
}

.common-amount-withall .all-borrow {
  color: var(--color-brand-1);
  cursor: pointer;
  border-left: 1px solid var(--color-divider-1);
  padding-left: 12px;
  margin-left: 12px;
}