@property --start {
  syntax: "<color>";
  initial-value: #f0f0f0;
  inherits: false;
}
@property --end {
  syntax: "<color>";
  initial-value: #cdcdcd;
  inherits: false;
}
@media (prefers-color-scheme: light) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #dedede 100%);
    --color: #151515;
    --color-secondary: #334155;
    --color-disabled: #94a3b8;
    --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
    --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
    --border: #cbd5e1;
    --border-hover: #abbbce;
    --background: #f7f7f7;
    --background-secondary: #cbd5e1;
    --background-hover: #ffffff;
    --close-color: #444;
    --close-color-hover: #222;
    --close-color-active: #000;
    --close-background: rgba(102, 102, 102, 0.24);
    --close-background-hover: rgba(102, 102, 102, 0.4);
    --close-background-active: rgba(102, 102, 102, 0.6);
    --menu-accent: rgba(102, 102, 102, 0.85);
    --modal-border: #5f5f5f;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #e1e1e1;
    --end: #a4a4a4;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #ebebeb;
    --end: #bdbdbd;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #d1d1d1;
    --end: #e6e6e6;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  body::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border: 2px solid #f0f0f0;
  }
  * {
    scrollbar-color: #bbb #f0f0f0;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --body-bg-gradient: linear-gradient(145deg, #252525 0%, #474747 100%);
    --color: #f0f0f0;
    --color-secondary: #94a3b8;
    --color-disabled: #6B5C47;
    --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
    --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
    --border: #38332c;
    --border-hover: #554d42;
    --background: #212121;
    --background-secondary: #38332c;
    --background-hover: #000000;
    --background-disabled: #353535;
    --close-color: #BBB;
    --close-color-hover: #DDD;
    --close-color-active: #FFF;
    --close-background: rgba(153, 153, 153, 0.24);
    --close-background-hover: rgba(153, 153, 153, 0.4);
    --close-background-active: rgba(153, 153, 153, 0.6);
    --menu-accent: rgba(159, 159, 159, 0.85);
    --modal-border: #4d4d4d;
  }
  #BS__submenu ul button {
    color: #f0f0f0;
    --start: #626262;
    --end: #242424;
    background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
    transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
    box-shadow: var(--shadow-btn);
  }
  #BS__submenu ul button:hover {
    --start: #484848;
    --end: #1a1a1a;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  #BS__submenu ul button:active {
    --start: #1f1f1f;
    --end: #343434;
    transform: scale(0.97);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
  }
  body::-webkit-scrollbar-track {
    background: #1e1e1e;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #555;
    border: 2px solid #1e1e1e;
  }
  * {
    scrollbar-color: #555 #1e1e1e;
  }
}
body.light-mode {
  --body-bg-gradient: linear-gradient(145deg, #f0f0f0 0%, #cecece 100%);
  --color: #151515;
  --color-secondary: #334155;
  --color-disabled: #94a3b8;
  --shadow: 0 12px 40px rgba(21, 21, 21, 0.22);
  --shadow-btn: 0 2px 5px rgba(21, 21, 21, 0.12);
  --border: #cbd5e1;
  --border-hover: #abbbce;
  --background: #f7f7f7;
  --background-secondary: #cbd5e1;
  --background-hover: #ffffff;
  --background-disabled: #f1f5f9;
  --close-color: #444;
  --close-color-hover: #222;
  --close-color-active: #000;
  --close-background: rgba(102, 102, 102, 0.24);
  --close-background-hover: rgba(102, 102, 102, 0.4);
  --close-background-active: rgba(102, 102, 102, 0.6);
  --menu-accent: rgba(102, 102, 102, 0.85);
  --modal-border: #5f5f5f;
}
body.light-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #e1e1e1;
  --end: #a4a4a4;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.light-mode #BS__submenu ul button:hover {
  --start: #ebebeb;
  --end: #bdbdbd;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode #BS__submenu ul button:active {
  --start: #d1d1d1;
  --end: #e6e6e6;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.light-mode body::-webkit-scrollbar-track {
  background: #f0f0f0;
}
body.light-mode body::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border: 2px solid #f0f0f0;
}
body.light-mode * {
  scrollbar-color: #bbb #f0f0f0;
}

