/* Loaded on both the front end (registration/login/dashboard — where a
   member confirms attendance) and inside wp-admin (Service Code page).
   Uses the same tokens as the TEC theme where available, with safe
   fallbacks so it still looks right on other themes. */

:root{
  --tec-navy: var(--tec-navy, #0F1A3D);
  --tec-line: var(--tec-line, #28345F);
  --tec-cyan: var(--tec-cyan, #4FD7FF);
}

.tec-scan-result{
  margin-top:16px; padding:14px 18px; border-radius:12px;
  background:#0F1A3D; color:#fff; border:1px solid #4FD7FF;
  font-family:sans-serif;
}

/* Member's own camera-scan box (dashboard "Scan the screen instead"). */
#tec-scan-reader{ max-width:340px; margin:16px auto 0; border-radius:16px; overflow:hidden; }

/* Minimal safe styling in case the auth shortcodes are used on a theme
   that doesn't already define .tec-card / .tec-field / .btn */
.tec-auth-wrap:not(:has(.tec-card)) { font-family: sans-serif; }
