.theme-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 40px 24px;
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius);
  text-align: center;
  overflow-wrap: anywhere;
}

.theme-empty > .svg {
  color: var(--color-text-light-1);
}

.theme-empty h2,
.theme-empty h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.theme-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--color-text-light-1);
  font-size: 14px;
  line-height: 21px;
}

@media (max-width: 767px) {
  .theme-empty {
    min-height: 180px;
    padding: 32px 16px;
  }
}

/* Inside a list GitHub's empty state is a compact block without its own border. */
.theme-empty-compact {
  gap: 0;
  min-height: 0;
  padding: 32px !important;
  border: 0;
}

.theme-empty-compact > .svg {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.theme-empty-compact h2,
.theme-empty-compact h3 {
  margin: 0 !important;
  line-height: 32.5px;
}
