/* Size for brand */
nav .navbar-brand
{
    font-size: xx-large;
}

/* Lato font as standard */
body {
    font-family: 'Lato', sans-serif;
}

/* chart.js colors for dark mode */
:root {
  --chart-color: #212529;
  --chart-border-color: #dee2e6;
  --chart-grid-color: rgba(0, 0, 0, 0.1);
  --card-bg-opacity: rgba(255, 255, 255, 0.75);
}

[data-bs-theme="dark"] {
  --chart-color: #dee2e6;
  --chart-border-color: #495057;
  --chart-grid-color: rgba(255, 255, 255, 0.1);
  --card-bg-opacity: rgba(33, 37, 41, 0.75);
}

.pie-chart {
  width: 500px;
  height: 500px;
  overflow: visible;
}

.polar-chart {
  width: 500px;
  height: 500px;
  overflow: visible;
}

.login-bg {
  background-image: url("/static/img/login-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - var(--navbar-height, 56px) );
  position: relative;
  z-index: 0;
}

.login-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.register-bg {
  background-image: url("/static/img/register-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: calc(100vh - var(--navbar-height, 56px) );
  position: relative;
  z-index: 0;
}

.register-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}