/* Baseledger explorer — Unibright look (see theme.js). */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/bl-theme/fonts/lato-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/bl-theme/fonts/lato-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/bl-theme/fonts/lato-300-latin.woff2') format('woff2');
}

html,
body {
  background: #0a0e1a !important;
}

/* Soft blue glow like the unibright.io hero, fixed behind everything. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(43, 178, 252, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(43, 178, 252, 0.05) 0%, transparent 70%);
}

#bl-stars {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

#__next {
  position: relative;
  z-index: 1;
}

body,
button,
input,
.MuiTypography-root,
.MuiTableCell-root,
.MuiTab-root,
.MuiInputBase-root {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: 0.01em;
}

/* Cards: glassy surface with a hairline border, as on unibright.io. */
.MuiPaper-root {
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.MuiDrawer-paper {
  background: rgba(10, 14, 26, 0.75) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.MuiTableCell-stickyHeader {
  background: rgba(10, 14, 26, 0.9) !important;
}

.MuiTabs-indicator {
  background-color: #2BB2FC !important;
}

::selection {
  background: rgba(43, 178, 252, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  #bl-stars { display: none; }
}

/* Only the dark Unibright theme exists (theme.js forces it), so the settings
   gear next to the baseledger.net link is hidden. */
a[href="https://baseledger.net"] + div {
  display: none !important;
}
