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;
}

/* Admin action button tweaks: slightly larger and clearer icon+label */
.action-btn {
  padding: .35rem .45rem;
  font-size: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.action-btn i {
  font-size: 1.05rem;
}
.action-btn.me-1 { margin-right: .5rem; }

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0; /* let main layout provide spacing */
}

/* Ensure the main content grows to push footer to bottom */
.container > main[role="main"], .container main[role="main"] {
  flex: 1 0 auto;
}

.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;
}

/* Admin view tweaks */
.card .table-responsive { background: transparent; }
.btn-sm { padding: .25rem .5rem; }
.me-1 { margin-right: .25rem; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.table thead th { vertical-align: middle; }