th,
td {
  min-width: 30px;
}

#alerts {
  position: fixed;
  margin-left: 1rem;
  right: 1rem;
  bottom: 0;
}

#keytable th {
  color: #000 !important;
  font-weight: var(--bs-body-font-weight);
}

#qos-table thead th {
  height: 8em;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
}

#qos-table .slanting-wrapper {
  transform: rotate(315deg) translateX(15px) translateY(10px);
}

#qos-table .slanting {
  position: absolute;
  bottom: 15px;
  left: 0px;
}

#spinner-container {
  position: relative;
}

.spinner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translateY(-50%);
}

.htmx-request #qos-matrix-container,
.htmx-request #qos-chart-container,
.htmx-request #flows-chart-container {
  opacity: 0.2;
}

.select2-results__option--disabled {
  display: none;
}

.status-active {
  display: inline-flex;
  background-color: forestgreen;
  color: white;
  align-items: center;
}

.status-pending {
  display: inline-flex;
  background-color: orange;
  color: white;
  align-items: center;
}

.status-closed {
  display: inline-flex;
  background-color: darkred;
  color: white;
  align-items: center;
}

.status-non-active {
  display: inline-flex;
  background-color: #B2B5B8;
  color: white;
  align-items: center;
}

.second-level-nav-items {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

section.hero .row {
  min-height: auto !important;
}

.badge {
  line-height: 1.2em;
}

.password-button {
  border-color: #dee2e6 !important;
  border-left: 0;
  background-color: white !important;
  border-radius: 0.375rem;
  color: #696f76 !important;
}

a.text-primary:not(.btn) {
  color: #0d36c2 !important;
}
