@font-face {
  font-family: brockmann;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Brockmann-Bold.otf") format("opentype");
}
@font-face {
  font-family: brockmann;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Brockmann-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: brockmann;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Brockmann-Medium.otf") format("opentype");
}
@font-face {
  font-family: brockmann;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/Brockmann-Regular.otf") format("opentype");
}

@font-face {
  font-family: bwmod;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/BwModelica-Medium.woff") format("opentype");
}

:root {
  /* Brand */
  --primary: #010734;
  --accent: #120bd9;

  /* General */
  --neutral-super-light: #fafafa;
  --neutral-light: #f2f2f2;
  --neutral-muted: #c0c0c0;
  --neutral-dark: #818285;
  --text: #111827;
  --border: #d1d5db;

  --table-border: #e3e3e3;
  --table-padding-y: 8px;
  --table-padding-x: 10px;

  --input-background: #f9fafb;

  --light-green: #d7f0dc;
  --green: #11b100;
  --dark-green: #13442f;

  --light-amber: #fdecc8;
  --amber: #ff8b00;
  --dark-amber: #5c3b00;

  --light-orange: #ffe0cc;
  --orange: #ff6600;
  --dark-orange: #662200;

  --light-red: #f9d8d4;
  --red: #ec1c24;
  --dark-red: #6a1a1a;

  --light-blue: #dcebf7;
  --blue: #120bd9;
  --dark-blue: #1f3e5c;

  /* Toast message icon colours */
  --icon-success: #3fa76f;
  --icon-error: #e04f45;
  --icon-warning: #f0a84c;
  --icon-info: #4f90d3;
}

/* look at moving these to a base file? */

body {
  color: var(--text);
  scroll-behavior: smooth;
}

h1 {
  margin: 0.5rem 0 0.5rem;
  font-family: brockmann, sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  text-align: left;
  color: var(--primary);
  clear: left;
}

h2 {
  font-family: brockmann, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

h3 {
  font-family: brockmann, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--primary);
  margin: 0.5rem 0;
}

p {
  margin: 0;
}

.accent-color {
  color: var(--accent);
}

.text-grey {
  color: var(--neutral-dark);
}
.text-center {
  text-align: center !important;
}
.element-center {
  margin: 0 auto !important;
}

.vertical-middle {
  vertical-align: middle;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inline-block {
  display: inline-block;
}
/* TODO - Check this */
a,
a:visited {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: var(--accent);
  transition: all 200ms ease;
}

.hidden {
  display: none;
}

.max-400 {
  max-width: 400px;
}

.min-400 {
  min-width: 400px;
}

.mt-4rem {
  margin-top: 4rem;
}

.red {
  background-color: var(--red);
}

.important-red {
  background-color: var(--red) !important;
}
.text-red {
  color: var(--red);
}

.text-dark-red {
  color: var(--dark-red);
}

.green {
  background-color: var(--green);
}

.text-green {
  color: var(--green);
}

.amber {
  background-color: var(--amber);
}

.text-amber {
  color: var(--amber);
}

.logo-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  max-height: 100%;
}

.text-amber {
  color: var(--amber);
}

.text-dark-amber {
  color: var(--dark-amber);
}

.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-super-light-grey {
  background-color: var(--neutral-super-light);
}

.left-aligned {
  width: 100%;
  height: 100%;
  text-align: left;
}

@media (max-width: 640px) {
  .mobile-flex-col {
    flex-direction: column;
  }

  .mobile-w-full {
    width: 100%;
    max-width: 100% !important;
  }

  .mobile-justify-center {
    justify-content: center;
  }

  .mobile-justify-start {
    justify-content: flex-start;
  }
}

/* ==== WHITE CARD ==== */
.white-card-container {
  background-color: white;
  border-radius: 0.375rem;
  padding: 1rem;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

/* ===== BUTTONS ===== */
button {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 0.875rem;
  font-family: brockmann, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.4s ease, background-color 0.4s ease;
  border: none;
  background: none;
  z-index: 0;
}

button:disabled {
  opacity: 0.7;
}

button:disabled,
button.form-submitting {
  cursor: not-allowed;
  pointer-events: none;
}

.button-big {
  padding: 0.5rem 2rem;
}

button span {
  position: relative;
  z-index: 1;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  transform: skewX(-20deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

.button-primary {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: white;
}

.button-primary::before {
  background-color: white;
}

.button-primary:hover {
  color: var(--accent);
}

.button-grey {
  background-color: var(--neutral-light);
  border: 1px solid var(--neutral-light);
  color: var(--primary);
}

.button-grey::before {
  background-color: var(--primary);
}

.button-grey:hover {
  color: white;
}

.button-outlined {
  background-color: #ffffff;
  border: 1px solid var(--accent);
  color: var(--accent);
  flex-shrink: 0;
}

.button-outlined::before {
  background-color: var(--accent);
}

.button-outlined:hover {
  color: white;
}

.button-green {
  background-color: var(--green);
  border: 1px solid var(--green);
}

.button-green::before {
  background-color: #ffffff;
}

.button-green:hover {
  color: var(--dark-green);
}

.button-red {
  background-color: var(--red);
  border: 1px solid var(--red);
}

.button-red::before {
  background-color: #ffffff;
}

.button-red:hover {
  color: var(--dark-red);
}

.button-grey:hover {
  color: white;
}

.button-primary:hover::before,
.button-grey:hover::before,
.button-outlined:hover::before,
.button-green:hover::before,
.button-red:hover::before {
  transform: skewX(-20deg) scaleX(1);
}

/* Links */

.grey-link {
  color: var(--neutral-dark);
  cursor: pointer;
}

.grey-link:hover,
a:visited.grey-link:hover {
  color: var(--accent);
  transition: all 200ms ease;
}
a:visited.grey-link {
  color: var(--neutral-dark);
}

.grey-link.tw-cursor-not-allowed:hover {
  color: var(--neutral-dark) !important;
}
/* ===== BADGES ===== */

.badge {
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-family: brockmann;
  cursor: default;
  white-space: nowrap;
  width: fit-content;
  height: fit-content;
}

/* Tweak colours */
.badge-success {
  background-color: var(--light-green);
  color: var(--dark-green);
  position: relative;
  overflow: hidden;
}
.badge-issue {
  background-color: var(--light-amber);
  color: var(--dark-amber);
}

.badge-error {
  background-color: var(--light-red);
  color: var(--dark-red);
}

.badge-info {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

/* lil shimmer */
.badge-success::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.3s;
}

.badge-success:hover::before {
  opacity: 1;
  animation: shimmer 1s ease-out;
}
/* Need to fix this - psuedo element is visible outside container */
@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

/* ===== NEW TABLE ===== */
/* !important mainly used to overwrrite datatables ui */
.new-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--table-border);
}

.new-table-td,
.new-table-th {
  padding: var(--table-padding-y) var(--table-padding-x) !important;
  vertical-align: middle;
  border-right: 1px solid var(--table-border);
  border-bottom: 1px solid var(--table-border);
  overflow-x: hidden;
}

/* Have a feeling this will break things - but added to stop table entries shirnking too small */
.new-table-td:not(
    .min-width-cell,
    .expand-toggle,
    .select-toggle,
    .non-select-toggle
  ) {
  min-width: 7rem;
}

.new-table tr > .new-table-td:last-child,
.new-table tr > .new-table-th:last-child {
  border-right: none;
}

table.dataTable.no-footer {
  border-bottom: 1px solid var(--table-border) !important;
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
  border-bottom: 1px solid var(--table-border) !important;
  padding: var(--table-padding-y) var(--table-padding-x);
}
.new-table tr.last-normal-row > .new-table-td {
  border-bottom: none;
}
.new-table tr:last-child > .new-table-td,
.new-table tr:last-child > .expand-td {
  border-bottom: none;
}

.dataTables_wrapper .dataTables_filter {
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
  flex-wrap: wrap;
}

.dataTables_wrapper .dataTables_filter > label,
.dataTables_wrapper .dataTables_filter .custom-table-taskbar > form {
  max-width: 25%;
  width: 100%;
  min-width: 10rem;
}

.custom-table-taskbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.table-taskbar {
  margin-top: 1rem;
  margin-bottom: calc(0.25rem - 2px);
}

.table-taskbar button {
  margin: 2px 0;
}

.new-table-th {
  font-weight: 700;
  color: var(--primary);
  background-color: var(--neutral-light);
  padding: 10px !important;
}

.expand-toggle,
.select-toggle,
.non-select-toggle {
  width: 1%;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}

.expand-toggle,
.select-toggle > .new-table-select,
.select-col > .new-table-select,
.non-select-toggle > .new-table-select {
  font-size: large;
  margin: 0 auto !important;
}

.select-col {
  cursor: pointer;
}

.new-table-td > hr {
  background-color: var(--table-border);
  height: 1px;
  border: 0;
}

/* temp overrride */
.new-table-select {
  margin: 0 !important;
  width: 20px !important;
  height: 20px !important;
}

.expanded-content {
  padding: 18px 24px;
  width: 100%;
}

.expand-td {
  padding: 0 !important;
  border: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--table-border);
}

