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;
    padding-bottom: 60px; /* Prevents content from overlapping the fixed footer */
}

.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;
}

/* Increase the width of offcanvas components that slide in from the end */
.offcanvas-end {
    width: 75% !important; /* Change percentage as needed, e.g. 50%, 60%, etc. */
}

/* If you also want to change the transition timing or easing for the slide animation */
.offcanvas {
    transition: transform 0.5s ease-in-out !important; /* Adjust duration or easing as desired */
}

/* Make only the <th> elements sticky */
.sticky-header th {
    position: sticky;
    top: 0;
    background-color: #fff; /* ensure it sits above the body rows */
    z-index: 10; /* above the scrolling rows */
}

/* (Optional) Add a subtle shadow so you can see the header separation */
.sticky-header th {
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
}

/* Ensure the container scrolls, not the whole page */
.sticky-header-container {
    /* already has overflow-y: auto and max-height inline, 
     but you can move those into CSS if you like: */
    /* max-height: 500px;  
     overflow-y: auto; */
}

