.gallery-card-actions {
  border-top: 1px solid #d8e1dc;
  margin-top: 1rem;
  padding-top: 1rem;
}

.button-danger {
  background: #a32618;
  border-color: #a32618;
  color: #fff;
}

.button-danger:hover {
  background: #7f1d12;
  border-color: #7f1d12;
}

.gallery-removal-dialog {
  width: min(34rem, calc(100% - 2rem));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 20px 60px #0b1f3355;
}

.gallery-removal-dialog::backdrop {
  background: #0b1f3373;
}

.gallery-removal-dialog form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.gallery-removal-dialog h2 {
  margin: .25rem 0;
}

.gallery-removal-dialog label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

.gallery-removal-dialog input,
.gallery-removal-dialog textarea,
.gallery-removal-dialog select {
  font: inherit;
  border: 1px solid #8ba098;
  border-radius: 7px;
  padding: .65rem;
  background: #fff;
}

.gallery-removal-dialog textarea {
  min-height: 5rem;
  resize: vertical;
}

.gallery-removal-actions {
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .gallery-removal-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .gallery-removal-actions .button {
    width: 100%;
  }
}
