/* Fan30Tech site-wide glow cleanup | sit v49
   Removes luminous/color-spreading shadows from buttons, cards, panels and form controls.
   Borders, fills and clear focus outlines remain intact. */

:root,
body {
  --shadow: none !important;
  --shadow-card: none !important;
  --admin-shadow: none !important;
  --auth-shadow: none !important;
  --auth-shadow-soft: none !important;
  --communication-shadow: none !important;
  --communication-shadow-soft: none !important;
  --error-shadow: none !important;
  --gate-shadow: none !important;
  --gate-shadow-soft: none !important;
  --management-shadow: none !important;
  --management-shadow-soft: none !important;
  --profile-shadow: none !important;
  --profile-shadow-soft: none !important;
}

/* Interactive controls */
:where(
  button,
  [role="button"],
  .btn,
  [class*="btn-"],
  [class*="-btn"],
  [class*="button"],
  .global-nav__cta,
  .global-nav__manager,
  .global-nav__signup,
  .mobile-bottom-nav__item,
  .mobile-bottom-nav__icon
) {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Boxes, cards and panels */
:where(
  .card,
  [class*="card"],
  [class*="panel"],
  [class*="box"],
  [class*="tile"],
  [class*="surface"],
  [class*="window"],
  [class*="chip"],
  [class*="badge"],
  [class*="banner"],
  [class*="sidebar"],
  [class*="modal"],
  [class*="dialog"]
) {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Decorative layers attached to controls/cards must not cast light either. */
:where(
  button,
  [role="button"],
  .btn,
  [class*="btn-"],
  [class*="-btn"],
  [class*="button"],
  .card,
  [class*="card"],
  [class*="panel"],
  [class*="box"],
  [class*="tile"],
  [class*="surface"],
  [class*="window"],
  [class*="chip"],
  [class*="badge"],
  [class*="banner"]
)::before,
:where(
  button,
  [role="button"],
  .btn,
  [class*="btn-"],
  [class*="-btn"],
  [class*="button"],
  .card,
  [class*="card"],
  [class*="panel"],
  [class*="box"],
  [class*="tile"],
  [class*="surface"],
  [class*="window"],
  [class*="chip"],
  [class*="badge"],
  [class*="banner"]
)::after {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Remove colored focus halos while keeping a crisp accessible outline. */
:where(a, button, [role="button"], input, textarea, select):focus,
:where(a, button, [role="button"], input, textarea, select):focus-visible {
  box-shadow: none !important;
  text-shadow: none !important;
}

:where(a, button, [role="button"], input, textarea, select):focus-visible {
  outline: 2px solid rgba(216, 173, 85, 0.68) !important;
  outline-offset: 2px !important;
}

/* Stop pulse/ring effects that create expanding light around status elements. */
:where(.pulse-dot, [class*="pulse"], .security-event-dot, [class*="status-dot"]) {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  animation: none !important;
}

/* Explicit safeguards for high-traffic site components. */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.auth-submit,
.auth-submit:hover,
.communication-button,
.communication-button:hover,
.gate-button,
.gate-button:hover,
.error-btn,
.error-btn:hover,
.password-change-submit,
.password-change-submit:hover,
.primary-button,
.primary-button:hover,
.management-button,
.management-button:hover,
.mobile-bottom-nav__surface,
.mobile-bottom-nav__item,
.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon,
.mobile-bottom-nav__item[aria-current="page"] .mobile-bottom-nav__icon {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}
