.confirm-delete-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.confirm-delete-modal {
  background: var(--color-bg-secondary, #1e1e1e);
  border: 1px solid var(--color-border, #3c3c3c);
  border-radius: 8px;
  min-width: 450px;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.confirm-delete-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border, #3c3c3c);
}

.confirm-delete-modal-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text, #fff);
}

.confirm-delete-modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted, #888);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 4px;
}

.confirm-delete-modal-close:hover {
  background: var(--color-bg-tertiary, #2a2a2a);
  color: var(--color-text, #fff);
}

.confirm-delete-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.confirm-delete-message {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text, #ccc);
  margin-bottom: 16px;
}

.confirm-delete-message strong {
  color: var(--color-text, #fff);
  font-weight: 600;
}

.confirm-delete-warning {
  display: flex;
  gap: 12px;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 6px;
  padding: 12px;
  margin-top: 16px;
}

.warning-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.warning-content {
  flex: 1;
  font-size: 13px;
  color: var(--color-text, #ccc);
}

.warning-content strong {
  color: #ffa500;
  font-weight: 600;
}

.reference-list {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}

.reference-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--color-bg-primary, #0d0d0d);
  border-radius: 4px;
  margin-bottom: 6px;
  font-size: 13px;
}

.reference-type {
  font-size: 16px;
  flex-shrink: 0;
}

.reference-title {
  color: var(--color-text, #ccc);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-note {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: var(--color-text-muted, #888);
}

.confirm-delete-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--color-border, #3c3c3c);
}

.confirm-delete-modal-footer button {
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.button-cancel {
  background: var(--color-bg-tertiary, #2a2a2a);
  color: var(--color-text, #ccc);
  border: 1px solid var(--color-border, #3c3c3c);
}

.button-cancel:hover {
  background: var(--color-bg-hover, #333);
  color: var(--color-text, #fff);
}

.button-delete {
  background: var(--color-error, #f14c4c);
  color: #fff;
}

.button-delete:hover {
  background: #d43f3f;
}
