.search-panel__direction {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.search-bar-default-wrap{
    padding: 1.25rem 0;
    background: linear-gradient(90deg, #0F4097 0%, #01AEF0 100%);
}


.search-bar-default--count-wrap{
    padding: 1.25rem 0;
    background-color: #ffffff;
}

.search-bar-default {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 1.875rem;
    padding: 0.5rem 1rem;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---------------- FILTERS ---------------- */
/*.content {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}*/
.filters {
    background: #fff;
    border-radius: 1.125rem;
    padding: 1.125rem 1rem 0.75rem 1rem;
    width: 15rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

.filter-group {
    margin-bottom: 0.25rem;
}

.filter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #151617;
    margin-bottom: 0.4375rem;
    cursor: pointer;
    user-select: none;
}

.filter-group__header img {
    width: 1.25rem;
    height: 1.25rem;
}

.filter-divider {
    border-bottom: 0.125rem solid #e3e3e3;
    margin: 0.75rem 0 0.75rem 0;
}

.filter__slider {
    margin-bottom: 0;
    margin-top: 0;
}

.sliders_control {
    position: relative;
    min-height: 50px;
}


.sliders_control input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.sliders_control input::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 3px solid #1b53c0;
    background-color: #fff;
    pointer-events: auto;
    -webkit-appearance: none;
}
.sliders_control input::-moz-range-thumb {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    border: 3px solid #1b53c0;
    background-color: #fff;
    pointer-events: auto;
    -moz-appearance: none;
}

.filter__slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: #151617;
    margin-bottom: 0.1875rem;
}

.filter__slider input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 0.25rem;
    background: #13b092;
    border-radius: 0.125rem;
    outline: none;
    margin: 0;
    padding: 0;
}

.filter__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: #13b092;
    border: 0.125rem solid #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.11);
    cursor: pointer;
    transition: background 0.3s;
}

.filter__slider input[type="range"]:focus::-webkit-slider-thumb {
    background: #0e7e64;
}

.filter__slider input[type="range"]::-moz-range-thumb {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: #13b092;
    border: 0.125rem solid #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.11);
    cursor: pointer;
    transition: background 0.3s;
}

.filter__slider input[type="range"]:focus::-moz-range-thumb {
    background: #0e7e64;
}

.filter__slider input[type="range"]::-ms-thumb {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: #13b092;
    border: 0.125rem solid #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.11);
    cursor: pointer;
    transition: background 0.3s;
}

.filter__slider input[type="range"]:focus::-ms-thumb {
    background: #0e7e64;
}

.filter__slider input[type="range"]:focus {
    outline: none;
}

/* Remove default styles on Firefox */
.filter__slider input[type="range"]::-moz-range-track {
    background: #13b092;
    height: 0.25rem;
    border-radius: 0.125rem;
}
.filter__slider input[type="range"]::-ms-fill-lower {
    background: #13b092;
}
.filter__slider input[type="range"]::-ms-fill-upper {
    background: #13b092;
}
.filter__slider input[type="range"]::-ms-tooltip {
    display: none;
}

.filter__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 0.25rem;
    background: #13b092;
    border-radius: 0.125rem;
}

.filter__slider input[type="range"]:focus {
    outline: none;
}

/* Filter options (checkboxes) */
.filter__options {
    margin-top: 0.25rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.9375rem;
}

.filter__options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #151617;
    margin-bottom: 0;
    user-select: none;
}

.filter__options input[type="checkbox"] {
    display: none;
}

.filter-box {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: none;
    border-radius: 0.125rem;
    background: #D9D9D9;
    margin-right: 0.5rem;
    position: relative;
    vertical-align: middle;
}

.filter__options input[type="checkbox"]:checked + .filter-box {
    border-color: #ff6e1b;
    background: #D9D9D9;
}

