.container{
  width: 100%;
  height: 100%;
  background-color: var(--widget-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem 1rem;
}
.content{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  & .mail_title_con{
    display: flex;
    flex-direction: column;
    color: var(--header);
    gap: 0.5rem;
    width: 100%;
    & .item_con{
      display: flex;
      align-items: center;
      justify-content: space-between;
      & .icon{
        width: 1.2rem;
        height: 1.2rem;
        fill: var(--text);
      }
    }
    & .title_item{
      display: flex;
      gap: 0.5rem;
    }
    & .item_line{
      width: 100%;
      border-top: 1px solid var(--card-line);
    }
  }
  & .mail_con{
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    width: 100%;
    flex: 1;
    & .mail_content{
      white-space: pre-line;
      word-wrap: break-word;
      word-break: break-all;
      color: var(--text);
    }
  }
  & .bonus_con{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 2rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.01));
    gap: 1rem;
    & .bonus_list{
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      gap: 0.5rem;
      & .bonus_box{
        display: flex;
        position: relative;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 3.2rem;
        min-height: 3.2rem;
        max-width: 3.2rem;
        max-height: 3.2rem;
        background-color: var(--card-bg);
        border-radius: var(--border-radius);
        border: 1px solid var(--primary-color);
        color: var(--header);
        & .coin{
          width: 1.2rem;
          height: 1.2rem;
        }
        & .num{
          display: flex;
          //position: absolute;
          //bottom: 0;
        }
      }
    }
    & .rec_btn{
      max-width: 35%;
      &:disabled{
        background-color: var(--pay-btn-bg);
        background-image: var(--pay-btn-bg);
        cursor: default;
      }
    }
  }
}
