/* =====================================================================
   Process Friendly — PF loader (v2.4.0): animated logo overlay used by
   assets_pf/js/pf-ui.js, and the same look for the older #loader.
   ===================================================================== */
:root { --teal: #2D8C86; --gold: #C59347; --navy: #011335; }
#pfLoader { position: fixed !important; inset: 0; z-index: 20000 !important; display: flex !important; align-items: center; justify-content: center;
  background: rgba(242,243,245,.72) !important; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; }
#pfLoader.on { opacity: 1; visibility: visible; transition: opacity .18s ease; }
/* the older #loader is never drawn: pf-ui.js shows the PF loader whenever a page turns it on */
#loader { display: none !important; }
.pfl-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 34px 20px; border-radius: 24px; background: #fff;
  box-shadow: 0 24px 60px -24px rgba(1,19,53,.45); transform: scale(.94); transition: transform .2s ease; }
#pfLoader.on .pfl-card { transform: scale(1); }
.pfl-mark { position: relative; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.pfl-ring { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45,140,134,0) 0deg, var(--teal) 140deg, var(--gold) 260deg, rgba(197,147,71,0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: pflSpin 1s linear infinite; }
.pfl-img { width: 46px; height: 46px; object-fit: contain; animation: pflBreath 1.6s ease-in-out infinite; }
/* light sweep across the logo shape only */
.pfl-logo { position: absolute; width: 46px; height: 46px; left: 19px; top: 19px; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; overflow: hidden; z-index: 2; pointer-events: none; animation: pflBreath 1.6s ease-in-out infinite; }
.pfl-logo i { position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.95), rgba(255,255,255,0)); animation: pflSweep 1.6s ease-in-out infinite; }
.pfl-text { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13px; color: var(--navy); letter-spacing: .02em; }
.pfl-dots { display: flex; gap: 5px; margin-top: -4px; }
.pfl-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pflDot 1.2s ease-in-out infinite; }
.pfl-dots i:nth-child(2) { animation-delay: .15s; background: #b9a06f; } .pfl-dots i:nth-child(3) { animation-delay: .3s; background: var(--teal); }
@keyframes pflSpin { to { transform: rotate(360deg); } }
@keyframes pflBreath { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes pflSweep { 0% { left: -60%; } 55%, 100% { left: 120%; } }
@keyframes pflDot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pfl-ring, .pfl-img, .pfl-logo, .pfl-logo i, .pfl-dots i { animation-duration: 3s; } }

