.memorial-delete-button {
  background: #b91c1c !important;
  color: #fff !important;
  border-color: #991b1b !important;
}

.memorial-delete-button:hover {
  filter: brightness(1.05);
}

.memorial-delete-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.55);
}

.memorial-delete-modal {
  width: min(520px, 100%);
  max-height: 92vh;
  overflow: auto;
  box-sizing: border-box;
  border-radius: 18px;
  background: #fffaf1;
  color: #3b2415;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.memorial-delete-modal h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.memorial-delete-warning {
  margin: 0 0 8px;
  line-height: 1.4;
}

.memorial-delete-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.memorial-delete-label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
}

.memorial-delete-reason {
  width: 100%;
  min-height: 105px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid rgba(80, 50, 30, 0.25);
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  background: #fff;
  color: #3b2415;
}

.memorial-delete-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 13px 0 0;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.memorial-delete-check input {
  margin-top: 2px;
}

.memorial-delete-error {
  margin-top: 12px;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
}

.memorial-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.memorial-delete-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
}

.memorial-delete-confirm {
  background: #b91c1c;
  color: #fff;
}

.memorial-delete-confirm.loading {
  opacity: 0.65;
  cursor: progress;
}

.memorial-delete-cancel {
  background: #e8d7bd;
  color: #3b2415;
}

@media (max-width: 640px) {
  .memorial-delete-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .memorial-delete-modal {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px 18px 0 0;
    padding: 18px 15px 20px;
  }

  .memorial-delete-modal h3 {
    font-size: 20px;
  }

  .memorial-delete-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .memorial-delete-actions button {
    width: 100%;
  }
}