:root {
  --bs-primary: #9484FF;
  --bs-primary-rgb: 148,132,255;
}

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 #9484FF;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-top: 70px;
}

/* Ensure the navbar logo has a consistent size */
.navbar-brand img {
  height: 30px;
  width: auto;
}

/* Custom styles for the front page */
.feature-box {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
  color: #9484FF;
}

/* Override bootstrap primary button color */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #9484FF;
  border-color: #9484FF;
}

.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(148,132,255,0.5);
}

/* Ensure navbar items remain visible when Tailwind's `collapse` class is present */
.navbar-collapse {
  visibility: visible !important;
}
