:root {
    --acc-default-transition: .3s ease-in-out;
    --acc-header-height: 40px;
    --rz-pager-dropdown-width: 90px;
}

* ::-webkit-scrollbar {
    inline-size: 8px;
    block-size: 8px;
    background-color: #fff;
}

* ::-webkit-scrollbar-track {
    border-radius: 4px;
    box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
    background: #eee;
}

* ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: 0 none #fff;
    background-color: var(--rz-primary, #4340d2);
}

* ::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--rz-primary, #4340d2), #000 15%);
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
}

.header {
    width: 100%;
    max-width: 100%;
    padding-inline: 10px;
    margin-inline: auto;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-input-reset {
    position: relative;
}

.custom-input-reset__input {
    padding-right: 50px;
}

.custom-input-reset__button {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.transport-popup-swiper {
    --swiper-padding-bottom: 20px;

    width: 100%;
    padding-bottom: var(--swiper-padding-bottom);
}

.transport-popup-swiper__navigate {
    --transparent: 85%;
    --backgroud-color: color-mix(in srgb, #fff, transparent var(--transparent));

    position: absolute;
    top: 0;
    z-index: 1;
    color: var(--rz-primary, #4340d2);
    width: 30px;
    height: calc(100% - var(--swiper-padding-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 0;
    border: 0;
    background-color: var(--backgroud-color);
    opacity: 0;
    transition: background-color var(--acc-default-transition), opacity var(--acc-default-transition);
}

.transport-popup-swiper__navigate:hover {
    --transparent: 70%;
}

.transport-popup-swiper__navigate:active {
    --transparent: 65%;
}

.transport-popup-swiper__navigate_prev {
    left: 0;
}

.transport-popup-swiper__navigate_next {
    right: 0;
}

.transport-popup-swiper__pagination {
    position: absolute;
    /** Приходится перебивать стили swiper.js */
    bottom: 0 !important;
    /** Приходится перебивать стили swiper.js */
    left: 50% !important;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.transport-popup-swiper__bullet {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 1px solid var(--rz-primary, #4340d2);
    transition: var(--acc-default-transition);
}

.transport-popup-swiper__bullet_active {
    width: 30px;
    border-radius: 10px;
    background-color: var(--rz-primary, #4340d2);
}

.transport-swiper-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transport-swiper-card__image {
    position: relative;
    padding-bottom: 65%;
    overflow: hidden;
}

.transport-swiper-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.transport-swiper-card__button-group {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: bottom var(--acc-default-transition);
}

.transport-popup-swiper:hover .transport-swiper-card__button-group {
    bottom: 0;
}

.transport-popup-swiper:hover .transport-popup-swiper__navigate {
    opacity: 1;
}

@keyframes fade-up-big {
    0% {
        opacity: 0;
        transform: translateY(-1rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-color-lightgray {
    background-color: #f7f7f7;
}

.backgroud-color-yes {
    background-color: rgb(144, 238, 144) !important;
}

.backgroud-color-no {
    background-color: rgb(240, 170, 170) !important;
}