.expand-wrapper {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.4s ease, opacity 0.4s ease;
}

tr.expanded .expand-wrapper {
  opacity: 1;
}

.expand-inner {
  display: flex;
}

/* Cool lil trick if anyone reads this */
/* Fake animation to detect when the node is inserted into the dom */
@keyframes row_expanded {
  from {
    z-index: 1;
  }
  to {
    z-index: 1;
  }
}
tr.expanded {
  animation-duration: 0.001s;
  animation-name: row_expanded;
}

.expand-icon-td {
  background-color: #ffffff;
  border-right: 1px solid var(--table-border);
  padding: 10px 7.8px 10px 10px !important;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

tr.expanded .expand-icon-td {
  opacity: 1;
  transform: translateX(0);
  padding: 10px;
}

.expand-icon-td i {
  display: block;
  font-size: large;
}

.expand-loader {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2px;
}

.min-width-cell {
  white-space: nowrap;
  width: 1%;
  text-align: center;
}

.table-icon {
  font-size: large;
  cursor: pointer;
  color: var(--accent);
}

.table-icon:hover {
  /* color: var(--accent) !important; */
  color: var(--accent);
  transition: all 300ms ease;
}

.grey-table-icon {
  font-size: large;
  color: var(--neutral-dark) !important;
}

.success-table-icon {
  font-size: large;
  color: var(--icon-success) !important;
}

.error-table-icon {
  font-size: large;
  color: #ee2024 !important;
}

.table-footer-td {
  border-top: 1px solid var(--table-border) !important;
  padding: var(--table-padding-y) var(--table-padding-x) !important;
}

.table-footer {
  background-color: var(--neutral-light);
}

.new-filtertable td,
.new-filtertable th {
  border-right: 1px solid var(--table-border);
  border-bottom: 1px solid var(--table-border);
}

/* Remove right border from last cells */
.new-filtertable tr > td:last-child,
.new-filtertable tr > th:last-child {
  border-right: none;
}

/* Remove bottom border from last row */
/* .new-filtertable tr:last-child td {
  border-bottom: none;
} */

/* Handle expandable rows */
.new-filtertable tr:last-child .expand-inner {
  border-top: 1px solid var(--table-border);
}

/* .new-filtertable tbody tr:last-child td {
  border-bottom: none;
} */

.dataTables_empty {
  border-bottom: none !important;
}

.new-filtertable tr:last-child .expand-inner {
  border-top: none;
}

/* ===== MODAL ===== */
.new-modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.new-modal-backdrop.modal-visible {
  opacity: 1;
  pointer-events: auto;
}

.new-modal-content {
  position: relative;
  background-color: #fff;
  padding: 16px 24px;
  border-radius: 2px;
  min-width: 400px;
  max-width: 800px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.new-modal-content label {
  text-align: left;
  font-weight: 400;
}

.new-modal-backdrop.modal-visible .new-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.new-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.new-modal-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  padding-right: 1rem;
}

.new-close-button {
  font-size: x-large;
  cursor: pointer;
  color: var(--neutral-dark);
}

.new-close-button:hover {
  color: var(--accent);
  transition: all 300ms ease;
}

.new-modal-body {
  margin: 32px 8px 40px;
  text-align: center;
  transition: height 300ms ease, opacity 300ms ease;
}

.new-modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modal-action-button,
.modal-cancel-button {
  width: 50%;
  max-width: 160px;
  padding: 8px 16px;
}

.modal-cancel-button {
  margin-right: 16px;
}

#modal-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}
#modal-loader.hidden {
  display: none;
}

.modal-body-loading {
  width: 100%;
  display: grid;
  place-items: center;
}

/* ===== END OF MODAL ===== */

/* ===== LOADERS ===== */
.dot-loader {
  width: 60px;
  aspect-ratio: 4;
  --_g: no-repeat radial-gradient(circle closest-side, #041e42 90%, #041e4200);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 100%;
  animation: l7 1s infinite linear;
}
@keyframes l7 {
  33% {
    background-size: calc(100% / 3) 0%, calc(100% / 3) 100%, calc(100% / 3) 100%;
  }
  50% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 0%, calc(100% / 3) 100%;
  }
  66% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 100%, calc(100% / 3) 0%;
  }
}

.circle-loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  animation: l14 4s infinite;
}
.circle-loader::before,
.circle-loader::after {
  content: "";
  grid-area: 1/1;
  border: 6px solid;
  border-radius: 50%;
  border-color: var(--red) var(--red) #0000 #0000;
  mix-blend-mode: darken;
  animation: l14 1s infinite linear;
}
.circle-loader::after {
  border-color: #0000 #0000 var(--accent) var(--accent);
  animation-direction: reverse;
}
@keyframes l14 {
  100% {
    transform: rotate(1turn);
  }
}

/* ===== END OF LOADERS ===== */

/* ===== TOAST NOTIFICATIONS ===== */

#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  display: flex;
  align-items: center;
  background: #333;
  color: white;
  padding: 1rem 1.5rem 1rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: slideInRight 0.3s ease;
  min-width: 300px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-icon {
  font-size: 28px;
}

.toast-title {
  font-size: 16px;
  font-weight: 600;
}

.toast-content {
  margin: 0 1rem;
}

