/* Site preloader: animated rings + "Loading" text, in the EntroviaDrive teal palette */
.preloader { background: #fff !important; flex-direction: column; }
.preloader img { display: none; }

#wifi-loader {
  --front-color: #14b8a6;
  --front-color-2: #0d9488;
  --back-color: #cdeee9;
  --text-color: #5f5f68;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
#wifi-loader svg { position: absolute; display: flex; justify-content: center; align-items: center; }
#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}
#wifi-loader svg circle.back { stroke: var(--back-color); }
#wifi-loader svg circle.front { stroke: var(--front-color); }

#wifi-loader svg.circle-outer { height: 86px; width: 86px; }
#wifi-loader svg.circle-outer circle { stroke-dasharray: 62.75 188.25; }
#wifi-loader svg.circle-outer circle.back { animation: ed-circle-outer 1.8s ease infinite .3s; }
#wifi-loader svg.circle-outer circle.front { animation: ed-circle-outer 1.8s ease infinite .15s; }

#wifi-loader svg.circle-middle { height: 60px; width: 60px; }
#wifi-loader svg.circle-middle circle { stroke-dasharray: 42.5 127.5; }
#wifi-loader svg.circle-middle circle.back { animation: ed-circle-middle 1.8s ease infinite .25s; }
#wifi-loader svg.circle-middle circle.front { animation: ed-circle-middle 1.8s ease infinite .1s; }

#wifi-loader svg.circle-inner { height: 34px; width: 34px; }
#wifi-loader svg.circle-inner circle { stroke-dasharray: 22 66; }
#wifi-loader svg.circle-inner circle.back { animation: ed-circle-inner 1.8s ease infinite .2s; }
#wifi-loader svg.circle-inner circle.front { animation: ed-circle-inner 1.8s ease infinite .05s; }

#wifi-loader .text {
  position: absolute;
  bottom: -44px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
}
#wifi-loader .text::before, #wifi-loader .text::after { content: attr(data-text); }
#wifi-loader .text::before { color: var(--text-color); }
#wifi-loader .text::after { color: var(--front-color-2); animation: ed-text 3.6s ease infinite; position: absolute; left: 0; }

@keyframes ed-circle-outer { 0% { stroke-dashoffset: 25; } 25% { stroke-dashoffset: 0; } 65% { stroke-dashoffset: 301; } 80% { stroke-dashoffset: 276; } 100% { stroke-dashoffset: 276; } }
@keyframes ed-circle-middle { 0% { stroke-dashoffset: 17; } 25% { stroke-dashoffset: 0; } 65% { stroke-dashoffset: 204; } 80% { stroke-dashoffset: 187; } 100% { stroke-dashoffset: 187; } }
@keyframes ed-circle-inner { 0% { stroke-dashoffset: 9; } 25% { stroke-dashoffset: 0; } 65% { stroke-dashoffset: 106; } 80% { stroke-dashoffset: 97; } 100% { stroke-dashoffset: 97; } }
@keyframes ed-text { 0% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0); } 100% { clip-path: inset(0 0 0 100%); } }
