/* ===== ROOT VARIABLES ===== */
:root {
  --color-sidebar: #0c2a2e;
  --color-background: #385E67;
  --color-home-button: #0732367a;
  --color-front-50: #f6f7f8;
  --color-front-100: #eaecef;
  --color-front-200: #d9dde4;
  --color-front-300: #bfc7d1;
  --color-front-400: #98a2b3;
  --color-front-500: #8993a8;
  --color-front-600: #788098;
  --color-front-700: #6b718a;
  --color-front-800: #5b5e72;
  --color-front-900: #4b4f5d;
  --color-primary: #2e90fa;
  --color-primary-focus: #1570ef;
  --color-primary-content: #FFFFDD;
  --color-secondary: var(--color-purple-500);
  --color-secondary-focus: var(--color-purple-600);
  --color-secondary-content: #FF9914;
  --color-accent: var(--color-purple-500);
  --color-accent-focus: var(--color-purple-600);
  --color-accent-content: hsl(108,63%,38%);
  --color-neutral: #D9D9D9;
  --color-neutral-focus: var(--color-gray-100);
  --color-neutral-content: #385E67;
  --color-success: hsl(108,63%,38%);
  --color-success-focus: hsl(108,63%,30%);
  --color-success-content: hsl(108,63%,15%);
  --color-warning-content: white;
  --color-warning: #F94D2B;
  --color-warning-focus: #F86C50;
  --color-error: pink;
  --color-error-focus: salmon;
  --color-error-content: red;
  --color-info: var(--color-purple-500);
  --color-info-focus: var(--color-purple-600);
  --color-info-content: var(--color-gray-50);
  --color-base-100: hsl(0,0%,0%);
  --color-base-200: #385E67;
  --color-base-300: hsl(280,18%,97%);
  --color-foreground: var(--color-front-900);
  --color-foreground-focus: var(--color-front-800);
  --color-foreground-content: var(--color-front-50);
  --color-background-focus: var(--color-front-100);
  --color-background-content: var(--color-front-900);
  --color-base-content: #FFFFDD;
}

/* ===== BASE STYLES ===== */
html {
  overflow-x: hidden;
  font-family: Poppins, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  color: var(--color-base-content);
  background-color: var(--color-background);
  min-width: 23rem;
  font-size: 1rem;
  line-height: 1.5;
}

main {
  min-width: 370px;
  transition: margin-left .3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-x: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: .025em;
}

h1 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-primary-content);
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: center;
}

h2 {
  font-weight: 600;
  color: var(--color-secondary-content);
  font-size: 1.75rem;
  line-height: 2.5rem;
  text-align: center;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

p {
  letter-spacing: .005em;
}

.title-form {
  font-weight: 600;
  color: var(--color-neutral-content);
  font-size: 1.75rem;
  line-height: 2.5rem;
  text-align: left;
}

.json-content {
  font-family: monospace;
}

/* ===== FORM ELEMENTS ===== */
input, optgroup, select, textarea {
  color: #584406;
}

.field-container {
  display: inline-grid;
  grid-template-columns: 20% 1fr;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
}

  .field-container > [data-field-role="label-container"],
  .field-label {
    color: var(--color-neutral-content);
    font-size: 1rem;
    font-weight: 600;
  }

  .field-container > [data-field-role="input-container"] {
    display: flex;
    gap: .5rem;
    align-items: center;
    grid-template-columns: auto;
  }

    .field-container > [data-field-role="input-container"] input,
    select,
    .search-box input,
    .search-box select {
      width: 100%;
      border-radius: .375rem;
      border-width: 2px;
      padding: .5rem;
    }

      .field-container > [data-field-role="input-container"] input:focus,
      .search-box input:focus {
        outline: none;
        border-color: var(--color-secondary-content);
      }

  .field-container[data-is-error] > [data-field-role="input-container"] input {
    outline: none;
    color: var(--color-error-content);
    border-color: var(--color-error-focus);
  }

  .field-container input:user-invalid {
    border-color: var(--color-error-focus);
  }

  .field-container input:user-valid {
    border-color: var(--color-success-focus);
  }

  .field-container > [data-field-role="validation-container"] label,
  .field-container > [data-field-role="validation-container"] {
    color: var(--color-error-content);
    font-size: small;
  }

  .field-container > [data-field-role="validation-container"] {
    grid-column: 2;
  }

    .field-container > [data-field-role="validation-container"] ul {
      color: var(--color-error-content);
      list-style: disc;
      list-style-position: inside;
    }

  .field-container > [data-field-role="description-container"] > span {
    color: var(--color-base-content);
    font-size: small;
  }

  .field-container > [data-field-role="description-container"] {
    display: contents;
  }

.readonly-input {
  width: 100%;
  border: none;
  background: transparent;
}

.final-value-input {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-neutral-content);
  background-color: var(--color-neutral);
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid #e50190;
}