.toast--success {
  background-color: var(--light-green);
  color: var(--dark-green);
}
.toast--error {
  background-color: var(--light-red);
  color: var(--dark-red);
}
.toast--warning {
  background-color: var(--light-amber);
  color: var(--dark-amber);
}
.toast--info {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

.toast--success > .toast-icon {
  color: var(--icon-success);
}
.toast--error > .toast-icon {
  color: var(--icon-error);
}
.toast--warning > .toast-icon {
  color: var(--icon-warning);
}
.toast--info > .toast-icon {
  color: var(--icon-info);
}

.toast-close {
  position: absolute;
  padding: 0;
  right: 0.75rem;
  top: 0.5rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 1.1rem;
}

.toast-close:hover {
  color: white;
  transition: all 300ms ease-in-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -4px;
  right: -4px;
  bottom: -10px;
  border-radius: 0.5rem;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}

.toast.pulse-border::before {
  animation: borderPulse 1s ease-out 0s 2 forwards;
}

@keyframes borderPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* ===== END OF TOAST NOTIFICATIONS ===== */

/* ===== INPUTS ===== */

input,
select,
textarea {
  transition: border-color 150ms ease, border-width 150ms ease;
  padding: 8px;
  color: var(--text);
  background-color: var(--input-background);
  border: 1px solid var(--border);
  width: 100%;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: bwmod, sans-serif;
  font-size: inherit;
}

textarea {
  height: auto;
  min-height: 4rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 1px solid var(--accent);
}

label {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.label-left {
  margin: 0 0 0 0.5rem;
}

.label-right {
  margin: 0 0.5rem 0 0;
}

input::placeholder {
  color: var(--neutral-dark);
}

input:read-only:not(.datepicker):not([type="checkbox"]):not([type="radio"]) {
  cursor: not-allowed;
}
input:read-only:not(.datepicker):focus {
  border: 1px solid var(--border);
}

/* Checkbox */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  background-color: var(--input-background);
  width: 1em;
  height: 1em;
  font-size: 1em;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

input[type="checkbox"]:checked::before {
  content: "✓";
  color: white;
  line-height: 1;
  max-width: fit-content;
}

input[type="checkbox"]:checked {
  background-color: var(--accent);
}

.medium-checkbox {
  width: 1.5rem !important;
  height: 1.5rem !important;
  font-size: 1.25rem !important;
}
/* End of checkbox */

/* Radio */
input[type="radio"] {
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
}

input[type="radio"]:before {
  border: 2px solid green !important;
}

.large-radio {
  width: 1.5rem !important;
  height: 1.5rem !important;
}
/* End of radio */

/* Password */
input[type="password"] {
  letter-spacing: 1px;
  font-weight: 500;
}

input[type="password"]::after {
  content: icon;
}

.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  color: var(--neutral-dark);
  right: 0.75rem;
  top: 1.125rem;
  transform: translateY(-50%);
  cursor: pointer;
  /* background-color: var(--neutral-light); */
}

.toggle-password:hover {
  color: var(--accent);
  transition: all 300ms ease;
}

/* End of password */

/* Custom file input */
.file-upload-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--input-background);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--text);
  flex: 1;
}

.custom-file-button {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
  display: flex;
  align-items: center;
}

.custom-file-button:hover {
  opacity: 0.9;
  transition: all 300ms ease;
}

.file-name {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.125rem;
  display: flex;
  align-items: center;
}

.hidden-file-input {
  display: none;
}
/* End of custom file input */

