:root {
  --primary: #276b93;
  --secondary: #6599b7;
  --primary-light: #dfeef7;
  --primary-lightest: #f8fcff;
  --primary-dark: #254862;
  --black: #000;
  --gray-darkest: #222;
  --gray-darker: #515d64;
  --gray-dark: #6f7f88;
  --gray: #dee2e6;
  --gray-light: #eaeef2;
  --gray-lightest: #f5f7f8;
  --white: #fff;
  --transparent: transparent;
}

@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-400-normal.7bfd10a3def3.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-700-normal.70aaa6879de5.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-400-italic.5b322d9b8f64.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree-latin-700-italic.b8646b2bef01.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}

body {
  font-family: "Figtree", sans-serif;
  background-color: var(--white);
}

.btn {
  border-radius: 0.375rem;
  --bs-border-radius-sm: 0.375rem;
  --bs-border-radius: 0.375rem 0.5rem;
  border-radius: 6px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--white);

  --bs-btn-active-bg: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-disabled-bg: var(--gray-light);
  --bs-btn-disabled-color: var(--gray-darker);
  --bs-btn-disabled-border-color: transparent;
}

.btn-primary:active,
.btn-primary:focus {
  box-shadow: inset 0px 0px 0px 2px var(--primary-dark);
}

.btn-secondary {
  --bs-btn-bg: var(--transparent);
  --bs-btn-color: var(--primary-dark);
  --bs-btn-border-color: var(--secondary);
  --bs-btn-active-bg: transparent;
  --bs-btn-disabled-bg: var(--gray-lightest);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-color: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
}

.btn-secondary:hover {
  box-shadow: inset 0px 0px 0px 2px var(--primary-dark);
}

.btn-tertiary {
  background-color: none;
  color: var(--primary-dark);
}

#adm-body {
  display: flex;
}

#adm-content {
  flex: 1; /* take remaining space */
  padding: 20px;
}

.material-symbols-outlined {
  line-height: 0;
  position: relative;
  top: -1px;
  vertical-align: middle;
  font-size: 22px;
  margin-right: 5px;
  font-variation-settings: "FILL" 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover > .material-symbols-outlined me-2,
button:hover > .material-symbols-outlined me-2 {
  transform: scale(1.1);
}

.header {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0 1.5rem;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

#header-logo {
  filter: drop-shadow(2px 2px);
  height: 40px;
  margin-right: 10px;
}

ul .selected {
  border-bottom: 3px solid #254862;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.04) 100%
    ),
    var(--primary-light);
}

thead tr {
  --bs-table-bg: var(--gray-light);
  --bs-table-color: var(--primary-dark);
}

table th:first-child {
  border-radius: 10px 0 0 0;
}

table th:last-child {
  border-radius: 0 10px 0 0;
}

table {
  white-space: nowrap;
  text-wrap: nowrap;
  border-radius: 8px;
  table-layout: fixed; /* forces fixed widths */
  width: 100%; /* fill parent container */
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  --bs-table-striped-bg: var(--white);
  background-color: var(--white);
}

.table-striped > tbody > tr:nth-of-type(even) > td,
.table-striped > tbody > tr:nth-of-type(even) > th {
  --bs-table-striped-bg: var(--gray-light);
  background-color: var(--gray-light);
}

th,
td {
  white-space: normal;
  overflow-wrap: anywhere;
}

a {
  color: var(--secondary);
}

.form-check-input:checked {
  background-color: var(--primary);
}

.form-label,
.form-check-label,
.t-primary {
  color: var(--primary-dark);
}


.input-field-badge {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #555;
  pointer-events: none; /* so clicks go through to file input */
}

.nav-item:hover{
    background-color: var(--gray-light);
}