.error-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 2rem;
}

.error-boundary__content {
  max-width: 600px;
  text-align: center;
}

.error-boundary__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.error-boundary__message {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-boundary__details {
  text-align: left;
  margin: 2rem 0;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.error-boundary__details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.error-boundary__stack {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-danger);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.error-boundary__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

