/* ============================================================
   LEARNERSFIELD — LFC28 branded loader skin (front site)
   Covers markup shipped by layout/index.php: <div class="loader-container"><div class="lds-dual-ring"></div></div>
   Loads AFTER greenglass.css => wins all existing preloader rules.
   Does NOT touch premium.js hide/remove behavior (hidden-load, 2.6s cap).
   ============================================================ */
.loader-container {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: radial-gradient(1200px 700px at 50% 42%, #1d4a40 0%, #173c35 48%, #102a27 100%);
  transition: opacity .5s ease, visibility .5s ease;
  opacity: 1;
  visibility: visible;
}
.loader-container.hidden-load,
.loader-container.loader-fadeout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-container::before {
  content: "LEARNERS FIELD";
  position: absolute;
  left: 50%;
  top: calc(50% - 96px);
  transform: translateX(-50%);
  font: 600 15px/1 "Playfair Display", Georgia, serif;
  letter-spacing: .42em;
  color: #f7f6f1;
  white-space: nowrap;
}
.loader-container::after {
  content: "Preparing tomorrow \2014  today";
  position: absolute;
  left: 50%;
  top: calc(50% + 88px);
  transform: translateX(-50%);
  font: 500 12.5px/1 "Manrope", Arial, sans-serif;
  letter-spacing: .2em;
  color: rgba(215, 231, 166, .85);
  white-space: nowrap;
  animation: lfBreathe 1.8s ease-in-out infinite;
}
.lds-dual-ring {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0;
  display: block;
  background: none;
}
.lds-dual-ring::after {
  content: "";
  position: static;
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d7e7a6;
  border-bottom-color: #c4a66a;
  animation: lfSpin 1.05s linear infinite;
}
.lds-dual-ring::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(215, 231, 166, .35);
  animation: lfSpin 12s linear infinite reverse;
}
@keyframes lfSpin {
  to { transform: rotate(360deg); }
}
@keyframes lfBreathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lds-dual-ring::after { animation-duration: 2.4s; }
  .lds-dual-ring::before { animation: none; }
  .loader-container::after { animation: none; }
}