.validation-message {
  color: #e50190;
}

form:invalid button[type="submit"] {
  animation: none;
  opacity: 0.6;
}

/* ===== BUTTONS ===== */
button, .button {
  border-radius: .375rem;
  color: white;
  border-width: 2px;
  padding: .5rem 1rem;
  transition: transform .2s ease;
}

.button {
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-block;
}

.home-button {
  background-color: var(--color-home-button);
}

a.btn {
  display: inline-block;
}

button[disabled="disabled"] {
  opacity: 0.5;
}

button:active {
  animation: zoomInOut 1s ease;
}

.search-button {
  background: none;
  justify-self: center;
  width: 5rem;
  height: 5rem;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 100%;
  height: 100%;
  background: url("../img/ePesosGo_button_0_5x.png") no-repeat center center;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  border: none;
  margin: 0;
  padding: 0;
}



.table-button {
  color: inherit;
  border: 0;
}

.btn-link {
  padding: .5rem 1rem;
}

#btn-login {
  font-size: medium;
  height: 2.5rem;
  padding: 1.2rem;
  box-sizing: border-box;
  border-width: .1rem;
  border-style: solid;
  border-color: #E4E7EC;
}

/* ===== TOGGLE BUTTON ===== */

.tgl {
  display: none;
}

  .tgl,
  .tgl:after,
  .tgl:before,
  .tgl *,
  .tgl *:after,
  .tgl *:before,
  .tgl + .tgl-btn {
    box-sizing: border-box;
  }

    .tgl::-moz-selection,
    .tgl:after::-moz-selection,
    .tgl:before::-moz-selection,
    .tgl *::-moz-selection,
    .tgl *:after::-moz-selection,
    .tgl *:before::-moz-selection,
    .tgl + .tgl-btn::-moz-selection,
    .tgl::selection,
    .tgl:after::selection,
    .tgl:before::selection,
    .tgl *::selection,
    .tgl *:after::selection,
    .tgl *:before::selection,
    .tgl + .tgl-btn::selection {
      background: none;
    }

    .tgl + .tgl-btn {
      outline: 0;
      display: block;
      width: 4em;
      height: 2em;
      position: relative;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

      .tgl + .tgl-btn:after,
      .tgl + .tgl-btn:before {
        position: relative;
        display: block;
        content: "";
        width: 50%;
        height: 100%;
      }

      .tgl + .tgl-btn:after {
        left: 0;
      }

      .tgl + .tgl-btn:before {
        display: none;
      }

    .tgl:checked + .tgl-btn:after {
      left: 50%;
    }

.tgl-ios + .tgl-btn {
  background: #fbfbfb;
  border-radius: 2em;
  padding: 2px;
  transition: all 0.4s ease;
  border: 1px solid #e8eae9;
}

  .tgl-ios + .tgl-btn:after {
    border-radius: 2em;
    background: #fbfbfb;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  .tgl-ios + .tgl-btn:hover:after {
    will-change: padding;
  }

  .tgl-ios + .tgl-btn:active {
    box-shadow: inset 0 0 0 2em #e8eae9;
  }

    .tgl-ios + .tgl-btn:active:after {
      padding-right: 0.8em;
    }

.tgl-ios:checked + .tgl-btn {
  background: #86d993;
}

  .tgl-ios:checked + .tgl-btn:active {
    box-shadow: none;
  }

    .tgl-ios:checked + .tgl-btn:active:after {
      margin-left: -0.8em;
    }


/* ===== COLOR CLASSES ===== */
.text-primary, .primary {
  color: var(--color-primary-content);
}

.primary {
  background-color: var(--color-primary);
  outline-color: var(--color-primary);
  border-color: var(--color-primary);
}

  .primary:hover, .primary:focus {
    background-color: var(--color-primary-focus);
    outline-color: var(--color-primary-focus);
    border-color: var(--color-primary-focus);
  }

.text-secondary {
  color: var(--color-secondary-content);
}

.secondary {
  color: var(--color-secondary-content);
  background-color: var(--color-secondary);
  outline-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

  .secondary:hover, .secondary:focus {
    background-color: var(--color-secondary-focus);
    outline-color: var(--color-secondary-focus);
    border-color: var(--color-secondary-focus);
  }

.text-accent {
  color: var(--color-accent-content);
}

.accent {
  color: var(--color-accent-content);
  background-color: var(--color-accent);
  outline-color: var(--color-accent);
  border-color: var(--color-accent);
}

  .accent:hover, .accent:focus {
    background-color: var(--color-accent-focus);
    outline-color: var(--color-accent-focus);
    border-color: var(--color-accent-focus);
  }

.text-neutral {
  color: var(--color-neutral-content);
}

.neutral {
  color: var(--color-neutral-content);
  background-color: var(--color-neutral);
  outline-color: var(--color-neutral);
  border-color: var(--color-neutral);
}

  .neutral:hover, .neutral:focus {
    background-color: var(--color-neutral-focus);
    outline-color: var(--color-neutral-focus);
    border-color: var(--color-neutral-focus);
  }

.text-warning {
  color: var(--color-warning);
}

.warning {
  color: var(--color-warning-content);
  background-color: var(--color-warning);
  outline-color: var(--color-warning);
  border-color: var(--color-warning);
}

  .warning:hover, .warning:focus {
    background-color: var(--color-warning-focus);
    outline-color: var(--color-warning-focus);
    border-color: var(--color-warning-focus);
  }

.text-error {
  color: var(--color-error-content);
  text-wrap-mode: wrap;
  overflow-wrap: break-word;
}

.error {
  color: var(--color-error-content);
  background-color: var(--color-error);
  outline-color: var(--color-error);
  border-color: var(--color-error);
}

  .error:hover, .error:focus, .success:hover, .success:focus {
    background-color: var(--color-error-focus);
    outline-color: var(--color-error-focus);
    border-color: var(--color-error-focus);
  }

.text-success {
  color: var(--color-success-content);
}

.success {
  color: var(--color-success-content);
  background-color: var(--color-success);
  outline-color: var(--color-success);
  border-color: var(--color-success);
}

.text-base-content {
  color: var(--color-base-content);
}

.bg-base-100 {
  background-color: var(--color-base-100);
}

.bg-base-200 {
  background-color: var(--color-base-200);
}

.bg-base-300 {
  background-color: var(--color-base-300);
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(000/var(--tw-bg-opacity));
}

/* ===== LAYOUT CLASSES ===== */
.content-grid, .full-width {
  --_padding-inline: var(--content-grid-padding-inline,1rem);
  --_content-max-width: var(--content-grid-content-max-width,50rem);
  --_breakout-max-width: var(--content-grid-breakout-max-width,1200px);
  --_breakout-size: calc((var(--_breakout-max-width) 0 var(--_content-max-width)) / 2);
  --_content-size: calc(100%-(var(--_padding-inline) * 2));
  display: grid;
  grid-template-columns: [full-width-start]minmax(var(--_padding-inline), 1fr) [content-start]min(var(--_content-size), var(--_content-max-width)) [content-end]minmax(var(--_padding-inline), 1fr) [full-width-end];
}

  .content-grid > :not(.breakout,.full-width),
  .full-width > :not(.breakout,.full-width) {
    grid-column: content;
  }

  .content-grid > .breakout {
    grid-column: breakout;
  }

  .content-grid > .full-width {
    grid-column: full-width;
    display: grid;
    grid-template-columns: inherit;
  }

.display-grid {
  display: grid;
}

.two-equal-columns {
  grid-template-columns: 1fr 1fr;
}

.two-unequal-columns {
  grid-template-columns: 1fr 2fr;
}

.grid-template-columns-fit {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit,minmax(30rem,1fr) );
}

.col-justify-end {
  text-align: end;
}

.col-justify-center {
  text-align: center;
}

.col-justify-start {
  text-align: start;
}

.form-centered-container {
  display: flex;
  justify-content: center;
}

/* ===== FORM STYLES ===== */
.one-line-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-block: .5rem;
  padding-inline: 1rem;
}