/* Base select input stlyings - REVISE */
select {
  cursor: pointer;
  position: relative !important;
  margin: 0;
  -webkit-appearance: none;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%);
  background-position: calc(100% - 15px) calc(1em + 2px),
    calc(100% - 10px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:focus {
  background-image: linear-gradient(45deg, var(--accent) 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, var(--accent) 50%);
  background-position: calc(100% - 10px) 1em, calc(100% - 15px) 1em;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
/* End of of base select stlyes */

/* Choice.js select stlyings */
.choices__list--multiple .choices__item {
  background-color: #dae5f0;
  border: none;
  border-radius: 6px !important;
  margin: 2px 4px 2px 0;
  color: var(--text);
}

.choices__button {
  padding: 2px 8px;
  filter: invert(1);
  opacity: 1;
}

.choices__inner {
  min-height: 34px;
  padding: 4px 8px !important;
  color: var(--text);
  background-color: var(--input-background);
  border: 1px solid var(--border);
  transition: border-color 150ms ease, border-width 150ms ease;
  border-radius: 4px;
}

.is-open .choices__inner {
  border-radius: 4px;
  border: 1px solid var(--accent);
  margin-bottom: 2px;
}
input[type="search"].choices__input {
  border: none !important;
  margin: 0px !important;
}
.choices__list--multiple .choices__item.is-highlighted,
.choices__item .choices__item--selectable .is-highlighted {
  border: none !important;
  background-color: #dae5f0 !important;
}

.choices[data-type*="select-multiple"] .choices__button {
  border: none;
}

.choices {
  margin-bottom: 0;
}
.choices[data-type*="select-one"]::after {
  border-color: var(--neutral-dark) transparent transparent;
}

.js-choice {
  max-height: 35px;
  pointer-events: none;
}
.js-choice.choices-initialized {
  max-height: auto;
  pointer-events: auto;
}

.choices__list--dropdown {
  z-index: 1005 !important;
}

/* Custom styling when search input is in the body */
.choices-search-body {
  display: block;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  margin: 0;
}

/* End of Choices.js select stylings */

/* Input Validation */
.error-input {
  border: 1px solid var(--red) !important;
}

.error-message {
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  margin: 2px 0;
  color: var(--red);
}

.required-label::before {
  content: "* ";
  color: var(--red);
  display: inline-block;
  transform: scale(1.2);
  margin-right: 0.25rem;
}

/* ===== END OF INPUTS ===== */

/* ===== FORMS ===== */
.two-col-form {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.col-span-2 {
  grid-column: span 2;
  min-width: 0;
}

.form-section-collapse {
  display: none;
  /* overflow: hidden; */
  grid-column: span 2;
  min-width: 0;
}

.form-section-collapse.open {
  display: grid;
}

.toggle-section {
  position: relative;
  cursor: pointer;
  padding-right: 1.5rem;
}

.toggle-section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

.info-group-sticky-header::after,
.info-group-secondary-sticky-header::after {
  content: none !important;
}

.toggle-section.open::after {
  transform: translateY(-40%) rotate(-135deg);
}

.toggle-section:hover {
  border-color: var(--accent);
  transition: border 200ms ease;
}

@media (max-width: 768px) {
  .two-col-form,
  .form-section-collapse {
    grid-template-columns: 1fr;
  }

  .col-span-2,
  .form-section-collapse {
    grid-column: span 1;
  }
}

.submit-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

.submit-wrapper button {
  padding: 0.5rem 5rem;
}

.multi-button-submit {
  flex-direction: column;
  align-items: center;
}

.multi-button-submit > button:not(:first-child) {
  margin-top: 1.5rem;
}

.form-section-header {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding: 0 0 0.25rem;
  margin: 1.5rem 0 0.5rem;
  width: 100%;
  grid-column: 1 /-1;
  max-height: fit-content;
}

.form-submitting {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: var(--neutral-light);
}

:not(.submit-wrapper):not(.button-group) > .form-submitting {
  margin: 0 auto;
}

.button-loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.form-table-checkbox {
  display: flex;
  align-items: center;
}

/* ===== END OF FORMS ===== */

/* ===== NAVIGATION ===== */
/* Top Nav */

.filters {
  color: white;
  cursor: pointer;
}

.filters:hover {
  color: var(--accent);
  transition: all 300ms ease;
}

.top-nav-wrapper {
  position: fixed;
  background-color: var(--primary);
  z-index: 1000;
  width: 100%;
  padding: 0.5rem 1rem;
  height: 50px;
}

.top-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1634px;
  margin: 0 auto;
  height: 100%;
}
.filterbox {
  display: flex;
  gap: 1.5rem;
}
.filterbox > a:visited {
  color: white;
}
.filterbox > a:visited:hover {
  color: var(--accent);
}

.filters > span {
  margin-left: 0.75rem;
}

@media (max-width: 768px) {
  .filterbox > .filters > span {
    display: none;
  }

  .filterbox {
    gap: 1rem;
  }
}

/* Select Yacht filter */
.search-vessel-modal .dataTables_wrapper .dataTables_filter {
  float: none !important;
}
.search-vessel-modal .dataTables_wrapper .dataTables_filter > label {
  width: 100%;
  max-width: 100%;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 8px !important;
  color: var(--text) !important;
  background-color: var(--input-background) !important;
  border: 1px solid var(--border) !important;
  border-radius: 4px !important;
  margin: 0 !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--accent) !important;
  transition: all 300ms ease;
}

.dataTables_wrapper {
  overflow: auto;
  /* margin-top: 1rem; */
}

.search-vessel-modal .new-modal-body {
  margin: 1.5rem 0.5rem 2rem;
}

.select-yacht-link {
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
  color: var(--primary) !important;
}

.select-yacht-link > span > strong {
  display: block;
  margin-top: 0.25rem;
}

.select-yacht-link > span,
.search-yacht-edit-wrapper > span {
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
}

.dataTables_processing > div:last-child > div {
  background: var(--accent) !important;
}

.dataTables_info {
  color: var(--neutral-dark) !important;
}

.search-yachts-table thead:not(.no-hide) {
  display: none;
}

.search-yachts-table {
  border: none;
}

.search-yachts-table-body {
  overflow: auto;
  height: 400px;
  max-height: calc(50vh - 5rem);
  display: block;
  width: 100%;
}
.search-yachts-table-body tr,
.search-yachts-table-body td {
  display: block;
}

.search-yacht-td {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.search-yacht-td:hover {
  background-color: var(--neutral-light);
}

.search-yacht-td:hover > a {
  color: var(--accent) !important;
  transition: all 0ms ease;
}

.search-yacht-edit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  max-width: fit-content;
  font-size: 1rem;
  gap: 0.5rem;
}

.search-yacht-edit-wrapper > a {
  color: var(--neutral-dark);
}

.search-yacht-edit-wrapper:hover > a {
  color: var(--accent);
  transition: all 200ms ease;
}
/* End of Select Yacht Filter */

/* Reporting period filter */
.date-range-input-wrappers {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.container.range-plugin .calendar > .days-grid > .day.end,
.container.range-plugin .calendar > .days-grid > .day.start {
  background-color: var(--accent);
  color: #fff;
}

.container.range-plugin .calendar > .days-grid > .day.start:after,
.container.range-plugin .calendar > .days-grid > .day.end.flipped:after {
  border-left-color: var(--accent);
}
.container.range-plugin .calendar > .days-grid > .day.end:after,
.container.range-plugin .calendar > .days-grid > .day.start.flipped:after {
  border-right-color: var(--accent);
}

.container.range-plugin .calendar > .days-grid > .day.in-range {
  background-color: #dae5f0;
  /* background-color: #d5dbff; */
}

.calendar > .days-grid > .day:hover {
  border-color: var(--accent);
  color: var(--accent);
  cursor: pointer;
}

.date-range-input-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-range-input-container > label {
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}

.date-range-input-container > input {
  border: none;
  padding: 0 1rem;
}

.calendar-range-wrapper {
  position: relative;
  /* Not removed as need to check if effects laoding state - it does */
  /* min-width: 628px; */
  /* min-height: 327px;
   */
  overflow: auto;
}

.quick-select-date-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#calendar-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background-color: var(--neutral-light);
  border-radius: 4px;
  display: grid;
  place-items: center;
}

.container.inline {
  box-shadow: none;
}

.reportPeriodModal > .new-modal-content,
.search-vessel-modal > .new-modal-content {
  max-height: 100vh;
}

.reportPeriodModal input {
  background-color: white !important;
  cursor: default;
}

.reportPeriodModal .choices {
  text-align: left;
}

.reportPeriodModal .choices__inner {
  background-color: white !important;
}

/* End Of Reporting period filter  */
/* End of top nav*/

/* Sub nav */

.sub-nav-wrapper {
  position: fixed;
  background-color: var(--neutral-light);
  z-index: 1000;
  width: 100%;
  padding: 0.5rem 1rem;
  top: 50px;
  height: 50px;
  box-shadow: 0px 8px 8px 0 #fff;
}
/* dupe with top container atm */
.sub-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1634px;
  margin: 0 auto;
  height: 100%;
}

.sub-nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .sub-nav-list > li:nth-child(n + 6) {
    display: none;
  }
}

@media (max-width: 480px) {
  .sub-nav-list > li:not(.sidebar-toggle-btn) {
    display: none;
  }
}

li {
  list-style-type: none;
}

ul {
  padding: 0;
  margin: 0;
}

.sub-nav-link {
  font-family: brockmann, sans-serif;
  color: var(--primary) !important;
  font-weight: 500;
}

.sub-nav-link:hover {
  color: var(--accent) !important;
  transition: all 300ms ease;
}

/* End of sub nav */

/* Pulled from managenav.php */
/* Need to be updated to more specific names */
.drag-placeholder {
  background: #e3f2fd;
  border: 2px dashed #2196f3;
  height: 60px;
  margin: 5px 0;
}

.page-item:hover {
  background: #f0f0f0 !important;
}

