/* loader.css
   TruthLens Global Loader styles (green, calm glow)
*/

#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#pageLoader.show { display: flex; }

#pageLoader .box {
  width: min(520px, 92vw);
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(18, 24, 20, 0.85);
  border: 1px solid rgba(120, 255, 180, 0.25);
  box-shadow:
    0 0 0 1px rgba(120, 255, 180, 0.12),
    0 20px 45px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(120, 255, 180, 0.15);
  color: rgba(230, 255, 240, 0.95);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

#pageLoader .row {
  display: flex;
  gap: 12px;
  align-items: center;
}

#pageLoader .spinner {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid rgba(120, 255, 180, 0.25);
  border-top-color: var(--brand-green, #67f5b4);
  animation: tlspin 0.9s linear infinite;
  box-shadow: 0 0 10px rgba(120, 255, 180, 0.45);
  flex: 0 0 auto;
}

@keyframes tlspin {
  to { transform: rotate(360deg); }
}

#pageLoader .title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--brand-green, #67f5b4);
  text-shadow: 0 0 12px rgba(120, 255, 180, 0.45);
}

#pageLoader .sub {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(200, 255, 220, 0.75);
  line-height: 1.35;
}

#pageLoader .tiny {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(180, 220, 200, 0.55);
}