.dp-support {
  width: auto;
  max-width: none;
  margin: 20px 20px 0 0;
}

.dp-support *,
.dp-support *::before,
.dp-support *::after {
  box-sizing: border-box;
}

.dp-support__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.dp-support-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #e1dcec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 20, 58, .06);
}

.dp-support-card--chat {
  border-color: #bfaeff;
  background: linear-gradient(145deg, #fff 0%, #f3efff 100%);
  box-shadow: 7px 7px 0 rgba(108, 62, 232, .17);
}

.dp-support-card.is-disabled {
  background: #f7f7f8;
  box-shadow: none;
  opacity: .72;
}

.dp-support-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dp-support-card__top > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #eee8ff;
  color: #5e31d3;
  font-weight: 800;
}

.dp-support-card__top .dashicons {
  width: auto;
  height: auto;
  color: #6c3ee8;
  font-size: 31px;
}

.dp-support-card h2 {
  margin: 24px 0 10px;
  color: #171225;
  font-size: 21px;
  line-height: 1.25;
}

.dp-support-card p {
  flex: 1;
  margin: 0 0 22px;
  color: #6d6879;
  line-height: 1.65;
}

.dp-support-card .button {
  align-self: flex-start;
}

.dp-support__diagnostics {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(440px, 1.22fr);
  gap: 30px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #242424;
  border-radius: 21px;
  background: #eef3ff;
  box-shadow: 8px 8px 0 #6c3ee8;
}

.dp-support__diagnostics-copy > span {
  color: #6c3ee8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.dp-support__diagnostics h2 {
  margin: 9px 0 12px;
  color: #171225;
  font-size: 28px;
  line-height: 1.2;
}

.dp-support__diagnostics p {
  margin: 0;
  color: #5f6471;
  line-height: 1.72;
}

.dp-support__diagnostic-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.dp-support__diagnostics textarea {
  width: 100%;
  min-height: 430px;
  padding: 20px;
  resize: vertical;
  border: 1px solid #242424;
  border-radius: 14px;
  background: #11162e;
  color: #eef3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.62;
}

.dp-support__status {
  min-height: 22px;
  margin-top: 13px !important;
  color: #4c2bb5 !important;
  font-size: 12px;
  font-weight: 700;
}

.dp-support__privacy {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 25px 28px;
  border: 1px solid #242424;
  border-radius: 18px;
  background: #ddf8ea;
  box-shadow: 7px 7px 0 #242424;
}

.dp-support__privacy > .dashicons {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: #11162e;
  color: #fff;
  font-size: 21px;
}

.dp-support__privacy h2 {
  margin: 0 0 7px;
  color: #171225;
}

.dp-support__privacy p {
  margin: 0;
  color: #455f54;
  line-height: 1.65;
}

.divi-powers-product-home__cards article.is-support-card {
  border-color: #bfaeff;
  background: linear-gradient(145deg, #fff 0%, #f3efff 100%);
}

@media (max-width: 1240px) {
  .dp-support__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-support__diagnostics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .dp-support {
    margin-right: 10px;
  }

  .dp-support__actions {
    grid-template-columns: 1fr;
  }

  .dp-support__diagnostics {
    padding: 24px;
  }

  .dp-support__diagnostics textarea {
    min-height: 330px;
  }
}
