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;
}

/* Navigation dropdown styling */
.navbar .dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
}

.navbar .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.navbar .dropdown-item i {
  width: 1.25rem;
  margin-right: 0.5rem;
  text-align: center;
  color: #6c757d;
}

.navbar .dropdown-item:hover {
  background-color: #f8f9fa;
}

.navbar .dropdown-item:hover i {
  color: #0d6efd;
}

.navbar .dropdown-divider {
  margin: 0.25rem 0;
}

/* Active dropdown item */
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background-color: #e7f1ff;
  color: #0d6efd;
}

/* Dropdown section headers */
.navbar .dropdown-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  padding: 0.5rem 1rem 0.25rem;
}

/* Navbar link hover effect */
.navbar .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.375rem;
}

/* Footer styling */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}