/* Teknexus.Blazor.Themes.Ubold — Blazor WebAssembly host shell (index.html #app / #blazor-error-ui).
   Link after app.min.css:
   <link href="_content/Teknexus.Blazor.Themes.Ubold/css/ubold-blazor-host.css" rel="stylesheet" type="text/css" /> */

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10800;
  padding: 0.65rem 2.25rem 0.65rem 1rem;
  background: #fff3cd;
  color: #664d03;
  border-top: 1px solid #ffecb5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.75;
  line-height: 1;
}

#blazor-error-ui .dismiss:hover {
  opacity: 1;
}

#blazor-error-ui .reload {
  color: #0d6efd;
  font-weight: 600;
  margin-left: 0.35rem;
}

body.blazor-error #blazor-error-ui {
  display: block;
}

#app .loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem auto;
}

#app .loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

#app .loading-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
}

#app .loading-progress-text {
  position: relative;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #6c757d;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  margin-top: 0.25rem;
}
