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;
}

/* Sticky header and scrollable content */
html, body {
    height: 99%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    flex-shrink: 0; /* Prevent header from shrinking */
}

main {
    flex: 1 1 auto; /* Allow main content to grow and scroll */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-bottom: 20px; /* Space above footer */
}

footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    margin-top: auto; /* Push footer to bottom */
    height: 50px; /* Match padding-bottom of body */
    line-height: 50px; /* Vertically center text */
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 95vh; /* Full viewport height */
}