.filter-box--orange {
    background: linear-gradient(100deg, #ff6e1b 100%, #fff0e8 100%);
    border-color: #D9D9D9 !important;
}

.filter-reset {
    display: flex;
    align-items: center;
    color: #ff3c1b;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    gap: 0.375rem;
    user-select: none;
}

.filter-reset img {
    width: 1.375rem;
    height: 1.375rem;
}

/* ---------------- RESULTS ---------------- */
.results {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    margin-bottom: 10px;
}

.results__header {
    text-align: right;
    color: #888;
    font-size: 1rem;
    margin-bottom: 0;
    margin-right: 0.375rem;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.result-card {
    background: #fafbfc;
    border-radius: 5px;
    padding: 5px 5px 10px;
    margin-bottom: 0;
    border: none;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 11.875rem;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.result-card--highlight {
    background: #fffbe8;
    border: 0.125rem solid #ffd78a;
}

.result-card__badge {
    position: absolute;
    left: 1.5rem;
    top: -0.875rem;
    background: #17be5a;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.375rem;
    padding: 0.25rem 1.125rem;
    box-shadow: 0 0.125rem 0.5rem 0 rgba(23,190,90,0.08);
    z-index: 3;
    letter-spacing: .02em;
}

.result-card__badge--green {
    background: #13b0a3;
}

.result-card__main {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    gap: 0;
}

.result-card__icon {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    float: left;
    margin-right: 10px;
}

.result-card__carrier-name{
    font-family: Montserrat;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    color: rgba(15, 64, 151, 1);
}

.result-card__info {
    flex: 2 1 0;
    display: flex;
    flex-direction: column;
    gap: 0.5375rem;
    min-width: 0;
}

.result-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #151617;
    margin-bottom: 0.0625rem;
    word-break: break-word;
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(234, 233, 233, 1);
    border-radius: 5px;
    padding: 5px 10px;
    line-height: 120%;
    letter-spacing: 0;
    color: rgba(15, 64, 151, 1);
}

.result-card__subtitle {
    color: #151617;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.1875rem;
}

.result-card__time {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 0;
    margin-bottom: 0.1875rem;
    padding: 0 20px;
}

.result-card__date {
    color: #888;
    font-weight: 400;

    font-family: Montserrat;
    font-style: Regular;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 10px 0;
}

.result-card__hour {
    color: #151617;
    margin: 0 0 0.1875rem 0;
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;

}

.result-card__station {
    color: #151617;
    margin-top: 0.125rem;

    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;

}

.result-card__arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 7.5rem;
    color: #13b0a3;
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0 0.75rem;
    justify-content: center;
    position: relative;
}
.result-card__arrow span {
    color: #13b0a3;
    font-size: 1.0625rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.1875rem;
}

.result-card__arrow img {
    margin-top: 0.1875rem;
}

.result-card__details {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
    font-size: 0.9375rem;
    align-items: flex-start;
    flex: 1.4 1 0;
    padding-left: 2.125rem;
}

.result-card__details > div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 3.875rem;
    text-align: center;
}

.result-card__details > div:first-child {
    text-align: left;
    min-width: 4.0625rem;
}

.result-card__details div:nth-child(3) {
    min-width: 4.8125rem;
}

.result-card__details div > div:first-child {
    color: #000000;
    margin-bottom: 0.125rem;
    letter-spacing: .01em;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
}

.result-card__details div > div:not(:first-child) {
    color: #151617;
    font-size: 1rem;
    font-weight: 400;
    font-family: Montserrat;
    line-height: 100%;
    letter-spacing: 0;
    margin: 7px 0;
}

.result-card__details div:nth-child(3) > div:not(:first-child) {
    font-weight: 700;
    color: #151617;
    margin-bottom: 0.1875rem;
    font-family: Montserrat;
    font-style: Bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
}

.result-card__details div:nth-child(3) > div:not(:first-child) span {
    color: #13b0a3;
    font-weight: 500;
}

.result-card__details div > div:last-child {
    margin-bottom: 0;
}

.result-card__select {
    background: #01AEF0;
    color: #fff;
    border: none;
    border-radius: 1.25rem;
    padding: 0.75rem 2.875rem;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: background 0.2s;
    box-shadow: 0 0.125rem 0.5rem 0 rgba(253,129,33,0.07);
    letter-spacing: .02em;
}

.result-card__select:hover {
    background: #01AEF0;
}

/* ====== Адаптив ====== */
@media (max-width: 1024px) {
    .results { padding: 0; }
    .result-card {
        width: 100%;
        margin: 0 auto 1rem auto;
        padding: 1.2rem 1rem;
    }

    .search-bar__field { width: 95%; }
}
@media (max-width: 768px) {
    .search-bar-default {
        flex-direction: column;
        padding: 0.4rem;
        gap: 0.3rem;
        max-width: 100%;
    }

    .search-bar__icon{
        display: none;
    }
}
@media (max-width: 425px) {
    .filters {
        width: unset;
    }

    .search-bar__field{
        flex: none;
    }

    .search-bar__field--from, .search-bar__field--to, .search-bar__field--date{
        border-bottom: 0.0625rem solid #d2d2d2;
        border-left: none;
        border-right: none;
        border-radius: unset;
    }

    .search-bar__field--return, .search-bar__field--date{
        height: 3.5rem;;
    }

    .search-bar__field--return{
        border: none;
    }

    .search-bar__icon{
        display: none;
    }
}
@media (max-width: 320px) {

}