.dp-bootstrap-error-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  padding: 24px;
  overflow: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.dp-bootstrap-error-card {
  max-width: 760px;
  margin: 12vh auto 0;
  padding: 32px 24px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 12%);
  text-align: center;
}

.dp-bootstrap-error-title {
  margin: 0 0 12px;
  font-size: 24px;
  color: #0f172a;
}

.dp-bootstrap-error-desc {
  margin: 0 0 16px;
  color: #475569;
}

.dp-bootstrap-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 0;
}

.dp-bootstrap-error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 32px;
  padding: 0 16px;
  color: #1f2937;
  font-size: 14px;
  line-height: 30px;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.dp-bootstrap-error-button-primary {
  color: #ffffff;
  background: #1677ff;
  border-color: #1677ff;
}

.dp-bootstrap-error-detail {
  max-height: 70vh;
  padding: 16px;
  margin: 24px 0 0;
  overflow: auto;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  background: #0f172a;
  border-radius: 12px;
  text-align: left;
}
