html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Custom logo styling */
.brand-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.sidebar-header img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

/* Ensure logo is visible in dark themes */
.brand-logo img,
.sidebar-header img {
  filter:none /*brightness(0) invert(1);*/
}

/* Logo hover effect */
.brand-logo:hover img {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/* Hide Pace.js loading spinner */
.pace .pace-activity {
  display: none !important;
}

.pace .pace-progress {
  display: none !important;
}