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;
}

/* Mobile-specific improvements */
@media (max-width: 767.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .navbar-brand span {
    font-size: 0.9rem;
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .accordion-button {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
  
  .card-header h5 {
    font-size: 1rem;
  }
  
  /* Make tables more mobile friendly */
  .table {
    font-size: 0.875rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
  }
}

/* Extra small devices */
@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 32px !important;
  }
  
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .table {
    font-size: 0.8rem;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
  }
}