.fuzion-editor-modal {
  max-width: 800px;
  width: 100%;

  .components-modal__content {
    .components-button {
      margin-top: 10px;

      &.has-icon {
        padding: 6px 10px 6px 6px;
      }

      &.is-secondary {
        margin-right: 10px;
      }
    }
  }

  .components-checkbox-control:last-of-type {
    margin-bottom: 20px;
  }
}

.chart-clicked-any-results,
.chart-paid-clicks {
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  line-height: 1.3em;

  & > div > div:first-of-type {
    border: 1px solid black;
    border-top: 0;
    height: 8px;
  }

  & > div > div:last-of-type {
    text-align: center;
  }
}

.chart-clicked-any-results {
  & > div:first-of-type { width: 45%; }
  & > div:last-of-type { width: 30%; }
}

.chart-paid-clicks {
  & > div:first-of-type { width: 12%; }
  & > div:last-of-type { width: 52%; }
}

.chart-difficulty {
  font-size: 10px;
  line-height: 1.3em;
  position: relative;

  & > div {
    position: absolute;
    transform: translateX(-50%);
  }
}

.chart-grey {
 fill: #d1d5db;
}

.chart-indigo {
  fill: #6366f1;
}

.fuzion-seo-charts {
  span.dashicons-info-outline {
    font-size: 15px;
    height: 15px;
    margin-left: 5px;
    width: 15px;
  }
}

/**
 * Tooltips
 */
.fuzion-tooltip {
  display: flex;
  align-items: center;

  & > span {
    height: 15px;
  }
}

.components-tooltip.components-popover {
  .components-popover__content {
    width: 300px;
    padding: 10px;
  }
}

.components-tooltip .components-popover__content {
  white-space: normal;
}


.content-type-cards {

  .content-type-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px 8px;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .content-type-title {
    display: flex;
    align-items: center;
    margin: 5px 0 8px;
  }

  svg {
    height: 20px;
    width: 20px;
    margin-right: 10px;
  }
}

.slide-enter {
  transform: translateX(100%);

  &.left {
    transform: translateX(-100%);
  }
}
.slide-enter-active {
  transform: translateX(0%);
  transition: transform 350ms ease-in-out;

  &.left {
    transform: translateX(0);
  }
}
.slide-exit {
  transform: translate(calc(-16px + -100%), -100%);

  .left {
    transform: translate(calc(16px + 100%), 100%);
  }
}
.slide-exit-active {
  transform: translate(calc(-16px + -100%), -100%);
  transition: transform 350ms ease-in-out;
}

.fuzion-loading:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9) url('../../img/loading.gif') no-repeat center center;
  background-size: 62px;
  z-index: 110;
}
