@keyframes details-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.static-details-window {
    position: absolute;
    right: 2.1875rem;
    bottom: 3.3125rem;
    background-color: var(--darkBCG);
    box-shadow: 2px 2px 2px 1px rgba(26, 26, 26, 0.25);
    border-radius: .3125rem;
    height: 21.9375rem;
    width: 19.125rem;
    animation: details-fade-in 0.2s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.static-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: .25rem;
    height: 2.125rem;
    flex-shrink: 0;
    font-size: var(--font-size);
}

.static-details-title {
    font-weight: 500;
    font-size: var(--font-size);
    margin: 0;
}

.static-details-close {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: var(--mainFontColorWhite);
    width: 1.5rem;
    height: 1.5rem;
}

.static-details-icon-container,
.static-details-icon-btn {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--mainFontColorWhite);
}

.static-details-icon-btn {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.static-details-content {
    flex-grow: 1;
}

:root.theme-white .static-details-window {
    background-color: var(--darkBCKsecond);
}

:root.theme-white .static-details-content {
    background-color: var(--darkBCG);
    border-bottom-left-radius: 0.3125rem;
    border-bottom-right-radius: 0.3125rem;
}

@media (max-width:639px) {

    .static-details-window {
        bottom: 5.75rem;
        right: 0.938rem;
    }
}.range-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
}

.range-slider.label-bottom {
    flex-direction: column-reverse;
}

.range-slider-value-wrapper {
    position: relative;
    width: 100%;
    height: 1rem;
}

.range-slider-value {
    position: absolute;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mainFontColorWhite);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.range-slider label {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.range-slider-label {
    display: block;
    font-size: 0.75rem;
    color: var(--mainFontColorWhite);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.range-slider-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 0.125rem;
    background: var(--darkSecondFontColor);
    outline: none;
    cursor: pointer;
    border: none;
    border-radius: 0.0625rem;
    margin: 0;
    padding: 0;
    display: block;
}

.range-slider-input:focus-visible {
    outline: 2px solid var(--mainColor);
    outline-offset: 2px;
}

:root.high-contrast .range-slider-input:focus-visible {
    outline: 2px solid #EFEF0F;
    outline-offset: 2px;
}

.range-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0.25rem;
    height: 0.5rem;
    background: var(--mainFontColorWhite);
    cursor: pointer;
    border: none;
    border-radius: 0.0625rem;
}

.range-slider-input::-moz-range-thumb {
    width: 0.25rem;
    height: 0.5rem;
    background: var(--mainFontColorWhite);
    cursor: pointer;
    border: none;
    border-radius: 0.0625rem;
}

.range-slider-input::-moz-range-track {
    height: 0.125rem;
    background: var(--darkSecondFontColor);
    border: none;
    border-radius: 0.0625rem;
}

.range-slider-input.range-slider-percent::-moz-range-progress {
    background: var(--mainFontColorWhite);
    height: 0.125rem;
    border-radius: 0.0625rem;
}

/* noUiSlider double thumb styles integration */
.range-slider-noui.noUi-target,
.range-slider-noui.noUi-target.noUi-horizontal {
    height: 0.125rem !important;
    background: var(--darkSecondFontColor) !important;
    border-radius: 0.0625rem !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.range-slider-noui .noUi-base::before {
    content: "" !important;
    position: absolute !important;
    top: -10px !important;
    bottom: -10px !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    z-index: 0 !important;
}

.range-slider-noui .noUi-connect {
    background: var(--mainColor) !important;
    cursor: ew-resize !important;
}

.range-slider-noui .noUi-handle,
.range-slider-noui.noUi-horizontal .noUi-handle {
    width: 0.25rem !important;
    height: 0.5rem !important;
    background: var(--mainFontColorWhite) !important;
    border: none !important;
    border-radius: 0.0625rem !important;
    box-shadow: none !important;
    cursor: pointer !important;
    top: 0.0625rem !important;
    transform: translateY(-50%) !important;
    right: -0.125rem !important;
}

.range-slider-noui .noUi-handle::after {
    display: none !important;
}

.range-slider-noui .noUi-handle::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: -10px !important;
    bottom: -10px !important;
    left: -10px !important;
    right: -10px !important;
    background: transparent !important;
}

.range-slider-noui .noUi-tooltip {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--mainFontColorWhite) !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    bottom: 0.75rem !important;
}

/* styl sildera z ramka po prawej stronie */
.range-slider.range-slider-boxed {
    width: 100%;
}

.range-slider.range-slider-boxed .range-slider-row {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
}

.range-slider.range-slider-boxed .range-slider-row .range-slider-input {
    flex: 1;
    min-width: 0;
}

