#modal.withdraw-modal {
  width: min(700px, 100%);
}
#modal.withdraw-modal strong {
  font-weight: 500;
}
#modal.withdraw-modal .content,
#modal.withdraw-modal .withdraw-content .fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#modal.withdraw-modal .withdraw-content .fields .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#modal.withdraw-modal .withdraw-content .fields .field input {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background-color: #f9faf9;
  padding: 16px;
  line-height: 24px;
  color: #07130c;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.045em;
  font-weight: 400;
  height: 64px;
  box-sizing: border-box;
}
#modal.withdraw-modal .withdraw-content .fields .field .input-wrapper {
  position: relative;
}
#modal.withdraw-modal .withdraw-content .fields .field .input-wrapper input {
  width: 100%;
  box-sizing: border-box;
}
#modal.withdraw-modal .withdraw-content .fields .field .input-wrapper label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 140px;
}
#modal.withdraw-modal .withdraw-content .fields .field .input-wrapper button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
}
#modal.withdraw-modal .withdraw-content .fields > button {
  width: 100%;
}
#modal.withdraw-modal .withdraw-content .card {
  background-color: #f9faf9;
  flex-direction: row;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
#modal.withdraw-modal .withdraw-content .card .card-icon {
  width: 37px;
  height: 37px;
  border: unset;
  background-color: unset;
  background-size: 100%;
}
#modal.withdraw-modal .withdraw-content .card .content {
  width: 100%;
  gap: 4px;
}
#modal.withdraw-modal .withdraw-content .card .content p {
  color: #4d544f;
}
#modal.withdraw-modal .withdraw-content .check input {
  display: none;
}
#modal.withdraw-modal .withdraw-content .check label {
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  font-weight: 400;
  color: #07130c;
  position: relative;
  padding-left: 50px;
  text-transform: none;
}
#modal.withdraw-modal .withdraw-content .check label:before {
  width: 32px;
  height: 32px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
}
#modal.withdraw-modal .withdraw-content .check label:after {
  width: 0;
  height: 0;
  border: 3px solid #00c23c;
  border-top: none;
  border-right: none;
  transform: rotate(0deg);
  content: "";
  position: absolute;
  left: 16px;
  top: 11px;
  left: 8px;
  opacity: 0;
}
#modal.withdraw-modal .withdraw-content .check input:checked + label:after {
  width: 15px;
  height: 7px;
  opacity: 1;
  left: 8px;
  top: 5px;
  transform: rotate(-45deg);
}
#modal.withdraw-modal .convert-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#modal.withdraw-modal .convert-content b,
#modal.withdraw-modal .convert-content strong {
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.045em;
  font-weight: 500;
  display: inline;
  color: #07130c;
}
#modal.withdraw-modal .convert-content .convert-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#modal.withdraw-modal .convert-content .convert-wrapper label {
  text-transform: none;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.045em;
  font-weight: 400;
}
#modal.withdraw-modal .convert-content .convert-wrapper .available {
  color: #4d544f;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.045em;
  font-weight: 400;
}
#modal.withdraw-modal .convert-content .convert-wrapper .input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
}
#modal.withdraw-modal .convert-content .convert-wrapper .input-wrapper input {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background-color: #f9faf9;
  padding: 16px;
  line-height: 24px;
  color: #07130c;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  font-weight: 400;
  height: 64px;
  box-sizing: border-box;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .from-wrapper {
  position: relative;
  flex: 1 1;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .from-wrapper
  input {
  width: 100%;
  box-sizing: border-box;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .from-wrapper
  label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 96px;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .from-wrapper
  button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .icon-wrapper
  .icon-button {
  width: 40px;
  height: 40px;
  transform: rotate(270deg);
  background-color: #49ff86;
  border: 1px solid #07130c;
  border-radius: 100px;
  background-image: url(/images/swap.svg);
  background-size: 16px;
  background-position: 50%;
  background-repeat: no-repeat;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .to-wrapper {
  position: relative;
  flex: 1 1;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .to-wrapper
  input {
  width: 100%;
  box-sizing: border-box;
}
#modal.withdraw-modal
  .convert-content
  .convert-wrapper
  .input-wrapper
  .to-wrapper
  label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}
#modal.withdraw-modal .convert-content > button {
  width: 100%;
}
@media (max-width: 860px) {
  #modal.withdraw-modal .convert-content .convert-wrapper .input-wrapper {
    flex-direction: column;
    align-items: center;
  }
  #modal.withdraw-modal
    .convert-content
    .convert-wrapper
    .input-wrapper
    .from-wrapper {
    width: 100%;
  }
  #modal.withdraw-modal
    .convert-content
    .convert-wrapper
    .input-wrapper
    .icon-wrapper {
    height: 40px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #modal.withdraw-modal
    .convert-content
    .convert-wrapper
    .input-wrapper
    .icon-wrapper
    .icon-button {
    transform: rotate(0deg);
  }
  #modal.withdraw-modal
    .convert-content
    .convert-wrapper
    .input-wrapper
    .icon-wrapper:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #e8e8e8;
    position: absolute;
    bottom: 20px;
    left: 0;
    z-index: -1;
  }
  #modal.withdraw-modal
    .convert-content
    .convert-wrapper
    .input-wrapper
    .to-wrapper {
    width: 100%;
  }
}
