@import "../../style/CommonStyle.module.less";
@import "../../style/utils.module.less";

[id="floatLayer"] {
  //common layout
  > div:not([id]) > div > div:nth-child(2) {
    bottom: 50%;
    transform: translateY(50%);
    overflow: unset;
    > div {
      overflow: unset;
    }
  }
}

.tPopUp {
  //enact popup reset
  margin: 0 auto !important;
  background: transparent !important;
  > div {
    padding: 0 !important;
    > div > div {
      width: unset !important;
      margin: 0 !important;
    }
  }
  box-shadow: 0 20px 70px rgba(2, 3, 3, 0.7) !important;
}

.default-style() {
  .info {
    width: 780px;
    background-color: @COLOR_WHITE;
    color: @COLOR_GRAY03;
    display: flex;
    flex-direction: column;
    font-family: @baseFont;
    box-sizing: border-box;
    border-radius: 4px;
  }

  .textLayer {
    width: 100%;

    .title {
      text-align: left;
      font-size: 36px;
      font-family: @baseFontBold;
      color: @COLOR_BLACK;
      background-color: skyblue;
      padding: 30px 60px;
    }

    .text {
      min-height: 180px;
      color: @COLOR_GRAY03;
      font-size: 30px;
      padding: 30px 60px;
      .flex();
    }
  }
}

.introTermsPopup {
  .default-style();

  .info {
    width: 1066px;
    background-color: #e6ebf0;
    padding: 60px;

    .textLayer {
      .title {
      }

      .text {
      }
    }

    .buttonContainer {
      margin: 30px 0 0 0;
      display: flex;
      justify-content: center;
    }
  }

  .title {
    width: 100%;
  }
}

.textPopup {
  .default-style();

  .info {
    .textLayer {
      .title {
      }

      .text {
      }
    }

    .buttonContainer {
      margin: 30px 0;
      display: flex;
      justify-content: center;
      gap: 12px;
    }
  }
}