.styled-form {
  max-width: 100%;
  display: grid;
  gap: 1rem;
  flex-grow: 1;
  flex-shrink: 1;
  align-content: center;
  grid-template-columns: repeat(auto-fit,minmax(15rem,1fr));
  justify-items: stretch;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.styled-form label {
  font-weight: bold;
  color: #333;
  font-size: .875rem;
  margin-bottom: .25rem;
}

.styled-form input {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .875rem;
  width: 100%;
  box-sizing: border-box;
  padding: .5rem;
}

.default-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== TABLE STYLES ===== */
.quickgrid, .quickgrid th, .quickgrid td {
  border-collapse: collapse;
}

  .quickgrid th, .quickgrid td {
    width: 20%;
    padding: 5px;
  }

  .quickgrid > thead > tr > th {
    font-weight: normal;
    position: sticky;
    top: 0;
    background-color: var(--color-gray-500);
    color: white;
  }

  .quickgrid td {
    white-space: nowrap;
  }

    .quickgrid td.sticky {
      left: 0;
      z-index: 100;
    }

  .quickgrid th.sticky {
    left: 0;
    z-index: 900;
  }

.quickgrid, fluent-data-grid {
  width: 100%;
  font-family: monospace;
}

  .quickgrid tr:nth-child(even) td,
  .quickgrid tr:nth-child(even) .readonly-input,
  fluent-data-grid fluent-data-grid-row:nth-child(even),
  .editor-grid .grid-row:nth-child(odd) {
    background-color: var(--color-gray-300);
  }

  .quickgrid tr:nth-child(odd) td,
  .quickgrid tr:nth-child(odd) .readonly-input,
  .editor-grid .grid-row:nth-child(even) {
    background-color: var(--color-gray-100);
  }

.table-scroll-container {
  overflow: auto;
  max-height: 65vh;
  min-height: 15vh;
}

fluent-data-grid-cell {
  padding-inline: .5rem;
  padding-block: .1rem;
}

/* ===== EDITOR GRID ===== */
.editor-grid {
  width: 100%;
  font-family: monospace;
  display: grid;
  row-gap: .2rem;
  column-gap: .5rem;
}

  .editor-grid .grid-header, .editor-grid .grid-row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column-start: 1;
    grid-column-end: -1;
    align-items: center;
    border-radius: .5rem;
    padding-inline: .2rem;
    gap: .2rem;
    padding: 0;
  }

  .editor-grid .grid-header {
    background-color: var(--color-base-200);
    color: var(--color-base-300);
    font-weight: bold;
    justify-items: center;
  }

  .editor-grid .field-container {
    grid-template-columns: auto;
    padding-block: .2rem;
    padding-inline: 0;
  }

    .editor-grid .field-container > [data-field-role="validation-container"] ul {
      list-style: none;
    }

    .editor-grid .field-container > [data-field-role="input-container"] > input, select {
      padding: .2rem;
    }

  .editor-grid button {
    background-color: transparent;
    border: none;
    align-self: center;
    justify-self: center;
    width: auto;
    color: currentColor;
    padding: .2rem 1rem;
  }

  .editor-grid .button-container {
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* ===== DETAIL ROWS ===== */
.detail-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column-start: 1;
  grid-column-end: -1;
}

  .detail-row:nth-child(even) {
    background-color: lightgray;
  }

