.delete-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.15s ease-in;
}
.delete-modal.hidden { display: none; opacity: 0; }
.delete-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.delete-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 32px;
  min-width: 320px;
  max-width: 480px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
.delete-modal-title {
  font-size: 1.1rem;
  margin: 0 0 24px 0;
  color: #1d1d1f;
  font-weight: 500;
}
.delete-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.delete-modal-actions button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}
.btn-cancel { background: #f5f5f7; color: #1d1d1f; }
.btn-cancel:hover { background: #e8e8ed; }
.btn-delete { background: #ff3b30; color: #ffffff; }
.btn-delete:hover { background: #d70015; }
.delete-modal-error {
  color: #d70015;
  margin-top: 12px;
  font-size: 0.9rem;
}
.delete-modal-error.hidden { display: none; }
.fading-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.delete-x {
  background: transparent;
  border: none;
  color: #86868b;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.delete-x:hover {
  background: #ffebee;
  color: #ff3b30;
}