body.dark-mode {
  --body-bg-gradient: linear-gradient(145deg, #252525 0%, #474747 100%);
  --color: #f0f0f0;
  --color-secondary: #94a3b8;
  --color-disabled: #6B5C47;
  --shadow: 0 12px 40px rgba(240, 240, 240, 0.22);
  --shadow-btn: 0 2px 5px rgba(240, 240, 240, 0.12);
  --border: #38332c;
  --border-hover: #554d42;
  --background: #212121;
  --background-secondary: #38332c;
  --background-hover: #000000;
  --background-disabled: #353535;
  --close-color: #BBB;
  --close-color-hover: #DDD;
  --close-color-active: #FFF;
  --close-background: rgba(153, 153, 153, 0.24);
  --close-background-hover: rgba(153, 153, 153, 0.4);
  --close-background-active: rgba(153, 153, 153, 0.6);
  --menu-accent: rgba(159, 159, 159, 0.85);
  --modal-border: #4d4d4d;
}
body.dark-mode #BS__submenu ul button {
  color: #f0f0f0;
  --start: #626262;
  --end: #242424;
  background: linear-gradient(135deg, var(--start) 0%, var(--end) 100%);
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms;
  box-shadow: var(--shadow-btn);
}
body.dark-mode #BS__submenu ul button:hover {
  --start: #484848;
  --end: #1a1a1a;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode #BS__submenu ul button:active {
  --start: #1f1f1f;
  --end: #343434;
  transform: scale(0.97);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}
body.dark-mode body::-webkit-scrollbar-track {
  background: #1e1e1e;
}
body.dark-mode body::-webkit-scrollbar-thumb {
  background-color: #555;
  border: 2px solid #1e1e1e;
}
body.dark-mode * {
  scrollbar-color: #555 #1e1e1e;
}

body {
  background: var(--body-bg-gradient);
  color: var(--color);
}

#BS__popup {
  margin: 0;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
#BS__popup.removing {
  pointer-events: none;
}

.BS-popup-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.BS-popup-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(21, 21, 21, 0.55);
  overflow-x: hidden;
  overflow-y: visible;
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__popup.removing .BS-popup-iframe {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body.popup {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 56px) clamp(16px, 4vw, 48px);
  background: transparent;
  overflow-y: auto;
}

#BS_popup_container {
  margin: 0;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  cursor: default;
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  border: 2px solid var(--modal-border);
}

body.popup.sidebar #BS_popup_container {
  border: 0px solid var(--modal-border);
  border-left: 2px solid var(--modal-border);
}

.close-modal-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  z-index: 10;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before, .close-modal-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-modal-button::before {
  transform: rotate(45deg);
}
.close-modal-button::after {
  transform: rotate(-45deg);
}
.close-modal-button:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
.close-modal-button:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS_popup_content {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(24px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes panel-in {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  80% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes panel-out {
  to {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
}
@media (min-width: 992px) {
  body.popup {
    padding-inline: clamp(32px, 6vw, 96px);
  }
  #BS_popup_content {
    padding-inline: clamp(32px, 6vw, 64px);
  }
}
@keyframes sidebar-in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  80% {
    transform: translateX(-4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sidebar-out {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(100%);
  }
}
body.sidebar {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body.sidebar #BS_popup_container {
  width: max-content;
  min-width: 320px;
  max-width: 95vw;
  height: 100%;
  max-height: none;
  border-radius: 12px 0 0 0;
  overflow: hidden;
  animation: sidebar-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar.removing #BS_popup_container {
  animation: sidebar-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

body.sidebar .close-modal-button {
  left: 16px;
  right: auto;
}

@media (min-width: 992px) {
  body.sidebar {
    perspective: 1200px;
  }
  body.sidebar #BS_popup_container {
    transform-origin: right center;
  }
}
#BS__submenu {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__submenu .submenu-content {
  cursor: default;
  position: relative;
  width: 320px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: var(--shadow);
  border: 2px solid var(--modal-border);
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__submenu.removing #BS__submenu .submenu-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__submenu .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu .close-modal-or-submenu::before, #BS__submenu .close-modal-or-submenu::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__submenu .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__submenu .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__submenu .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

#BS__submenu ul {
  list-style: none;
  margin: 0;
  padding: 24px 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 4px;
}

#BS__submenu ul button {
  width: 100%;
  padding: 16px 48px 16px 40px;
  border: none;
  border-radius: 8px;
  font: 500 16px/1.4 "Inter", sans-serif;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--color) !important;
  margin-bottom: 4px;
  transition: --start 300ms cubic-bezier(0.4, 0, 0.2, 1), --end 300ms cubic-bezier(0.4, 0, 0.2, 1), padding-left 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms, transform 300ms !important;
}
#BS__submenu ul button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--menu-accent);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__submenu ul button:hover {
  padding-left: 32px;
}
#BS__submenu ul button:hover::before {
  opacity: 1;
}
#BS__submenu ul button:active::before {
  background: #3a3a3a;
  opacity: 1;
}

