@import '~@capillarytech/cap-ui-library/styles/_variables.scss';


.cap-zalo-creatives {
  .zalo-variable-heading {
    margin-top: $CAP_SPACE_24;
  }

  .zalo-variable-list {
    margin: 0px 0px 200px;

    input,
    .ant-input-affix-wrapper {
      height: $CAP_SPACE_40;
      margin-top: $CAP_SPACE_16;
    }

    .ant-input-affix-wrapper input {
      height: auto;
      margin-top: 0;
    }

    .ant-calendar-picker {
      width: 100%;

      .ant-calendar-picker-icon {
        top: 50%;
      }
    }
  }

  .zalo-warning-message {
    margin-top: $CAP_SPACE_24;

    .zalo-warning-message-label {
      display: flex;
      align-items: center;
    }

    .alert-icon-zalo {
      margin-right: $CAP_SPACE_08;
    }
  }

  .variable-field-container {
    display: flex;
    margin-top: $CAP_SPACE_08;

    div {
      font-weight: 400;
    }

    .variable-field-length {
      position: absolute;
      right: 0;
    }
  }

  .zalo-preview-container {
    position: fixed;
    text-align: center;
    padding-left: 72px;
    padding-right: 110px;

    .preview-head {
      font-weight: 500;
      font-size: $FONT_SIZE_M;
      color: $FONT_COLOR_01;
    }

    .preview-text {
      font-weight: 400;
      font-size: $FONT_SIZE_S;
      padding-top: $CAP_SPACE_08;
    }

    .preview-link {
      font-weight: 500;
      font-size: $FONT_SIZE_M;
      color: $FONT_COLOR_05;
      margin-top: $CAP_SPACE_19;
      cursor: pointer;

      svg {
        height: $CAP_SPACE_16;
        width: $CAP_SPACE_16;
      }
    }
  }
}