.ui-sortable-helper {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Side Nav */

.side-nav-wrapper {
  width: 300px;
  background-color: white;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  z-index: 1003;
  transform: translateX(0);
}
.side-nav-wrapper.closed {
  transform: translateX(-100%);
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
}
.sidebar-toggle-btn:hover {
  color: vaR(--accent);
  transition: all 300ms ease;
}
.side-nav-header {
  background-color: var(--primary);
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.75rem;
  color: white;
}

.side-nav-header h1 {
  margin: 0;
  margin-left: 1rem;
  font-size: 1.25rem;
  color: white;
}
/* .row {
padding: 100px 0;
} */
.side-nav-level {
  position: absolute;

  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background: white;
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.side-nav-level.level-1 {
  transform: translateX(100%);
}

.side-nav-level.active {
  transform: translateX(0);
}

.side-nav-level.off-left {
  transform: translateX(-100%);
}

.side-nav-link {
  display: flex;
  padding: 0.75rem 1.25rem 0.75rem 1.75rem;
  margin: 1px 0;
  color: var(--primary) !important;
  font-weight: 500;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
}

.side-nav-link:hover,
.side-nav-back:hover {
  background-color: var(--neutral-light);
}

.side-nav-back {
  font-weight: bold;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  color: var(--primary);
}

.side-nav-back-icon {
  display: flex;
  align-items: center;
  color: var(--neutral-dark);
  font-size: large;
  margin: 0 0.75rem;
}

.side-nav-sub-title {
  /* font-size: 18px; */
  padding: 0.75rem 1.25rem 0.75rem 1.75rem;
  margin: 1rem 0 0 0;
}

.close-side-nav-button {
  position: absolute;
  left: 305px;
  top: -45px;
  color: white;
  padding: 0.5rem;
  font-size: large;
  border-radius: 6px;
  border: 1px solid #f2f2f2;
  width: 40px;
  height: 40px;
  z-index: 1002;
  cursor: pointer;
  display: grid;
  place-items: center;
  background-color: var(--primary);
  opacity: 1;
  transition: left 300ms ease, opacity 300ms ease;
}

.close-side-nav-button.closed {
  opacity: 0;
  left: 100px;
}

.close-side-nav-button:hover {
  /* opacity: 0.9; */
}
/* .child-group {
display: flex;
flex-direction: column;
} */

/* End of Side Nav */

/* ===== END OF NAVIGATION ===== */

/* ===== PAGE LAYOUT ===== */

.page {
  max-width: 1664px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  padding: 6.25rem 2rem;
}

.page-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 0.5rem;
  position: relative;
}

.page-title {
  margin-bottom: 0.25rem;
}

.page-header-no-buttons {
  margin-bottom: 0;
}

.page-title-no-buttons {
  margin-bottom: 0;
}

/* Page info */
.page-info-icon {
  color: var(--primary);
  font-size: 1.5rem;
}

.page-info-icon:hover {
  color: var(--accent);
  transition: all 300ms ease;
  cursor: pointer;
}

.page-info-content {
  display: none;
  position: absolute;
  right: 2rem;
  top: 100%;
  max-width: 80vw;
  max-height: 60vh;
  z-index: 10;
  box-shadow: 0 0 20px 6px rgba(0, 0, 0, 0.2);
  background-color: white;
  padding: 1rem;
  overflow: auto;
  border-radius: 2px;
}

.page-info-section {
  max-width: 600px;
  margin-bottom: 1rem;
}

.page-info-text:not(:first-child) {
  margin-top: 0.5rem;
}

/* Page breadcrumb */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* margin-bottom: 1rem; */
  /* font-size: 0.75rem; */
}

.breadcrumb-trail > a,
.breadcrumb-trail > i {
  color: var(--neutral-dark);
}
.breadcrumb-trail > a:hover {
  color: var(--accent);
  transition: all 200ms ease;
}
.breadcrumb-trail > i {
  font-size: 0.75rem;
}

.breadcrumb-home {
  font-size: 0.9rem;
}

.pagination-container {
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  align-self: end;
  margin-bottom: 0.25rem;
  margin-left: 1rem;
}
.pagination-arrow {
  font-size: 1.25rem;
  color: var(--neutral-dark) !important;
  display: inline-block;
}
.pagination-arrow:hover {
  color: var(--accent) !important;
  transition: all 300ms ease;
}

/* ===== END OF PAGE LAYOUT ===== */

/* ===== BANNERS ===== */

.banner-error,
.banner-info,
.banner-issue,
.banner-success {
  padding: 1rem;
  margin: 1rem 0;
  color: inherit;
}

.banner-error {
  background-color: var(--light-red);
  border-left: 4px solid var(--red);
}

.banner-info {
  background-color: var(--light-blue);
  border-left: 4px solid var(--blue);
}

.banner-issue {
  background-color: var(--light-amber);
  border-left: 4px solid var(--amber);
}

.banner-success {
  background-color: var(--light-green);
  border-left: 4px solid var(--green);
}

/* toggle button */
.show-more-issues-wrapper {
  text-align: center;
  margin: 0.5rem 0 0;
}
.show-more-issues {
  display: inline-block;
}

/* Invoice Issues banner - left these as is until there's time to fully investigate if banner-error can just be used */
.invoice-issues {
  background-color: var(--light-red) !important;
  border-left: 4px solid var(--red) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem !important;
  margin: 1rem 0;
  color: var(--primary) !important;
}
.invoice-issues h2 {
  margin: 0 0 0.5rem !important;
  font-size: 1.5rem;
  font-weight: 600;
}
.invoice-issues p {
  margin: 0 0 0.25rem !important;
}
.invoice-issues a {
  color: var(--primary) !important;
  text-decoration: underline;
}
.invoice-issues a:hover {
  opacity: 0.8;
}
.invoice-issues .issue-count {
  color: var(--accent) !important;
}
.invoice-issues .vessel-name {
  font-weight: 600;
  color: var(--primary) !important;
}

/* System Issues banner - again left until there is time to investigate if banner-issue can be used instead */
.system-issues {
  background-color: var(--light-amber) !important;
  border-left: 4px solid var(--amber) !important;
  border-radius: 0 !important;
  padding: 1rem !important;
  margin: 1rem 0;
  color: var(--primary) !important;
}
.system-issues h2 {
  margin: 0 0 0.5rem !important;
  font-size: 1.5rem;
  font-weight: 600;
  color: inherit !important;
}
.system-issues p {
  margin: 0 0 0.25rem !important;
  color: inherit !important;
}
.system-issues a:hover {
  opacity: 0.8;
}
.system-issues .vessel-name {
  font-weight: 600 !important;
}
.system-issues .issue-count {
  color: var(--accent) !important;
}
.system-issues .vessel-name {
  font-weight: 600 !important;
}

/* ===== END OF BANNERS ===== */

