.l4u-data-deletion {
  --l4u-deletion-muted: #755f69;
  --l4u-deletion-border: rgba(120, 85, 94, 0.24);
  --l4u-deletion-field: #fff;
  --l4u-deletion-panel: #fff0f6;
  overflow-wrap: anywhere;
}

/* Keep this page's mobile pricing menu inside the viewport, even while closed. */
.l4u-data-deletion-page .l4u-mobile-nav-menu-pricing .l4u-mobile-nav-panel {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.l4u-data-deletion-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.l4u-data-deletion-types li {
  padding: 0.7rem 1rem;
  border: 1px solid var(--l4u-deletion-border);
  border-radius: 0.85rem;
}

.l4u-data-deletion-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.l4u-data-deletion-field,
.l4u-data-deletion-preview {
  display: grid;
  gap: 0.5rem;
}

.l4u-data-deletion label,
.l4u-data-deletion-preview h3 {
  font-weight: 800;
  line-height: 1.5;
}

.l4u-data-deletion-optional {
  color: var(--l4u-deletion-muted);
  font-size: 0.85em;
  font-weight: 500;
}

.l4u-data-deletion input,
.l4u-data-deletion textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--l4u-deletion-border);
  border-radius: 0.85rem;
  background: var(--l4u-deletion-field);
  color: inherit;
  font: inherit;
  font-size: 1rem;
  line-height: 1.65;
}

.l4u-data-deletion textarea {
  resize: vertical;
}

.l4u-data-deletion input::placeholder,
.l4u-data-deletion textarea::placeholder {
  color: var(--l4u-deletion-muted);
  opacity: 1;
}

.l4u-data-deletion :is(input, textarea, button, a):focus-visible {
  outline: 3px solid #b53771;
  outline-offset: 3px;
}

.l4u-data-deletion-field p,
.l4u-data-deletion-note {
  font-size: 0.88rem;
}

.l4u-data-deletion .l4u-legal-primary-action {
  justify-self: start;
  justify-content: center;
  font-weight: 700;
  text-align: center;
}

.l4u-data-deletion-preview {
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--l4u-deletion-border);
  border-radius: 1.2rem;
  background: var(--l4u-deletion-panel);
}

.l4u-data-deletion-preview[hidden] {
  display: none;
}

.l4u-data-deletion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.l4u-data-deletion-copy {
  min-height: 3.15rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--l4u-deletion-border);
  border-radius: 1rem;
  background: var(--l4u-deletion-field);
  color: inherit;
  font-weight: 700;
}

html.l4u-dark .l4u-data-deletion {
  --l4u-deletion-muted: #c8bfd5;
  --l4u-deletion-border: rgba(224, 177, 229, 0.3);
  --l4u-deletion-field: #171a30;
  --l4u-deletion-panel: #252038;
}

html.l4u-dark .l4u-data-deletion :is(input, textarea, button, a):focus-visible {
  outline-color: #ff9bce;
}

@media (max-width: 560px) {
  .l4u-data-deletion-types {
    grid-template-columns: minmax(0, 1fr);
  }

  .l4u-data-deletion-actions {
    flex-direction: column;
  }

  .l4u-data-deletion .l4u-legal-primary-action {
    justify-self: stretch;
  }
}
