/* From Uiverse.io by milley69 — ECG / heartbeat loader for Hospital */
.hospital-loading,
.loading.hospital-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.hospital-loading svg,
.loading.hospital-loading svg {
  display: block;
  width: 64px;
  height: 48px;
  overflow: visible;
}

.loading svg polyline,
.hospital-loading svg polyline {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading svg polyline#back,
.hospital-loading svg polyline#back {
  fill: none;
  stroke: #ff4d5033;
}

.loading svg polyline#front,
.hospital-loading svg polyline#front {
  fill: none;
  stroke: #ff4d4f;
  stroke-dasharray: 48, 144;
  stroke-dashoffset: 192;
  animation: dash_682 1.4s linear infinite;
}

@keyframes dash_682 {
  72.5% {
    opacity: 0;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.hospital-loading-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hospital-loading-row > span {
  font-size: 0.88rem;
  color: rgba(245, 240, 240, 0.78);
}

.hospital-loading--sm svg {
  width: 48px;
  height: 36px;
}

.hospital-loading--lg svg {
  width: 88px;
  height: 66px;
}

@media (prefers-reduced-motion: reduce) {
  .loading svg polyline#front,
  .hospital-loading svg polyline#front {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 0.85;
  }
}
