/* WPBakery AI icon control
---------------------------------------------------------- */
.vc_ui-icon-ai-container {
  position: relative;

  .vc_ui-icon-ai {
    top: -15px;
  }
}

.vc_ui-icon-ai {
  position: absolute;
  top: -25px;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #5E5E5E;
  font-size: 19px;
  cursor: pointer;
  transition: 0.2s color ease-in-out;

  &:hover {
    color: #0772CE;
  }

  span {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 600;
  }
}

.vc_settings-tab-content .form-table {
  margin-top: 20px;

  .vc_ui-icon-ai {
    position: relative;
    top: 0;
  }
}

.vc_ui-settings-text-wrapper {
  display: flex;

  p {
    margin: 0;
  }

  .vc_ui-icon-ai {
    position: relative;
    top: 0;
    margin-left: auto;
  }
}

// Backend Editor (Classic mode)

#postdivrich:not(.vc-disable-editor) {
  position: relative;
  margin-top: 15px;
}

#postdivrich .vc_ui-icon-ai {
  top: -5px;
  z-index: 9999;
}


.vc_modal .wpb-ai-credits-message {
  margin: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;

  .vc_ui-ai-promo, .vc_heading, .vc_description, .vc_ui-button {
      margin: 0;
  }
}