.two-equal-columns > .detail-row > div:nth-child(odd) {
  font-weight: 500;
}

/* ===== CONTRAST CONTAINER ===== */
.contrast-container {
  background-color: var(--color-neutral-100);
  color: var(--color-neutral-content);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

  .contrast-container + .loading-container {
    border-radius: 1.5rem;
  }

/* ===== LOADING STYLES ===== */
.loading {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background-color: rgba(0,0,0,0.5);
  z-index: 99999;
}

.loading-wrapper-title {
  display: flex;
  justify-content: center;
  max-height: 2rem;
  padding: .2rem;
}

/* ===== SIDEBAR & NAVIGATION ===== */
.sidebar {
  width: 250px;
  height: 100%;
  background: var(--color-sidebar);
  top: 0;
  left: 0;
  transform: translateX(-100%);
  transition: transform .3s ease;
  position: fixed;
  z-index: 1000;
  pointer-events: none;
}

.sidebar-toggler {
  transition: opacity .3s ease;
  position: relative;
  min-width: 2.3rem;
  min-height: 2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}


#sidebar-toggler-checkbox:checked ~ .page > .sidebar {
  transform: translateX(0);
  pointer-events: auto;
}

.page > .sidebar > .top-row > .sidebar-toggler {
  left: -1rem;
}

#sidebar-toggler-checkbox:checked ~ .page > main > .top-row > .sidebar-toggler {
  opacity: 0;
  pointer-events: none;
}

