html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #F7F8FA;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #14151D;
}

body.theme-dark { background: #14151D; color: #FCFCFC; }

.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: inherit;
}

.preloader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-label {
  font-weight: 600;
  color: #039D55;
  letter-spacing: 0.5px;
}

.loader {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(3, 157, 85, 0.2);
  border-top-color: #039D55;
  border-radius: 50%;
  animation: mjspin 0.8s linear infinite;
}

@keyframes mjspin {
  to { transform: rotate(360deg); }
}
