.wcpt-preset-outer {
  background: #fff;
  padding: 30px 40px;
  border: 1px solid #a4a4a4;
  display: inline-block;
  border-radius: 4px;
  box-shadow: 2px 2px 4px #ddd;
  max-width: 1200px;
  margin-right: 40px;
}

h2.wcpt-preset-heading,
h2.wcpt-preset-message-heading {
  font-size: 24px !important;
  margin: 0;
  padding: 0;
}

h2.wcpt-preset-message-heading {
  font-size: 18px !important;
}

.wcpt-presets {
  display: flex;
  flex-direction: column;
  margin: 30px 0 0;
}

.wcpt-presets__columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 40px;
}

.wcpt-presets__column {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.wcpt-presets__column--table {
  padding-right: 28px;
  border-right: 2px solid #f3f3f3;
}

.wcpt-presets__column--list {
  padding-left: 28px;
}

.wcpt-presets__column-heading {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 0 4px 0px !important;
  padding: 0 !important;
  color: #1d2327;
  line-height: 1.3 !important;
  text-transform: uppercase;
  /* font-weight: 100 !important; */
  letter-spacing: 2px;
}

.wcpt-presets__item__header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #f3f3f3;
}

.wcpt-presets__item__name {
  flex: 1;
  min-width: 0;
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  border: 0;
}

.wcpt-presets__item__name__pro {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  vertical-align: text-bottom;
  background: #e53935;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wcpt-presets__item__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.wcpt-presets__item__preview,
.wcpt-presets__item__use {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #2271b1;
  border: 1px solid #2271b1;
  border-radius: 4px;
  padding: 5px 10px;
  background: #f6f7f7;
  box-sizing: border-box;

  .wcpt-icon {
    height: auto;
  }
}

.wcpt-presets__item__use {
  cursor: pointer;
  user-select: none;
}

.wcpt-presets__item__preview:hover,
.wcpt-presets__item__preview:focus,
.wcpt-presets__item__use:hover {
  color: #135e96;
  border-color: #135e96;
  background: #f0f0f1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
}

.wcpt-presets__item__preview-icon svg,
.wcpt-presets__item__use-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.wcpt-presets__item {
  padding: 20px;
  cursor: pointer;
  border: 2px solid #f3f3f3;
  border-radius: 4px;
  text-align: left;
  transition: 0.4s border-color;
  box-sizing: border-box;
}

.wcpt-presets__item:hover {
  border-color: #2196f3;
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

.wcpt-presets__item--locked {
  cursor: default;
  pointer-events: none;
}

.wcpt-presets__item--locked:hover {
  border-color: #ddd;
  box-shadow: none;
}

.wcpt-presets__item--locked .wcpt-presets__item__preview {
  pointer-events: auto;
  cursor: pointer;
}

.wcpt-presets__item--blank {
  display: flex;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  height: auto;
  padding: 20px 20px 20px 10px;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.wcpt-presets__item--blank .wcpt-presets__item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.wcpt-presets__item--blank .wcpt-presets__item__header {
  margin-bottom: 8px;
  padding-bottom: 6px;
  align-items: center;
}

.wcpt-presets__item--blank .wcpt-presets__item__name {
  margin: 0;
}

.wcpt-presets__item--blank .wcpt-presets__item__image {
  width: 70px;
}

.wcpt-preset-applied-message {
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 6px;
  max-width: 670px;
  box-shadow: 2px 2px 5px rgb(0 0 0 / 10%);
  margin: 30px 0;
  padding: 25px 20px;
  position: relative;
  font-size: 16px;

  a {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 2px;
  }
}

ul.wcpt-preset-applied-message__list {
  list-style: circle !important;
  padding-left: 15px !important;
  color: #444;
  margin: 15px 0 5px 0;
}

ul.wcpt-preset-applied-message__list li {
  line-height: 1.8em;
  margin: 0;
}

.wcpt-preset-applied-message__dismiss {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  padding: 0;
  font-size: 20px;
  background: transparent;
  border: 0;
  color: inherit;
  line-height: 1;
}

.wcpt-preset-applied-message__shortcode {
  width: 250px;
  font-size: 16px;
  padding: 10px;
  display: inline-block;
  height: 40px;
  margin: 10px 5px 10px 0;
}

.wcpt-preset-applied-message__shortcode-copy-button {
  height: 40px;
  cursor: pointer;
  background: #2196f3;
  border: 0 solid black;
  color: white;
  border-radius: 4px;
  padding: 0 10px;
}

.wcpt-preset-applied-message__new-page-icon svg {
  width: 1em;
  /* vertical-align: middle; */
}

.wcpt-preset-applied-message__youtube-icon svg {
  width: 20px;
  height: 20px;
  /* vertical-align: middle; */
}