@media (max-width: 480px) {
  #BS__submenu .submenu-content {
    width: 90vw;
  }
}
#BS__modal {
  margin: 0;
  cursor: pointer;
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 21, 0.55);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

#BS__modal .modal-content {
  cursor: default;
  position: relative;
  width: max-content;
  min-width: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  border-radius: 12px;
  background: var(--body-bg-gradient);
  box-shadow: 0 12px 40px rgba(58, 58, 58, 0.22);
  border: 2px solid var(--modal-border);
  padding: clamp(24px, 5vh, 48px) clamp(24px, 5vw, 56px);
  animation: panel-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__modal.removing #BS__modal .modal-content {
  animation: panel-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#BS__modal .close-modal-or-submenu {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--close-background);
  color: var(--close-color);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__modal .close-modal-or-submenu::before, #BS__modal .close-modal-or-submenu::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#BS__modal .close-modal-or-submenu::before {
  transform: rotate(45deg);
}
#BS__modal .close-modal-or-submenu::after {
  transform: rotate(-45deg);
}
#BS__modal .close-modal-or-submenu:hover {
  background: var(--close-background-hover);
  transform: rotate(90deg);
  color: var(--close-color-hover);
}
#BS__modal .close-modal-or-submenu:active {
  background: var(--close-background-active);
  transform: rotate(180deg);
  color: var(--close-color-active);
}

.modal-header {
  margin: 0;
  font: 600 clamp(1.25rem, 2.5vw, 1.75rem)/1.2 "Inter", sans-serif;
  text-align: center;
}

.modal-dialog {
  font: 400 clamp(1rem, 2.3vw, 1.125rem)/1.5 "Inter", sans-serif;
  text-align: center;
}

.modal-options {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-options li {
  margin: 0;
}

.modal-options button {
  padding: 0.75em 1.75em;
}

@media (max-width: 480px) {
  #BS__modal .modal-content {
    width: 90vw;
  }
}
/* Toast Container Styles */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 10000;
  pointer-events: none;
}

/* Individual Toast Styles */
.toast {
  position: relative;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 16px 16px 20px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: auto;
  /* Entrance animation */
  animation: toast-enter 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

/* Toast types */
.toast-success {
  border-left: 4px solid #10b981;
  background-color: #dbffee;
}

.toast-error {
  border-left: 4px solid #ef4444;
  background-color: #ffdfdf;
}

.toast-info {
  border-left: 4px solid #3b82f6;
  background-color: #d5fff8;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
  background-color: #fff4d0;
}

/* Exit animation */
.toast-exit {
  animation: toast-exit 0.3s forwards cubic-bezier(0.06, 0.71, 0.55, 1);
}

/* Toast loading bar */
.toast-loading-bar {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  transition: width 5s linear;
}
.toast-loading-bar.decreasing {
  width: 0%;
}

.toast-success .toast-loading-bar {
  background: linear-gradient(to right, #059669, #10b981);
}

.toast-error .toast-loading-bar {
  background: linear-gradient(to right, #dc2626, #ef4444);
}

.toast-info .toast-loading-bar {
  background: linear-gradient(to right, #2563eb, #3b82f6);
}

.toast-warning .toast-loading-bar {
  background: linear-gradient(to right, #d97706, #f59e0b);
}

/* Toast message */
.toast-message {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 500;
  margin-right: 16px;
}

/* Close button */
.toast-close-button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  min-width: 0;
  padding-left: 0;
  border-radius: 50%;
  background: rgba(102, 102, 102, 0.4);
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(21, 21, 21, 0.12);
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before, .toast-close-button::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-close-button::before {
  transform: rotate(45deg);
}
.toast-close-button::after {
  transform: rotate(-45deg);
}
.toast-close-button:hover {
  background: rgba(102, 102, 102, 0.6);
  transform: rotate(90deg);
  color: #222;
}
.toast-close-button:active {
  background: rgba(102, 102, 102, 0.8);
  transform: rotate(180deg);
  color: #000;
}

/* Animations */
@keyframes toast-enter {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes toast-exit {
  0% {
    transform: translateX(0);
    opacity: 1;
    max-height: 100px;
    margin-top: 8px;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
    max-height: 0;
    margin-top: 0;
  }
}
/* Utility classes */
.no-display {
  display: none;
}

/* PDF Renderer */
#BS__renderer {
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 21, 21, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
  animation: fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer.removing {
  animation: fade-out 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
#BS__renderer .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  padding: 2rem;
}
#BS__renderer .loader {
  position: relative;
  width: 120px;
  height: 120px;
}
#BS__renderer .loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #141414;
  animation: spin 1.5s linear infinite;
}
#BS__renderer .loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #2d2d2d;
  animation-duration: 1.75s;
  animation-direction: reverse;
}
#BS__renderer .loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: #474747;
  animation-duration: 2s;
}
#BS__renderer .loader-pulse {
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  background-color: #606060;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
#BS__renderer .loader-text {
  margin-top: 2rem;
  text-align: center;
}
#BS__renderer .loader-text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
#BS__renderer .loader-text p {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
#BS__renderer .progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
}
#BS__renderer .progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #606060, #141414);
  border-radius: 3px;
  animation: progress 6s ease-in-out infinite;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 0.9;
  }
}
@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  75% {
    width: 85%;
  }
  90% {
    width: 90%;
  }
  100% {
    width: 95%;
  }
}
html {
  print-color-adjust: exact !important;
  -webkit-print-color-adjust: exact !important;
}