.range-slider.range-slider-boxed .range-slider-value-wrapper {
    position: static;
    width: 36px;
    height: 24px;
    min-width: 36px;
    max-width: 36px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--White2);
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
}

.range-slider.range-slider-boxed .range-slider-value-wrapper:focus-within {
    border-color: var(--mainColor);
    outline: 2px solid var(--mainColor);
    outline-offset: 1px;
}

:root.high-contrast .range-slider.range-slider-boxed .range-slider-value-wrapper:focus-within {
    border-color: #EFEF0F;
    outline: 2px solid #EFEF0F;
    outline-offset: 1px;
}

.range-slider.range-slider-boxed .range-slider-value {
    position: static;
    transform: none;
    pointer-events: auto;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mainFontColorWhite);
    background: transparent;
    border: none;
    outline: none;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    padding: 0 2px;
    box-sizing: border-box;
}
.switch {
    width: 2.25rem;
    height: 1.125rem;
    background-color: var(--darkBCKsecond);
    border: 1px solid var(--White2);
    border-radius: .1875rem;
    cursor: pointer;
    position: relative;
    transition: 0.4s;
    padding: 0;
}

.switch::before {
    content: "";
    position: absolute;
    height: .75rem;
    width: .75rem;
    left: .125rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--mainFontColorWhite);
    border-radius: 2px;
    transition: 0.4s;
}

.switch:focus,
.switch:focus-visible {
    outline: 2px solid var(--mainColor);
    outline-offset: 2px;
}

.switch:focus:not(:focus-visible) {
    outline: none;
}

:root.high-contrast .switch:focus,
:root.high-contrast .switch:focus-visible {
    outline: 2px solid #EFEF0F;
    outline-offset: 2px;
}

.switch:disabled {
    pointer-events: none;
    border-color: var(--disabledColor);
    cursor: not-allowed;
}

.switch:disabled::before {
    background-color: var(--disabledColor);
}

.switch[aria-checked="true"] {
    background-color: var(--mainColor);
    border-color: var(--switch-checked-border);
}

.switch[aria-checked="true"]::before {
    transform: translate(1.125rem, -50%);
    background-color: var(--switch-checked-thumb);
}

.toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.toggle-button .toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.toggle-button .toggle-icon--on  { display: none; }
.toggle-button .toggle-icon--off { display: flex; }

.toggle-button.is-checked .toggle-icon--on  { display: flex; }
.toggle-button.is-checked .toggle-icon--off { display: none; }
.multi-switch-container {
    display: flex;
    background: var(--darkBCKsecond);
    border: 1px solid var(--mainFontColorWhite);
    border-radius: 3px;
    gap: 0;
}

.multi-switch-container input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.multi-switch-container label {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 4px 6px;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: .75rem;
    line-height: 1.4;
    user-select: none;
    color: var(--mainFontColorWhite);
    position: relative;
    transition: background 0.15s, color 0.15s;
}

.multi-switch-container label:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--DarkLine);
}

.multi-switch-container input[type="radio"]:checked + label {
    background: var(--mainColor);
    color: var(--darkBCKsecond);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--mainFontColorWhite);
}

.multi-switch-container input[type="radio"]:first-of-type:checked + label{
    border-radius: 2px 4px 4px 2px;
}

.multi-switch-container input[type="radio"]:last-of-type:checked + label{
    border-radius: 4px 2px 2px 4px;
}

.multi-switch-container input[type="radio"]:checked + label::after {
    display: none;
}

.multi-switch-container input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--mainColor);
    outline-offset: -2px;
    z-index: 1;
}

:root.high-contrast .switch {
    border-color: var(--mainFontColorWhite);
}

:root.high-contrast .switch::before {
    background-color: var(--mainFontColorWhite);
}

:root.high-contrast .switch[aria-checked="true"] {
    background-color: transparent;
    border-color: var(--mainFontColorWhite);
}

:root.high-contrast .switch[aria-checked="true"]::before {
    background-color: var(--mainFontColorWhite);
}

:root.high-contrast .multi-switch-container input[type="radio"]:checked + label {
    background: #EFEF0F;
    color: #000;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px #000;
}

