@media (min-width: 800px) {
    .responsive-chart {
        min-width: 1600px;
    }
}

@media (max-width: 799px) {
    .responsive-chart {
        min-width: 300px;
    }
}

.custom-hover-row {
    transition: all 0.1s ease-in;
    cursor: pointer;
}

.custom-hover-row:hover {
    background-color: #c0c0c0 !important;
    border-radius: 6px;
    box-shadow: 0 0 8px #4B4B4B;
}

.multiselect-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
}

.multiselect-input-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.multiselect-input-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.multiselect-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.multiselect-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.20rem 0.5rem;
    border-radius: 0.2rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    white-space: nowrap;
}

    .multiselect-chip.disabled {
        opacity: 0.6;
    }

.multiselect-chip-label {
    margin-right: 0.25rem;
}

    .multiselect-chip-label.disabled {
        opacity: 0.6;
    }

.multiselect-chip-delete-icon {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 1rem;
    height: 1rem;
}

.form-select.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.multiselect-dropdown-list-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    z-index: 1000;
}

    .multiselect-dropdown-list-container.is-active {
        display: block;
    }

.multiselect-dropdown-item {
    color: var(--bs-gray-700);
    padding: 0.375rem 0.75rem;
    cursor: pointer;
}

    .multiselect-dropdown-item:hover,
    .multiselect-dropdown-item.is-selected {
        background-color: #e0e0e6;
    }

/* Start Christmas Garland */

.lightrope {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    padding: 0;
    margin: -15px 0 0 0;

    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}

/* bulb base */
.lightrope li {
    position: relative;
    display: inline-block;
    list-style: none;

    width: 18px;
    height: 21px;
    margin: 20px;

    border-radius: 50%;
    background: rgba(0, 247, 165, 1);
    box-shadow: 0 5px 24px 3px rgba(0, 247, 165, 1);

    animation: flash-1 2s infinite ease-in-out;
}

/* cap */
.lightrope li::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 1px;

    width: 10px;
    height: 9px;
    background: #222;
    border-radius: 3px;
}

/* wire */
.lightrope li::after {
    content: "";
    position: absolute;
    top: -14px;
    left: 9px;

    width: 52px;
    height: 18px;
    border-bottom: 2px solid #222;
    border-radius: 50%;
}

.lightrope li:last-child::after {
    content: none;
}

/* color variations */
.lightrope li:nth-child(2n+1) {
    background: rgba(0,255,255,1);
    box-shadow: 0 5px 24px 3px rgba(0,255,255,0.6);
    animation: flash-2 0.4s infinite;
}

.lightrope li:nth-child(4n+2) {
    background: rgba(247,0,148,1);
    box-shadow: 0 5px 24px 3px rgba(247,0,148,1);
    animation: flash-3 1.1s infinite;
}

/* timing randomness */
.lightrope li:nth-child(odd)  { animation-duration: 1.8s; }
.lightrope li:nth-child(3n+1) { animation-duration: 1.4s; }

/* animations */
@keyframes flash-1 {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.4; }
}

@keyframes flash-2 {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.4; }
}

@keyframes flash-3 {
    0%,100% { opacity: 1; }
    50%     { opacity: 0.4; }
}

/* reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .lightrope li {
        animation: none;
    }
}

/* End Christmas Garland */


/* Start Snow Fakes */

/* ❄️ Snow overlay */
.snowflakes {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
}

/* snowflake base */
.snowflakes i,
.snowflakes i::before,
.snowflakes i::after {
    background: rgba(200, 215, 230, 0.9); /* холодний світло-сірий */
}

.snowflakes i {
    box-shadow:
            0 0 4px rgba(180, 200, 220, 0.6),
            0 0 8px rgba(180, 200, 220, 0.3);
}

.snowflakes i {
    position: absolute;
    top: -10px;
    display: inline-block;
    animation-name: snowflakes;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: right -30px;
}

/* shape */
.snowflakes i::before,
.snowflakes i::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
}

.snowflakes i::before {
    transform: rotate(120deg);
}
.snowflakes i::after {
    transform: rotate(240deg);
}

/* animation */
@keyframes snowflakes {
    0% {
        transform: translateY(-10px) rotate(0deg) scale(0.7);
        opacity: 0;
        filter: blur(0px);
    }

    10% {
        opacity: 1;
    }

    40% {
        opacity: 0.9;
        filter: blur(0px);
    }

    /* ❄️ починає "танути в повітрі" */
    60% {
        opacity: 0.5;
        transform: translateY(60vh) rotate(180deg) scale(0.6);
        filter: blur(0.5px);
    }

    80% {
        opacity: 0.25;
        filter: blur(1px);
    }

    100% {
        transform: translateY(85vh) rotate(360deg) scale(0.4);
        opacity: 0;
        filter: blur(2px);
    }
}

/* size variations */
.snowflakes i:nth-child(3n) {
    width: 16px;
    height: 4px;
    animation-duration: 6s;
}
.snowflakes i:nth-child(3n+1) {
    width: 24px;
    height: 6px;
    animation-duration: 9s;
}
.snowflakes i:nth-child(3n+2) {
    width: 32px;
    height: 8px;
    animation-duration: 12s;
}

/* opacity + delays */
.snowflakes i:nth-child(7n)     { opacity: .3; animation-delay: 0s; }
.snowflakes i:nth-child(7n+1)   { opacity: .4; animation-delay: 1s; }
.snowflakes i:nth-child(7n+2)   { opacity: .5; animation-delay: 2s; }
.snowflakes i:nth-child(7n+3)   { opacity: .6; animation-delay: 3s; }
.snowflakes i:nth-child(7n+4)   { opacity: .7; animation-delay: 4s; }
.snowflakes i:nth-child(7n+5)   { opacity: .8; animation-delay: 5s; }
.snowflakes i:nth-child(7n+6)   { opacity: .9; animation-delay: 6s; }

/* horizontal spread */
.snowflakes i {
    left: calc(100% * var(--x));
}

/* End Snow Fakes */