html body header, html body main {
  margin: 0 4%;
}
@media (min-width: 75em) {
  html body header, html body main {
    max-width: 69em;
    margin: 0 auto;
  }
}
html body img {
  max-width: unset;
}
html body #BS__toast.BS__toast-info {
  background: linear-gradient(to right, #0D4074, #0B3968);
}
html body label.search {
  position: relative;
  font-size: 16px;
  display: inline-block;
}
html body label.search img {
  position: absolute;
  top: 10px;
  left: auto;
  right: 10px;
}
html body label.search img:hover {
  cursor: pointer;
}
html body label.search input {
  width: 250px;
  height: 32px;
  background: #fcfcfc;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-style: normal;
  box-shadow: 0 0 3px #ccc, 0 10px 15px #ebebeb inset;
}
html body.search-frame {
  background-color: #E8F0F7;
}
html body.search-frame .search-form {
  border: solid 1px black;
  border-radius: 10px;
  padding: 1em;
}
html body.search-frame .search-form #search_error {
  color: red;
  display: block;
}
html body.search-frame input[type=radio] + span {
  display: inline;
}
html body .logo {
  margin: 0 0 20px 0;
  padding: 0;
  height: 120px;
}
html body .logo div {
  margin: 0;
  padding: 0 20px 0 0;
  width: 50px;
  height: 100%;
  background-color: #0D4074;
  float: left;
}
html body .logo svg {
  margin: 80px 10px 0;
}
html body .logo svg path {
  stroke: white;
  fill: none;
  stroke-width: 5px;
}
html body .logo > span:first-of-type {
  max-width: 66%;
  margin: 73px 0 0 10px;
  line-height: 1.15;
  color: black;
  position: absolute;
}
html body .logo label {
  margin: 0;
  top: 0;
  right: 0;
  position: absolute;
}
html body .logout {
  margin-left: 0.2em;
}
html body.pubbl-body input[type=radio] + span {
  display: inline;
}
html body.pubbl-body .grid-container {
  flex: 1;
  display: grid;
  padding: 20px;
  gap: 20px;
}
html body.pubbl-body .grid-container div {
  margin: 0;
  border: 1px solid black;
  border-radius: 15px;
}
html body.pubbl-body .organisaties, html body.pubbl-body.organisaties > header, html body.pubbl-body.organisaties > main {
  background-color: #a6caec;
  color: black;
}
html body.pubbl-body.organisaties > main .grid-container {
  grid-template-columns: repeat(3, 1fr);
}
html body.pubbl-body.organisaties > main .grid-container div {
  background-color: #eaf2fa;
}
html body.pubbl-body.organisaties > main .grid-container div:nth-child(1) {
  grid-row: span 2;
}
html body.pubbl-body.organisaties > main .grid-container div:nth-child(2) {
  grid-column: span 2;
}
html body.pubbl-body .samenwerkingen, html body.pubbl-body.samenwerkingen > header, html body.pubbl-body.samenwerkingen > main {
  background-color: #e97132;
  color: white;
}
html body.pubbl-body.samenwerkingen > main {
  color: black;
}
html body.pubbl-body.samenwerkingen > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.samenwerkingen > main .grid-container div {
  background-color: #fbe3d6;
}
html body.pubbl-body .inkoop-mantels, html body.pubbl-body.inkoop-mantels > header, html body.pubbl-body.inkoop-mantels > main {
  background-color: #d86ecc;
  color: white;
}
html body.pubbl-body.inkoop-mantels > main .grid-container {
  grid-template-columns: repeat(1, 1fr);
}
html body.pubbl-body.inkoop-mantels > main .grid-container div {
  background-color: #f2cfee;
}
html body.pubbl-body .wetten, html body.pubbl-body.wetten > header, html body.pubbl-body.wetten > main {
  background-color: #7f7f7f;
  color: white;
}
html body.pubbl-body.wetten > main {
  color: black;
}
html body.pubbl-body.wetten > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.wetten > main .grid-container div {
  background-color: #f2f2f2;
}
html body.pubbl-body.wetten > main .grid-container div:nth-child(3) {
  grid-column: span 2;
}
html body.pubbl-body .financien, html body.pubbl-body.financien > header, html body.pubbl-body.financien > main {
  background-color: #ff0000;
  color: white;
}
html body.pubbl-body.financien > main {
  color: black;
}
html body.pubbl-body.financien > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.financien > main .grid-container div {
  background-color: #ffe5e5;
}
html body.pubbl-body .applicaties, html body.pubbl-body.applicaties > header, html body.pubbl-body.applicaties > main {
  background-color: #b4e5a2;
  color: black;
}
html body.pubbl-body.applicaties > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.applicaties > main .grid-container div {
  background-color: #eff9eb;
}
html body.pubbl-body .ict-activiteiten, html body.pubbl-body.ict-activiteiten > header, html body.pubbl-body.ict-activiteiten > main {
  background-color: #ffc000;
  color: black;
}
html body.pubbl-body.ict-activiteiten > main .grid-container {
  grid-template-columns: repeat(2, 1fr);
}
html body.pubbl-body.ict-activiteiten > main .grid-container div {
  background-color: #fff9e5;
}
html body.pubbl-body.index > header > div {
  justify-content: center;
}
html body.pubbl-body header {
  max-width: 69em;
  background-color: #dceaf7;
}
html body.pubbl-body header div {
  margin-top: 1em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2em;
  position: relative;
}
html body.pubbl-body header div h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}
html body.pubbl-body header div input {
  border-radius: 20px;
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  padding: 9px 4px 9px 40px;
  background: white url(search-icon.svg) no-repeat 13px center;
}
html body.pubbl-body main {
  max-width: 69em;
}
html body.pubbl-body main .container {
  display: flex;
}
html body.pubbl-body main .container div {
  margin: 0;
}
html body.pubbl-body main .container .menu {
  display: flex;
  flex-direction: column;
}
html body.pubbl-body main .container .menu .menu-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5em;
}
html body.pubbl-body main .container .menu .menu-item img {
  width: 50px;
  height: 50px;
}
html body.pubbl-body main .container .menu .menu-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin-left: 1em;
}
html body.pubbl-body main .container .menu .menu-item div h2, html body.pubbl-body main .container .menu .menu-item div h3 {
  margin: 0;
  text-decoration: none;
  font-style: normal;
}
html body.pubbl-body .grid-container-homepage {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
html body.pubbl-body .grid-container-homepage div {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}
html body.pubbl-body .grid-container-homepage div:first-of-type {
  grid-row: span 2;
}

html body:not(.pubbl-body):not(.popup) {
  background: unset;
  background-color: #E8F0F7;
}
html header, html main {
  max-width: 54em;
}
html input[type=text], html input[type=email],
html input[type=url], html input[type=tel],
html input[type=password], html input[type=search],
html input[type=number], html input[type=range],
html input[type=color], html input[type=date],
html input[type=time], html input[type=datetime-local],
html input[type=week], html input[type=month], html select {
  outline-color: #333;
  accent-color: #0D4074;
}
html footer {
  color: white;
  background-color: #0D4074;
}
html footer a, html footer a:visited {
  color: white;
  border-bottom: dotted 2px white;
  text-decoration: none;
}
html footer a:hover {
  background-color: #222;
}
html button, html input[type=button], html input[type=submit], html .button, html .logo-colors {
  background: #0D4074;
  color: white;
}
html button:hover, html input[type=button]:hover, html input[type=submit]:hover, html .button:hover {
  background: black;
}
html dl table {
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  table-layout: fixed;
}
html dl table th {
  min-width: 5em;
  text-align: right;
}
html [data--baton-controller=schakel-favoriet] {
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
}
html span.required {
  color: red;
}
html .control {
  font-size: normal;
  background-color: inherit;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
html .control:hover {
  cursor: pointer;
}
html .control.add {
  background-color: green;
}
html .control.delete {
  background-color: red;
}
html .tiles {
  font-size: 75%;
}
html .tiles section:hover {
  background-color: #CFD9E3;
  cursor: pointer;
}
html .tiles section:hover h3 span {
  border-color: white;
}
html .tiles .tile {
  border: solid #0D4074 0.5em;
  color: black;
  background-color: white;
  border-radius: 1em;
  max-width: 12em;
  height: 17em;
}
html .tiles .tile > span {
  text-align: end;
  display: block;
  padding-right: 0.5em;
  font-style: normal;
}
html .tiles .tile h3 {
  margin-top: 0;
}
html .tiles .tile h3 span {
  display: inline-block;
  font-size: 200%;
  font-style: normal;
  font-weight: 900;
  border-radius: 50%;
  border: solid #0D4074 0.125em;
  color: white;
  background-color: #0D4074;
  width: 2.25em;
  height: 2.25em;
  margin: 0.5em 0 0.25em;
  padding-top: 0.4em;
}
html .tiles .tile div {
  vertical-align: bottom;
}
html .tiles .tile div p {
  display: inline-block;
  padding: 0.2em 0.3em;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-word; /*	CSS Tricks: break-all is broken, use break-word instead	*/
  hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}
html .sql .query-tables > * {
  display: inline-block;
}
html .sql .query-tables table {
  font-family: "Courier New", Courier, monospace;
}
html .sql .query-tables table td {
  margin: 0;
  padding: 0;
  min-width: 6.1em;
  font-weight: bold;
  font-size: 100%;
}
html .sql .query-tables table .phrase {
  padding: 0.7em 0.2em;
  vertical-align: top;
  text-align: right;
}
html .sql .query-tables table select, html .sql .query-tables table textarea {
  vertical-align: top;
  font-weight: inherit;
  font-family: inherit;
}
html .sql .query-tables table select {
  display: block;
}
html .sql .query-tables table textarea {
  margin: 0;
  display: inline-block;
  resize: none;
}
html .sql .query-tables table:last-child {
  margin-right: 0;
}
html .sql .results {
  border: solid 2px gray;
  padding: 0;
  overflow-x: auto;
}
html .sql .results table {
  table-layout: fixed;
  white-space: nowrap;
  width: auto;
  margin: 0;
}
html .sql .results table td {
  max-width: 40em;
  text-align: left;
  overflow-x: hidden;
}
html .sql .results table .number {
  text-align: right;
}
html .organogram {
  background-color: #DDD;
  padding: 5px;
  border: solid gray 5px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 #2a2a2a;
}
html .hide {
  display: none;
}
html .letter-get .keyboard {
  border-collapse: collapse;
  border: solid 1px black;
}
html .letter-get .keyboard td {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.9);
}
html .letter-get .keyboard .key {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
  border: solid 1px black;
  height: 4em;
  width: 4em;
  line-height: 4em;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  display: inline-block;
  text-align: center;
}
html .section-title {
  display: inline-block;
  font-weight: bold;
  font-size: 125%;
  max-width: 66%;
}
html .list-style-none {
  list-style-type: none;
}
html input[type=checkbox] {
  float: left;
  margin: 0.5em 0.3em 0.2em;
  outline: none;
}
html body:not(.frame--login) input[type=checkbox] + ul,
html body:not(.frame--login) input[type=checkbox] + p,
html body:not(.frame--login) input[type=checkbox] + div,
html body:not(.frame--login) input[type=checkbox] + dl,
html body:not(.frame--login) input[type=checkbox] + table {
  display: none;
}
html body:not(.frame--login) input:checked + ul,
html body:not(.frame--login) input:checked + p,
html body:not(.frame--login) input:checked + div,
html body:not(.frame--login) input:checked + dl,
html body:not(.frame--login) input:checked + table {
  display: block;
}
html meter {
  width: 100%;
}
html input[type=radio] + span {
  display: none;
}
html input[type=radio]:checked + span {
  display: inline;
}
html aside {
  color: black;
}
html aside dd a {
  display: inline-block; /* or block */
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html aside dd ul {
  margin: 0;
}
html .double-spaced a:hover, html .double-spaced button:hover {
  cursor: pointer;
}
html .index-concordance input[type=checkbox] {
  margin: 0.3rem 0.7rem;
}
html [data--baton-controller--onclick]:hover,
html tr[data--baton-controller--oncontextmenu]:hover {
  cursor: pointer;
}
html tr[data--baton-controller--onclick]:hover td:not(.favorite),
html tr[data--baton-controller--oncontextmenu]:hover td:not(.favorite) {
  background-color: black;
  color: white;
}
html tr[data--baton-controller--onclick]:hover:hover td.favorite:hover ~ td,
html tr[data--baton-controller--oncontextmenu]:hover:hover td.favorite:hover ~ td {
  background-color: initial;
  color: initial;
}
html tr[data--baton-controller--onclick]:hover td.favorite:hover,
html tr[data--baton-controller--oncontextmenu]:hover td.favorite:hover {
  background-color: black;
  color: white;
}
html li span[data--baton-controller--onclick]:hover {
  border-bottom: dotted 2px black;
}
html .horizontal {
  border-radius: 1rem;
  background-color: white;
  padding: 1rem;
}
html .horizontal .horizontal-list {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  column-gap: 1rem;
  overflow-x: auto;
  min-height: 1vh;
}
html .horizontal .horizontal-list li {
  min-width: 32%;
  border-radius: 1rem;
  border: black solid 1px;
  padding: 0 0.5rem;
}
html .board {
  display: flex;
  gap: 1em;
  max-width: 100%;
}
html .board > div {
  min-width: 32%;
  max-width: 32%;
  padding: 1em;
  border-radius: 10px;
  border: solid 1px #B3B3C1;
}
html .board .list {
  height: 50vh;
}
html .board .list > button {
  float: right;
  border-radius: 50%;
  width: 1.75em;
  height: 1.75em;
  text-align: center;
}
html .board .list ul {
  list-style-type: none;
  padding-left: 0;
  row-gap: 1rem;
  overflow-y: auto;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  height: 41vh;
}
html .board .list ul li {
  border-radius: 1rem;
  border: black solid 1px;
  padding: 0 0.5rem;
  width: 100%;
  height: fit-content;
}

.modal-options li:not(:last-child) {
  margin-bottom: 0.3em;
}

.url-display-box {
  width: 45em;
  max-width: 92vw;
  height: 28em;
}

.frame--index main > div {
  margin: 10vh 0 10vh;
  text-align: center;
}
.frame--index main > div > span {
  font-family: sans-serif;
  font-size: 10vw;
  font-weight: 900;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}
.frame--index main > div > span .red {
  color: #D52B1E;
}
.frame--index main > div > span .blue {
  color: #154273;
}
.frame--index main > div > span .white {
  color: white;
}
.frame--index main > div > span .orange {
  color: #E17000;
}
.frame--index main > div > span .green {
  color: #39870C;
}
.frame--index main > div label {
  margin: 5vh 0;
  display: block;
}
.frame--index main > div label input {
  width: 50vw;
}
.frame--index main > div label img {
  right: 22vw;
}
.frame--index main > div h1 {
  margin-bottom: 5vh;
}
.frame--index main > div ul {
  list-style: none;
}
.frame--index main > div li {
  padding: 0.15rem;
}
.frame--index main > div li span {
  cursor: pointer;
  border-bottom: dotted 2px black;
}
.frame--index main > div li span:hover {
  background-color: #CFD9E3;
}

strong, .bold {
  font-weight: bold;
}

.right {
  text-align: right;
}

.nowrap {
  word-wrap: normal;
}