.nav-scrollable {
  display: block;
  height: calc(100vh-4rem);
  overflow-y: auto;
}

.nav-item {
  font-size: .9rem;
  padding-bottom: .5rem;
}

  .nav-item:first-of-type {
    padding-top: 1rem;
  }

  .nav-item:last-of-type {
    padding-bottom: 1rem;
  }

  .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
  }

    .nav-item a.active {
      background-color: rgba(255,255,255,0.2);
      color: white;
    }

    .nav-item a:hover {
      background-color: rgba(255,255,255,0.09);
      color: white;
    }

.navbar-brand {
  font-size: 1.1rem;
}

/* ===== TOP ROW ===== */
.top-row {
  background-color: rgba(0, 0, 0, 0.4);
  height: 3.5rem;
  max-height: 3.5rem;
  display: flex;
  align-items: center;
  width: 100%;
  z-index: 1;
}

.top-row, article {
  padding-inline: 2rem;
  padding-block: 2rem;
}

  .top-row a, .top-row .btn-link {
    white-space: nowrap;
    text-decoration: none;
  }

    .top-row a:hover, .top-row .btn-link:hover {
      text-decoration: underline;
    }

    .top-row a:first-child {
      overflow: hidden;
      text-overflow: ellipsis;
    }

/* ===== PAGE LAYOUT ===== */
.page {
  position: relative;
  display: grid;
}

/* ===== ICONS ===== */
.bi {
  display: inline-block;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .3rem;
  top: -1px;
  background-size: cover;
}

.bi-person-fill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-house-door-fill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-clipboard-fill {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-clipboard-fill' viewBox='0 0 16 16'%3E%3Cpath d='M10 1.5v-1A.5.5 0 0 0 9.5 0h-3a.5.5 0 0 0-.5.5v1H3.5A1.5 1.5 0 0 0 2 3v11a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1.5 1.5 0 0 0-1.5-1.5H10zm0-1v1h-4v-1a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5zM5 5h6v1H5V5zm0 2h6v1H5V7zm0 2h6v1H5v-1z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492M5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115z'/%3E%3C/svg%3E");
}
/* ===== MISC COMPONENTS ===== */
.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem #b32121;
  color: white;
  padding: 1rem 1rem 1rem 3.7rem;
}

  .blazor-error-boundary::after {
    content: "An error has occurred.";
  }

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
  display: none;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: .6rem 1.25rem .7rem;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
  }

fluent-accordion-item {
  --design-unit: 2;
}

footer {
  text-align: center;
  font-size: small;
  position: absolute;
  bottom: 0;
  left: 40%;
}

li {
  text-wrap-mode: wrap;
  overflow-wrap: break-word;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 600px) {
  .styled-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group {
    width: 100%;
  }

  .search-button {
    align-self: stretch;
  }
}

@media (min-width: 1200px) {
  .styled-form {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  article {
    margin-top: 4rem !important;
  }

  .nav-scrollable {
    margin-top: 4rem;
  }

  .default-layout {
    margin-top: 4rem;
    position: relative;
    z-index: 0;
  }

  .top-row {
    position: fixed;
  }

  .paginator {
    flex-direction: column;
  }
}

@media (min-width: 701px) {
  #sidebar-toggler-checkbox:checked ~ .page > main {
    margin-left: 250px;
    transition: margin-left .3s ease .05s;
  }

  .page {
    flex-direction: row;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes zoomInOut {
  25% {
    transform: scale(.8);
  }

  50% {
    transform: scale(.7);
  }

  75% {
    transform: scale(.9);
  }

  100% {
    transform: scale(1);
  }
}


/* ===== PAGINATION ===== */
/* Pagination.razor.css */

.paginator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-top: 1px solid #ccc;
  margin-top: 1rem;
}

.summary {
  font-size: 0.9rem;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-a, .pagination-span, .pagination-button {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #127941;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

  .pagination-a:hover, .pagination-button:hover {
    background-color: #e9ecef;
  }

  .pagination-a[disabled], .pagination-span[disabled], .pagination-button[disabled] {
    color: #aaa;
    background-color: #e9ecef;
    border-color: #ddd;
    cursor: not-allowed;
  }

.pagination-text {
  font-size: 1rem;
  margin: 0 1rem;
}

.go-first, .go-previous, .go-next, .go-last {
  min-width: fit-content;
  font-weight: bold;
}