/* ===== DASHBOARD ===== */
.dash-section-entry {
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dash-section-expandable {
  cursor: pointer;
}

.dash-section {
  border-radius: 5px;
  background-color: var(--neutral-light);
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.dash-section-header {
  margin-bottom: 0.75rem;
}

.dash-section-arrow {
  transition: transform 0.3s ease;
  color: var(--neutral-dark);
}

.dash-section-arrow.rotated {
  transform: rotate(180deg);
}

/* ===== END OF DASHBOARD ===== */

/* ===== TICKETS ===== */

.ticket {
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.25rem 0;
  border-left: 4px solid var(--accent);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.ticket.incomplete {
  border-left: 4px solid var(--red);
}

.ticket.complete {
  border-left: 4px solid var(--green);
}

.ticket-actions {
  padding: 0.5rem;
  min-width: fit-content;
  display: flex;
  flex-wrap: nowrap;
}

.ticket-header {
  margin-bottom: 0.25rem;
}

.show-more-tickets-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 1rem 0rem;
}

.ticket-section-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.ticket-section-visible {
  max-height: 1000px;
  overflow-y: auto;
  transition: max-height 0.4s ease-in, opacity 0.4s ease-out;
  opacity: 1;
  margin-top: -0.25rem;
}

.ticket-icon-link {
  margin-left: 0.5rem;
  font-size: 1.125rem;
  display: block;
}

.ticket-icon-link:visited {
  color: var(--neutral-dark);
}
.ticket-icon-link:visited:hover {
  color: var(--accent);
}
/* ===== END OF TICKETS ===== */

/* Contracts */
.backdate-social-element {
  display: none;
}

/* Contract app invite modal */

.issue-container {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
}

/* End of contract app invite modal */

/* Contract trnasfers */
.action-list-item > i {
  color: var(--green);
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.action-list-item {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
}

.action-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 1rem 0;
}

.action-list-item > a {
  margin-left: 0.25rem;
}

.centered-white-box {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  padding: 2rem;
  margin: 0 auto;
  max-width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shadow-box {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  margin: 0.25rem;
}

/* End of contract transfers */

/* Start of Empsnew  */
.alphabet-selector-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0;
  width: 100%;
}

.selectletter {
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
  border: none;
  color: var(--accent);
}

.selectletter:hover {
  background-color: var(--accent);
  color: white;
}

.active-letter {
  background-color: var(--accent);
  color: white !important;
}
/* Will rename this to a generic class when working on employers */
.emps-searchbar {
  flex-grow: 1;
  min-width: 150px;
  max-width: 30%;
}
/* End of Empsnew */

/* Start of Payroll */
.payperiod-table {
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  user-select: none;
  border: 1px solid var(--table-border);
  border-radius: 5px;
}

.payperiod-table td {
  border-top: 1px solid var(--table-border);
  border-bottom: none;
}

.payperiod-table-header > th {
  font-weight: 500;
  color: var(--primary);
  background-color: var(--neutral-light);
  padding: 8px 5px;
  border: none;
}

.payperiod-table-header > .remove-header {
  text-align: center;
}

.payperiod-modal-btn {
  font-family: bwmod, sans-serif;
  font-size: 14px;
  padding: 10px;
  width: 100%;
  -webkit-appearance: none;
  border-radius: 5px;
  border: none;
  clear: left;
  cursor: pointer;
  background-color: #065385;
  color: white;
}

.btn-action {
  background-color: #e2e7ee;
  color: black;
}

.payperiod-modal-text {
  margin: 1rem 2rem;
  font-weight: 900;
  font-size: 1rem;
}

.payperiod-remove-btn {
  color: var(--neutral-dark);
}
.payperiod-remove-btn:hover {
  color: var(--red);
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.payperiod-modal-date-container {
  margin: 0.5rem 2rem;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  width: auto;
}
/* End of Payroll */

/* Hours of rest */
/* Some of this is general calendar table stylings */
#hor_cell,
.calendar-th,
.calendar-cell,
.hour_cell {
  padding: 0.5rem 0.25rem;
  border-left: 1px solid var(--table-border);
  text-align: center;
}

.fullcalendar tr {
  border-right: 1px solid var(--table-border);
  border-left: 1px solid var(--table-border);
}

.hor_cell_seperator {
  display: block;
  margin-bottom: 0.5rem;
}

.fullcalendar th {
  font-weight: 700;
  color: var(--primary);
  background-color: var(--neutral-light);
  vertical-align: middle;
}

.fullcalendar {
  border-radius: 6px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.fullcalendar tr td:first-child,
.fullcalendar tr th:first-child {
  border-left: 1px solid var(--table-border);
}

.fullcalendar tr td:last-child,
.fullcalendar tr th:last-child {
  border-right: 1px solid var(--table-border);
}

.fullcalendar tr:first-child th:first-child {
  border-radius: 6px 0 0 0;
}
.fullcalendar tr:first-child th:last-child {
  border-radius: 0 6px 0 0;
}

.fullcalendar tr:last-child td:first-child {
  border-radius: 0 0 0 6px;
}
.fullcalendar tr:last-child td:last-child {
  border-radius: 0 0 6px 0;
}

.calendar-key-box {
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  text-align: center;
}

.hor_tab_bar {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--neutral-light);
  margin: 1rem 0;
  font-size: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.hor_tab {
  color: var(--neutral-dark);
  border-radius: 2px 2px 0 0;
  padding: 0.25rem 0.5rem;
  margin-right: 1rem;
  cursor: pointer;
  min-width: fit-content;
}

.hor_tab i {
  font-size: 18px;
}

.hor_tab_active {
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}

.hor_tab:hover {
  background-color: var(--neutral-light);
  color: var(--text);
  transition: background-color 300ms ease, color 300ms ease;
  cursor: pointer;
  border-bottom: 2px solid #505050;
  border-radius: 0.25rem 0.25rem 0 0;
}

.hor_tab_text {
  margin: 5px 10px;
  font-weight: 500;
}

.selected_hor_cell {
  position: relative;
  background-color: #afcfff;
}

.hor_doc_block_container {
  display: flex;
  align-items: center;
  border-top: 2px solid var(--neutral-light);
  padding: 0.5rem 0;
}

.hor_doc_block_container button {
  padding: 0.5rem 2rem;
  margin-left: 1rem;
}
.hor_doc_block_container button i {
  margin-right: 0.5rem;
  font-size: 18px;
}

.hor_no_docs_message {
  font-size: 16px;
  color: #7a7a7a;
  margin: 5px;
}

.hor_signature_content_wrapper {
  background-color: white;
  padding-top: 25px;
}

.hor_signature_step_box {
  padding: 25px;
  /* border: 1px solid #bdbdbd; */
  border-radius: 15px;
  margin: 15px 0;
  position: relative;
}

.hor_signature_step_box > button,
.hor_signature_step_box > select {
  max-width: 600px !important;
}

.hor_signature_step_number {
  background-color: var(--accent);
  color: white;
  font-size: large;
  border-radius: 15px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.hor_signature_step_title_box {
  margin-bottom: 25px;
}

.hor_signature_step_title {
  margin: 0;
  /* font-size: large; */
  padding: 0px 5px;
}

.hor_signature_sent_view {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px 0;
}

.plane-img {
  max-width: 200px;
  margin: 20px 10px;
}

.hor_signature_sent_header > i {
  margin-right: 0.5rem;
  font-size: 1.75rem;
  color: var(--accent);
}

.hor_signature_sent_text {
  font-size: 16px;
  text-align: center;
}

.upload_signed_hor_doc {
  display: none;
  width: 100%;
  max-width: 600px;
  padding: 1.25rem;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

#uploadSignedDoc {
  cursor: pointer;
  margin: 1rem 0;
}

.upload_signed_hor_input {
  margin: 20px 0;
  padding: 3px !important;
}

#printAllHoursButton,
#sendForSigning {
  width: 100%;
  padding: 0.5rem 1rem;
}

.hor_signature_step_box .choices {
  margin-bottom: 1rem;
}

.hor_status_update_buttons_wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.floatingcal_hor_additions {
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  max-width: 360px !important;
}

/* Blocked / disabled buttons */
.button-blocked {
  background-color: var(--neutral-muted) !important;
  cursor: not-allowed;
  border: 1px solid var(--neutral-muted);
  color: var(--neutral-dark);
}

.button-blocked:hover {
  background-color: var(--neutral-muted) !important;
  color: var(--neutral-dark) !important;
}

.button-blocked:hover::before {
  transform: scaleX(0) !important;
}

.hor_cell_blocked {
  background-color: #808080 !important;
  cursor: not-allowed !important;
}

.hours {
  min-width: 1080px !important;
}

.hours-wrapper {
  overflow-x: auto;
}
/* End of hours of rest */

/* Notes */

.notes-section {
  border-radius: 5px;
  background-color: var(--neutral-light);
  width: 100%;
  height: 100%;
  padding: 2px;
  margin: 1rem 0;
}

.notes-wrapper {
  padding: calc(1rem - 2px);
}

.notes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.note {
  padding: 1rem;
  box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.1);
  width: fit-content;
  max-width: 20rem;
  background-color: #ffffff;
  height: fit-content;
  position: relative;
  overflow: hidden;
}

.no-notes-message {
  font-size: 1rem;
  color: var(--neutral-dark);
}

.note.rounded {
  border-radius: 4px;
}

.notes-form {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: calc(1rem - 2px);
  background-color: white;
  gap: 1rem;
}

.note-input-wrapper {
  flex: 1;
}

.note-header {
  font-weight: 500;
  font-size: 0.75rem;
}

.note-body {
  margin: 1rem 0;
  word-break: break-word;
}

.note-file {
  font-size: 0.75rem;
}

.note-bg-yellow {
  background-color: #fff9b1;
}
.note-bg-blue {
  background-color: #b1d3f6;
}
.note-bg-green {
  background-color: #daf7a1;
}
.note-bg-pink {
  background-color: #ffcee0;
}
.note-bg-purple {
  background-color: #e1bee7;
}

@media (max-width: 768px) {
  .notes-form {
    flex-direction: column;
  }

  .note-input-wrapper {
    width: 100%;
  }
}

/* End of Notes */

/* invoices */

#sender_options {
  margin-bottom: 0.5em;
}
.sender-option {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25rem 0.75rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
  background-color: #f2f2f2;
  transition: all 200ms ease;
}
.sender-option:hover {
  background-color: #e9e9e9;
}

.recipient-option,
#select_all_button {
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-top: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  transition: all 200ms ease;
}

#select_all_button {
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.875rem;
  font-family: brockmann, sans-serif;
  font-weight: 500;
  margin: 0.25rem 0;
}