:root.high-contrast .multi-switch-container input[type="radio"]:focus-visible + label {
    outline: 2px solid var(--mainFontColorWhite);
}
#tooltip {
    display: none;
    position: absolute;
    width: max-content;
    min-width: 5rem;
    top: 0;
    left: 0;
    font-size: .75rem;
    color: var(--mainFontColorWhite);
    background-color: var(--darkListSecond);
    font-style: italic;
    justify-content: center;
    align-items: center;
    border-radius: .3125rem;
    font-weight: 500;
    padding: .625rem;
    z-index: 100000;
}/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.noUi-target {
  position: relative;
}
.noUi-base,
.noUi-connects {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
/* Wrapper for all connect elements.
 */
.noUi-connects {
  overflow: hidden;
  z-index: 0;
}
.noUi-connect,
.noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -webkit-transform-style: preserve-3d;
  transform-origin: 0 0;
  transform-style: flat;
}
/* Offset direction
 */
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  left: 0;
  right: auto;
}
/* Give origins 0 height/width so they don't interfere with clicking the
 * connect elements.
 */
.noUi-vertical .noUi-origin {
  top: -100%;
  width: 0;
}
.noUi-horizontal .noUi-origin {
  height: 0;
}
.noUi-handle {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
}
.noUi-touch-area {
  height: 100%;
  width: 100%;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}
.noUi-state-drag * {
  cursor: inherit !important;
}
/* Slider size and handle placement;
 */
.noUi-horizontal {
  height: 18px;
}
.noUi-horizontal .noUi-handle {
  width: 34px;
  height: 28px;
  right: -17px;
  top: -6px;
}
.noUi-vertical {
  width: 18px;
}
.noUi-vertical .noUi-handle {
  width: 28px;
  height: 34px;
  right: -6px;
  bottom: -17px;
}
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  left: -17px;
  right: auto;
}
/* Styling;
 * Giving the connect element a border radius causes issues with using transform: scale
 */
.noUi-target {
  background: #FAFAFA;
  border-radius: 4px;
  border: 1px solid #D3D3D3;
  box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
}
.noUi-connects {
  border-radius: 3px;
}
.noUi-connect {
  background: #3FB8AF;
}
/* Handles and cursors;
 */
.noUi-draggable {
  cursor: ew-resize;
}
.noUi-vertical .noUi-draggable {
  cursor: ns-resize;
}
.noUi-handle {
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  background: #FFF;
  cursor: default;
  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
}
.noUi-active {
  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
}
/* Handle stripes;
 */
.noUi-handle:before,
.noUi-handle:after {
  content: "";
  display: block;
  position: absolute;
  height: 14px;
  width: 1px;
  background: #E8E7E6;
  left: 14px;
  top: 6px;
}
.noUi-handle:after {
  left: 17px;
}
.noUi-vertical .noUi-handle:before,
.noUi-vertical .noUi-handle:after {
  width: 14px;
  height: 1px;
  left: 6px;
  top: 14px;
}
.noUi-vertical .noUi-handle:after {
  top: 17px;
}
/* Disabled state;
 */
[disabled] .noUi-connect {
  background: #B8B8B8;
}
[disabled].noUi-target,
[disabled].noUi-handle,
[disabled] .noUi-handle {
  cursor: not-allowed;
}
/* Base;
 *
 */
.noUi-pips,
.noUi-pips * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.noUi-pips {
  position: absolute;
  color: #999;
}
/* Values;
 *
 */
.noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}
.noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}
/* Markings;
 *
 */
.noUi-marker {
  position: absolute;
  background: #CCC;
}
.noUi-marker-sub {
  background: #AAA;
}
.noUi-marker-large {
  background: #AAA;
}
/* Horizontal layout;
 *
 */
.noUi-pips-horizontal {
  padding: 10px 0;
  height: 80px;
  top: 100%;
  left: 0;
  width: 100%;
}
.noUi-value-horizontal {
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}
.noUi-rtl .noUi-value-horizontal {
  -webkit-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
}
.noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}
.noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}
.noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}
/* Vertical layout;
 *
 */
.noUi-pips-vertical {
  padding: 0 10px;
  height: 100%;
  top: 0;
  left: 100%;
}
.noUi-value-vertical {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
  -webkit-transform: translate(0, 50%);
  transform: translate(0, 50%);
}
.noUi-marker-vertical.noUi-marker {
  width: 5px;
  height: 2px;
  margin-top: -1px;
}
.noUi-marker-vertical.noUi-marker-sub {
  width: 10px;
}
.noUi-marker-vertical.noUi-marker-large {
  width: 15px;
}
.noUi-tooltip {
  display: block;
  position: absolute;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}
.noUi-horizontal .noUi-tooltip {
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  left: 50%;
  bottom: 120%;
}
.noUi-vertical .noUi-tooltip {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  right: 120%;
}
.noUi-horizontal .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(50%, 0);
  transform: translate(50%, 0);
  left: auto;
  bottom: 10px;
}
.noUi-vertical .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(0, -18px);
  transform: translate(0, -18px);
  top: auto;
  right: 28px;
}
