@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");
.crc-scrollbar {
  scrollbar-color: #999 #333 !important;
  scrollbar-width: thin !important;
}
.crc-scrollbar *::-webkit-scrollbar-track {
  background-color: #fff;
  background-image: radial-gradient(circle, #ddd 1px, #fff 2px);
  background-size: 3px 3px;
  background-repeat: repeat;
}
.crc-scrollbar *::-webkit-scrollbar {
  width: 1vw;
}
.crc-scrollbar *::-webkit-scrollbar-thumb {
  border: 1px solid var(--bs-primary);
  background-color: #fff;
  background-image: linear-gradient(var(--bs-primary-bg-subtle) 0%, var(--bs-primary) 30%, var(--bs-primary) 70%, var(--bs-primary-bg-subtle) 100%);
}
.crc-scrollbar.rounded *::-webkit-scrollbar-thumb,
.crc-scrollbar.rounded *::-webkit-scrollbar-track {
  border-radius: 0.2vw;
}

.btn-cs-secondary {
  --cs-secondary-bg: #01409D;
  --cs-secondary-rgb: 1, 64, 157;
  --bs-btn-font-weight: 400;
  --bs-btn-color: var( --bs-white);
  --bs-btn-bg: var( --cs-secondary-bg);
  --bs-btn-border-color: var( --cs-secondary-bg);
  --bs-btn-hover-color: var( --bs-white);
  --bs-btn-hover-bg: color-mix(in srgb, var( --cs-secondary-bg) 80%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var( --cs-secondary-bg) 80%, black);
  --bs-btn-focus-shadow-rgb: var(--cs-secondary-rgb);
  --bs-btn-active-color: var( --bs-btn-hover-color);
  --bs-btn-active-bg: color-mix(in srgb, var( --cs-secondary-bg) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var( --cs-secondary-bg) 80%, black);
}
.btn-cs-secondary:disabled {
  --bs-btn-disabled-bg: rgb(73.44, 80.0307692308, 89.76);
  --bs-btn-disabled-border-color: rgb(162.435, 169.2317307692, 179.265);
  --bs-btn-disabled-color: rgb(162.435, 169.2317307692, 179.265);
  pointer-events: unset;
  cursor: not-allowed;
}
.btn-cs-secondary:disabled:active {
  background-color: rgb(73.44, 80.0307692308, 89.76);
  border-color: rgb(162.435, 169.2317307692, 179.265);
  color: rgb(162.435, 169.2317307692, 179.265);
}

.btn-primary:disabled {
  --bs-btn-disabled-bg: rgb(73.44, 80.036, 89.76);
  --bs-btn-disabled-border-color: rgb(162.435, 169.237125, 179.265);
  --bs-btn-disabled-color: rgb(162.435, 169.237125, 179.265);
  pointer-events: unset;
  cursor: not-allowed;
}
.btn-primary:disabled:active {
  background-color: rgb(73.44, 80.036, 89.76);
  border-color: rgb(162.435, 169.237125, 179.265);
  color: rgb(162.435, 169.237125, 179.265);
}

.btn-danger:disabled {
  --bs-btn-disabled-bg: rgb(89.76, 73.44, 75.0035928144);
  --bs-btn-disabled-border-color: rgb(179.265, 162.435, 164.0474550898);
  --bs-btn-disabled-color: rgb(179.265, 162.435, 164.0474550898);
  pointer-events: unset;
  cursor: not-allowed;
}
.btn-danger:disabled:active {
  background-color: rgb(89.76, 73.44, 75.0035928144);
  border-color: rgb(179.265, 162.435, 164.0474550898);
  color: rgb(179.265, 162.435, 164.0474550898);
}

html, body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(8pt, 1.15vw, 18pt);
  height: 100%;
  background-image: radial-gradient(circle at center 150%, rgba(14, 111, 253, 0.33), #000000 58%);
  background-attachment: fixed;
}

:root {
  --ac-icon-width: 1em;
  --ac-icon-padding: 0.5em;
  --ac-icon-column-width: calc(var(--ac-icon-width) + var(--ac-icon-padding) * 2);
  --ac-card-width: 33vw;
  --ac-font-size: 2.25vh;
  --editor-border-color: rgba(var(--bs-primary-rgb), 75%);
  --editor-border-color-hover: rgba(var(--bs-primary-rgb), 95%);
}

*::placeholder {
  font-size: 0.9em;
  color: rgba(var(--bs-body-color-rgb), 80%) !important;
  font-style: italic;
}

#app {
  height: 100%;
}

.tooltip-target {
  cursor: pointer;
}

.wizard-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  width: 60vw;
  height: 100%;
  max-height: 53vh;
  font-weight: 200;
}
.wizard-content.columns {
  flex-direction: column;
}
.wizard-content.rows {
  flex-direction: row;
}
.wizard-content.full {
  width: 80vw;
}
.wizard-content.narrow {
  width: 40vw;
}
.wizard-content.all {
  width: 100vw;
}
.wizard-content label[disabled] {
  color: var(--bs-gray-500);
}
.wizard-content > .description {
  align-self: center;
  min-height: 8vh;
  display: flex;
  justify-content: center;
  line-height: 1.2;
}
.wizard-content > .description > p {
  text-align: center;
  margin: auto;
}

.wizard-radio-list {
  align-self: center;
  font-weight: 200;
  font-size: 1.5rem;
  min-width: 60%;
}

.wizard-tooltip {
  max-width: 33vw;
  min-width: 5vw;
}
.wizard-tooltip .k-tooltip {
  font-size: 0.7rem;
  background-color: var(--bs-primary-bg-subtle);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.wizard-tooltip .k-tooltip .k-callout {
  color: var(--bs-primary-bg-subtle);
}

.icon-stack {
  display: grid;
}
.icon-stack > * {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.25em;
}

.tooltip-dark div.k-tooltip {
  background: var(--bs-primary-bg-subtle);
  color: #ddd;
  border: 1px solid var(--bs-primary-border-subtle);
  box-shadow: var(--bs-primary-bg-subtle) 0px 3px 9px;
}
.tooltip-dark div.k-tooltip .k-callout {
  /* same as tooltip background */
  color: var(--bs-primary-bg-subtle);
  filter: drop-shadow(0 1px 0 var(--bs-primary-border-subtle));
}

.k-tooltip-content, .k-tooltip, .tooltip-dark {
  pointer-events: none;
}

.dialog-button {
  width: 8vw;
}

#blazor-error-ui {
  background: lightyellow;
  color: black;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  color: darkred;
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.k-list-optionlabel {
  opacity: 0.65;
  filter: grayscale(0.1);
  font-size: smaller;
  gap: 0 !important;
  border-radius: 0.25rem 0.25rem 0 0 !important;
}

.k-list-container {
  overflow: hidden;
}

.dialog-constraints {
  max-height: 95vh;
}

.pe-pointer {
  cursor: pointer;
}

.ci {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}