.recipient-option.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ENd of invoices */

/* Tool tip */

.tooltipbox {
  position: absolute;
  display: none;
  padding: 8px 12px;
  background: #f7f9fc;
  color: #1b2a49;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  max-width: 260px;
  font-size: 0.85rem;
  line-height: 1.4;
  z-index: 900;
  word-wrap: break-word;
}

/* Arrow styling */
.tooltipbox::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f7f9fc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
}

/* Default (above) */
.tooltipbox.top::after {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-top: none;
  border-left: none;
}

/* Below */
.tooltipbox.bottom::after {
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-bottom: none;
  border-right: none;
}

/* left */
.tooltipbox.left::after {
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: none;
  border-left: none;
}

/* Right */
.tooltipbox.right::after {
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);

  border-top: none;
  border-right: none;
}

/* End of Tooltip */

/*MLC*/
.mlcsummary {
  font-size: 20px;
  font-weight: 500;
}

.mlcinfo {
  font-size: unset;
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}

.mlcinfo i {
  margin-right: 0.5rem;
  font-size: 20px;
}

.error-summary {
  display: flex;
  align-items: center;

  cursor: pointer;
  margin: 0 0.5rem;
}

.error-summary .minor {
  width: 4rem;
}

.error-summary .major {
  width: 4rem;
}

.mlc-badge {
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 500;
}

.badge-issue.minor {
  margin: 2px 0;
}

.badge-error.major {
  margin: 2px 0;
}

/* End of MLC

/*Start of Social */

.social-status {
  font-size: 20px;
  cursor: pointer;
}

.social-badge {
  margin: 2px 0;
}
/*End of Social */

/* Expenses --- needs cleaning up */
.hiddenexpenses {
  display: none;
  padding: 0;
}

.hiddentr {
  display: none;
}

.doublerows:nth-child(even):visible:not([bgcolor]) {
  background-color: white;
}

.hiddenexpenses tr {
  background-color: white !important;
}

.hiddenexpenses tr.inactivetr {
  background-color: var(--neutral-super-light) !important;
}

.hiddenexpenses table {
  border: none;
}

.hiddenexpenses td:last-child,
.hiddenexpenses th:last-child {
  border-right: none;
}

.flag {
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
}

.header-flag {
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  cursor: default;
}

.flag > a {
  text-decoration: none;
}

.flag-green {
  background-color: var(--light-green);
  color: var(--dark-green);
}

.flag-blue {
  background-color: #cfe0fc;
  color: var(--dark-blue);
}

.flag-lightblue {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}
.flag-lightblue {
  background-color: #d0f0fb;
  color: #084154 !important;
}

.flag-red {
  background-color: var(--light-red);
  color: var(--dark-red);
}

.flag-orange {
  background-color: var(--light-orange);
  color: var(--dark-orange);
}

.flag-yellow {
  background-color: var(--light-amber);
  color: var(--dark-amber);
}

.flag-navy {
  background-color: var(--accent);
  color: white;
}

.flag-navy a {
  color: white;
}

.flag-grey {
  background-color: var(--neutral-muted);
  color: var(--neutral-dark);
}

.flag:hover:not(.flag-grey) {
  filter: brightness(0.95);
  transition: filter 200 ease;
}

.flag input[type="checkbox"],
.header-flag input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border-radius: 0.12em;
  color: inherit;
  float: none;
  vertical-align: text-top;
  appearance: none;
  border: 0px;
  cursor: pointer;
  margin: 0.05em 0 0 0.4em;
}

.flag input[type="checkbox"]:checked {
  background-color: white;
  color: inherit;
}

.flag input[type="checkbox"]:focus {
  box-shadow: none;
}

.flag input[type="checkbox"]:checked::before {
  content: "✓";
  color: inherit;
  position: absolute;
  font: 16px "Open Sans", sans-serif;
  font-weight: bold;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.flag input[type="checkbox"] + span {
  line-height: 14px;
}

.striked {
  text-decoration: line-through;
}

.removeall::after {
  content: "✖";
  max-height: fit-content;
  padding-left: 0.4em;
}

.small {
  font-size: 0.75rem;
}

.flag-flex {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
  max-width: fit-content;
}

.flag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.header-flag input {
  cursor: default !important;
}

.update-expenses-submit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--table-border);
  padding: 0.5rem;
}

.flag-flex.header-flag {
  display: inline-flex;
}

.addexpense:hover {
  color: white;
}
/* End of expenses */

.section-container {
  margin-top: 2rem;
}

/* Contract Requests */
/* Maintained old classname for now - an input made to look like a link */
.buttonbutdiv input {
  border: none !important;
  background-color: inherit !important;
  color: var(--accent);
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  width: auto !important;
  font-size: 14px !important;
}

/* End of contractrequests */

/* Signature template tags /signsendtags */

.mergeTagForm {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
}

.mergeTagFormInputWrapper {
  width: 100%;
  margin-bottom: 0.75rem;
}

