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.15rem rgba(99, 102, 241, 0.35);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background: #f8f9fc;
  color: #1f2937;
}

/* -------------------------------------------------------------
   Tables (portal style – similar to modern admin lists)
-------------------------------------------------------------- */
.table-portal {
  border-collapse: separate;
  border-spacing: 0;
}

.table-portal thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  background: #f8f9fc;
  border-top: 0;
  border-bottom: 1px solid #e3e6f0;
}

.table-portal tbody td {
  border-top: 1px solid #edf2f7;
  vertical-align: middle;
  padding: 0.85rem 0.9rem;
}

.table-portal.table-hover tbody tr:hover {
  background: #f6f9ff;
}

.table-actions {
  white-space: nowrap;
}

.table-actions .btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.table-actions form.d-inline {
  margin: 0;
}

.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;
}