:root {
  --ux-focus: 0 0 0 0.2rem rgba(37, 99, 235, 0.22);
  --ux-border: #dbe3ee;
  --ux-bg-muted: #f8fafc;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
}

.btn,
.form-control,
.form-select,
.input-group-text {
  border-radius: 0.6rem;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: var(--ux-focus);
}

.form-control::placeholder {
  color: #708097;
}

.table-responsive {
  border-radius: 0.7rem;
}

.ux-sticky-head thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.25);
}

.ux-search-shortcut-hint {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.3rem;
}

.ux-submit-busy {
  pointer-events: none;
  opacity: 0.92;
}

.ux-submit-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-top-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-block;
  animation: ux-spin 0.75s linear infinite;
  margin-right: 0.45rem;
  vertical-align: -0.1rem;
}

@keyframes ux-spin {
  to {
    transform: rotate(360deg);
  }
}

.ux-inline-search {
  background: var(--ux-bg-muted);
  border: 1px solid var(--ux-border);
}