.mergeTagArrowIcon {
  font-size: 2rem;
  margin: 1.5rem;
  color: var(--accent);
  text-align: center;
}

.mergeTagOutputDiv {
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 1.5rem;
  width: 100%;
  text-align: center;
  background-color: white;
}

/* End of signature template tags */

/* Monthly Status */
.status-check-mark,
.status-x-mark,
.status-exclamation-mark {
  font-size: 1.125rem;
  vertical-align: text-top;
}

.status-check-mark {
  color: var(--green);
}

.status-x-mark {
  color: var(--red);
}

.status-exclamation-mark {
  color: var(--amber);
}

.card {
  background: #f2f2f2;
  border-radius: 0.375rem;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  gap: 1rem;
  display: flex;
}

.sub-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 1rem 0;
}

.sub-card {
  background: #f2f2f2;
  border-radius: 0.375rem;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: large;
  color: var(--neutral-dark);
  font-weight: 500;
  margin: 0;
}

.card-main-info {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0.5rem 0;
}

.card-main-info > span {
  font-size: 1rem;
  font-weight: 500;
}

.card-change-text {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.card-half {
  max-height: 100%;
}

#summaryChart {
  max-height: 160px;
  aspect-ratio: 1 / 1;
}

#adminChart {
  width: 100%;
}

.admin-chart-wrapper {
  overflow-x: auto;
}

.status-table-actions {
  display: flex;
  align-items: end;
  text-align: left;
}

.status-select-wrapper {
  min-width: 400px;
  margin-right: 0.5rem;
}

@media (max-width: 900px) {
  .status-select-wrapper {
    min-width: 250px;
  }
}
@media (max-width: 500px) {
  .status-table-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: start;
  }
}

/* end of monthly status */

/* Daytypes colour selector /daytypes */
.colour-input {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  cursor: pointer;
  overflow: hidden;
  color: var(--text);
  background-color: var(--input-background);
  border: 1px solid var(--border);
  width: 100%;
  border-radius: 4px;
}

.colour-input input[type="color"] {
  opacity: 0;
  position: absolute;
  height: 100%;
}

.colour-input .swatch {
  flex: 0 0 15%;
  max-width: 80px;
  background-color: currentColor;
  border-right: 1px solid #ccc;
}

.colour-input .hex {
  flex: 1;
  padding: 8px;
}

#colourPicker {
  cursor: pointer;
}
/* End of daytypes template tags */

/* Start of Calendar */
.floatingcal {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  position: fixed;
  bottom: 0;
  width: calc(100% - 4rem);
  max-width: 1580px;
  box-sizing: border-box;
  padding: 1.5rem 2rem;
  left: 50%;
  transform: translate(-50%, 0);
}

.floatingcal_calendar {
  bottom: 1rem;
  display: flex;
  max-height: 13rem;
  gap: 0.75rem;
}
.floatingcal h1 {
  margin-top: 0;
}
.key {
  flex: 1;
  overflow: auto;
}
.seldates {
  flex: 1;
}
@media (max-width: 768px) {
  .floatingcal_calendar {
    flex-direction: column-reverse;
    max-height: 25vh;
    overflow: auto;
  }

  .key,
  .seldates {
    width: 100%;
  }

  .seldates {
    margin-bottom: 1rem;
  }

  .key {
    overflow: none;
    min-height: fit-content;
  }
}

h1 i {
  font-size: 0.7em;
}
.key div {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 10px;
}
.key span {
  padding: 5px;
  display: inline-block;
  width: 25px;
  text-align: center;
  border: 1px solid var(--table-border);
}

.seldate-icons {
  display: flex;
  gap: 1rem;
}

/* End of Calendar */

/* Info group stylings */

.info-group,
.info-group-sticky {
  border: 1px solid var(--table-border);
  padding: 1.5rem 1.25rem 1.25rem;
  position: relative;
  margin-top: 2.5rem;
  max-width: 100%;
}

.info-group-label,
.info-group-sticky-label,
.info-group-secondary-sticky-label {
  color: #fff;
  display: inline-block;
  position: absolute;
}

.info-group-label,
.info-group-secondary-sticky-label {
  background: var(--neutral-dark);
  font-size: 14px;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
}

.info-group-label {
  left: 10px;
  top: -14px;
}

.info-group-secondary-sticky-label {
  left: -11px;
  top: -37px;
}

.info-group-sticky-header,
.info-group-secondary-sticky-header {
  position: sticky;
  background: transparent;
  height: 0;
}

.info-group-sticky-header {
  top: 10rem;
  z-index: 5;
}

.info-group-secondary-sticky-header {
  top: 12.5rem;
  z-index: 3;
}

.info-group-sticky-label {
  background: var(--primary);
  font-size: 16px;
  padding: 8px 16px;
  left: 10px;
  top: -42px;
}

.info-group table {
  border: 0;
  margin: 0;
  width: 100%;
}

.info-group table td,
.info-group table th {
  border: none;
  padding: 0.5rem;
}

.info-group table td {
  width: 75%;
  word-break: break-word;
}

.info-group table th {
  width: 25%;
}

.info-group table tr:not(:last-child) {
  border-bottom: 1px solid var(--table-border);
}

/* End of Info group stylings */

.addendums-actions-column {
  width: 10rem;
}

/* MALTA PAYMENTS PAGE */

.new-table-th.reference-cell,
.new-table-td.reference-cell {
  width: 280px !important;
  min-width: 260px !important;
  text-align: left;
}

.reference-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reference-input {
  min-width: 180px;
  width: 100%;
}

/* === Error pages /noperm and /error === */
.error-page-container {
  height: calc(100vh - 200px);
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1rem 0;
}

.error-number {
  color: var(--accent);
  font-size: 10rem;
  margin: 0;
}

.aligned-os-logo-wrapper {
  position: relative;
  margin: 0 0.5rem;
}

.aligned-os-logo-small-circle {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  border: 8px solid var(--red);
  border-radius: 50%;
}

.aligned-os-logo-main-circle {
  border-radius: 50%;
  border: 20px solid var(--accent);
  height: 110px;
  width: 110px;
}
/* === End of error pages === */
error-details-row {
  border-left: 4px solid var(--red);
  background-color: rgba(235, 50, 50, 0.03);
}

tbody tr.errors {
  border-left: 4px solid var(--red);
  background-color: rgba(235, 50, 50, 0.03);
}

.error-toggle-btn {
  border: 1px solid var(--red) !important;
  color: var(--red);
}

.error-toggle-btn:hover {
  background-color: var(--red);
  color: white;
}

.error-toggle-btn::before {
  background-color: var(--red);
}

.employee-block {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.dashboard-grid .dash-section {
  height: auto;
  align-self: start;
}
@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
/* Requirements display styling */
.requirements-display {
  margin-top: 1rem;
}

.requirements-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.requirements-section {
  min-width: 0;
}

.requirements-display h4 {
  margin: 0 0 0.5em;
  font-size: 0.875em;
  text-transform: uppercase;
  color: #333;
  font-weight: 600;
}

.req-table {
  width: 100%;
  font-size: 0.8em;
}

.req-table td.status {
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

.req-table td.required {
  color: var(--red);
}

.req-table td.optional {
  color: var(--neutral-dark);
}
