body {
  font-size: 95%;
  margin: 0;
}

.main-content {
  padding-bottom: 10em;
}

.main-content:not(:has(.breadcrumb)) {
  margin-top: 1em;
}

.top-navbar h1 {
  font-size:2.0rem;
}

.main-content h1 {
  font-size:1.6rem;
}

.main-content h2 {
  font-size:1.4rem;
}

.main-content h3 {
  font-size:1.2rem;
}

.main-content h4 {
  font-size:1.1rem;
}

table {
  border-spacing: 0.5em;
}

th, td {
  text-align: left;
}

h1 {
  font-weight: 200;
}

h2 {
  margin-block-end: 0em;
}

input[type=checkbox] {
  position: relative;
  cursor: pointer;
  margin-top: 0.8em;
  margin-right: 0.5em;
  margin-bottom: 0.8em;
  /* appearance: none; */
}
input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 1;
  left: 1;
  border-radius: 2px;
}
input[type=checkbox]:checked:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 1;
  left: 1;
  border-radius: 2px;
}
input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 6px;
}

.row-hidden {
  display: none;
}

table {
  table-layout: fixed;
  width: 100%;
}

.top-navbar a {
  text-decoration: none;
}

.top-navbar h1 {
  padding-top: 0.2em;
  padding-left:0.5em;
}

.top-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 1em;
}

.nav-profile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-profile .nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.breadcrumb {
  width: 100%;
  z-index: 999; /* Ensure it is below the header but above other content */
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 0px;
  margin-bottom: 1em;
}

.breadcrumb-divider {
  padding: 0 0.7em 0 0.7em;
  font-size: 100%;
}

.breadcrumb-first {
  padding-left: 1em;
}

.breadcrumb-last {
  font-weight: bold;
}

.breadcrumb a:not(:hover) {
  text-decoration: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
label {
  margin-bottom: 5px;
}
input[type="text"] {
  padding: 8px;
  width: 50em;
  box-sizing: border-box;
}

input[type="submit"] {
  padding: 8px;
  width: 50em;
  box-sizing: border-box;
}

table h4 {
  margin-top: 0.3em;
  margin-bottom: 0em;
}

.btn-group .px-4 {
  margin-right: 0.3em;
}

.btn-group .btn-sm {
  margin-right: 0.4em;
}

.login-container {
  max-width: 600px;
  padding: 15px;
  margin: 0 auto;
}

.form-error, .help-text {
  display: none;
}

.form-error {
  margin-top: 0.5em;
}

.help-text {
  margin-bottom: 0.5em;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-text {
  font-size: 1.2rem;
  margin-top: 1rem;
}