.container {
  width: 100%;
  // min-height: 100%;
  background-color: var(--widget-bg);

  display: flex;
  flex-direction: column;
  padding: 0 1.2rem;
  overflow-y: auto;
  margin-bottom: 2rem;
}

.form_box {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;

  font-size: 1.05rem;
  gap: 1rem;

  .amount_title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .amount_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;

    height: 4rem;
    background: var(--input-box);
    border-radius: 2rem;
    gap: 1rem;

    & .input_box {
      flex: 1;
    }

    & .max_btn {
      background: var(--buttonColor);
      padding: 0 1rem;
      border-radius: 2rem;
      font-weight: 800;

      height: 2.5rem;
    }
  }
}


.disable_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & .blance_box {
    width: 100%;
    background-color: var(--darkColor1);
    border-radius: .4rem;
    margin: 1.25rem auto;
    padding: .8rem;

    color: #fff;
    text-align: center;
    line-height: 1.15rem;
    font-size: 1rem;

    & .blance_line {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;


      margin-top: .8rem;

      .blance_item {
        width: 40%;
        background-color: var(--mainBgColor);
        border-radius: 0.25rem;
        padding: 1.2rem 0;

        font-weight: 400;
        font-size: 1rem;
        line-height: 1.5rem;
      }
    }
  }

  & .tx_gray_btn {
    background: var(--darkColor3);
    border-radius: 1.5rem;
    color: var(--textGrayColor);
    font-size: 1.3rem;
    font-weight: 700;
    height: 3rem;
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
  }

  & .enable_tips {
    color: var(--warningColor);
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2rem;
    margin-top: 1rem;
  }

  & .deposit_btn {
    margin: 1.8rem auto 2.5rem;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    & .btn_deposit {
      width: 100%;
      border-radius: 2rem;
      background: var(--buttonColor);
      padding: .6rem 3rem;
      font-weight: 800;
      box-shadow: 0 0 1.5rem rgba(0, 0, 0, .3);
    }

    & .gift_tips {
      align-items: center;
      background: #ea8f0d;
      border-radius: .4rem;
      color: #fff;
      display: flex;
      font-size: 1rem;
      font-weight: 700;
      height: 1.5rem;
      justify-content: center;
      line-height: 1.2rem;
      position: absolute;
      text-align: center;
      width: 5rem;
      margin-top: 3.8rem;
      gap: .2rem;

      &::before {
        border-bottom: .4rem solid #ea8f0d;
        border-left: .4rem solid transparent;
        border-right: .4rem solid transparent;

        content: "";
        left: 50%;
        position: absolute;
        top: -20%;
        transform: translate(-50%);

      }


      & .gift_icon {
        fill: #fff;
        width: 1rem;
        height: 1rem;
      }
    }

  }
}

.warnlbl {
  color: var(--warningColor);
}

.greenlbl {
  color: var(--primaryColor);
}

.boldlbl {
  font-weight: 600;
  font-size: 1.6rem;

  margin-top: .8rem;
}

.tx_b_m_l {
  margin-top: .8rem;

  font-weight: 600;
  font-size: 1.6rem;
  color: var(--primaryColor);

  display: flex;
}

.tx_b_m_l_m {
  flex: 1;
  font-weight: 400;
}

.tx_b_m_yet {
  color: var(--textGrayColor);
  font-size: .6rem;
  line-height: 2rem;
  line-height: 1;
  width: min-content;
  padding-right: .5rem;
  text-align: left;
}


.a_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.a_balance_div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  & .item {
    flex: 1;
    height: 8rem;
    background: var(--darkColor1);
    border-radius: .6rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .7rem;

    &_title {
      color: var(--textGrayColor);
      font-size: 1.1rem;
      text-align: center;
      line-height: 1.1rem;
    }

    &_line {
      background: var(--darkColor2);
      width: 80%;
      height: .1rem;
    }

    &_money {
      font-size: 1.7rem;
      font-weight: 600;
      color: #fff;

      display: flex;
      flex-direction: row;
      text-align: center;
      margin-top: .5rem;
      gap: .5rem;

      & .circle {
        width: 1.7rem;
        height: 1.7rem;
        border: .15rem solid #fff;
        border-radius: 50%;
        background: transparent;

        font-size: 1.3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
    }

    &_money2 {
      font-size: 1.7rem;
      font-weight: 600;
      color: var(--primaryColor);
      text-align: center;

      margin-top: .5rem;
    }
  }
}

.tx_form {
  width: 110%;
  margin-top: 2rem;
}


.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: var(--widget);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--widget-shadow);
  position: relative;
  height: 3.75rem;
  padding: 0px 10px;

  & .top {
    display: flex;
    align-items: center;
    position: fixed;
    justify-content: space-between;
    left: 10px;
    right: 10px;

    & .left {
      display: flex;
      align-items: center;
      gap: 0.25rem;

      & .close {
        display: flex;
        align-items: center;
        height: 3.75rem;
        width: 2rem;

        & .arrow {
          width: 1.4rem;
          height: 1.8em;
          transform: rotate(-180deg);
          fill: var(--text);
        }
      }
    }

    & .right {
      display: flex;
      align-items: center;

      & .right_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.5rem;
        width: 2.5rem;

        & .icon {
          width: 1.4rem;
          height: 1.4rem;
          fill: var(--text);
        }
      }
    }
  }

  & .hcontent {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--header);
  }
}



.dot_box {
  background: var(--textGrayColor);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  color: #000000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row_line {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}