header {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}



.logo-mobile {
    max-width: 64px;
    width: 100% !important;
    height: 100% !important;
    max-height: 64px;
}

.input-block {
    position: relative;
}

#cityList {
    position: absolute;
    top: calc(100% + 4px);
    /* чуть ниже инпута */
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#cityList li {
    cursor: pointer;
    padding: 10px 12px;
    transition: background-color 0.15s;
}

#cityList li:hover {
    background-color: #e90c0ce3;
    color: #fff;
}


@media (max-width: 1366px) {
    .main-block {
        height: 120vh !important;
    }

    .text-big {
        font-size: 50px !important;
    }

    .select-city {
        margin-top: 10vh !important;
    }
}

@media (max-width: 1066px) {

    .text-big {
        font-size: 40px !important;
    }
}

.hidden-desktop {
    display: none;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 110%;
    height: 115px;
    background-color: #ffffff;
    padding: 24px 7px;
    border-radius: 24px;
    border-width: 1px;
    border-style: solid;
    border-color: #f3f4f6;
    box-shadow: 0px 10px 15px 0 rgb(0 0 0 / 0.10), 0px 4px 6px 0 rgb(0 0 0 / 0.10);
}

.header-button {
    width: 160px;
    height: 42px;
    border-radius: 24px;
    border-style: solid;
    border-color: #e5e7eb;
    box-shadow: 0px 1px 2px 0 rgb(0 0 0 / 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.header-logo img {
    width: 351px;
    height: 64px;
    object-fit: cover;
}

.span-button {
    /* font-family: Roboto; */
    font-weight: 500;
    font-size: 13px;
    line-height: normal;
    text-align: center;
    color: #ffffff;
}

.svg-car {
    width: 20px !important;
    height: 14px !important;
    color: #ffffff;
}

.svg {
    width: 16px !important;
    height: 16px !important;
}

.red {
    background-color: #e90c0c;
    color: white !important;
}

.dark {
    background-color: #1b2f39;
}

.text-big {
    /* font-family: Inter; */
    font-weight: 700;
    font-size: 60px;
    text-align: center;
    color: #ffffff;
}

.main-block {
    display: flex;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: url(/images/Samples/back.png);
    background-size: cover;
}

.select-city {
    width: 60%;
    height: 75%;
    gap: 1rem;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-top: 10vh;
}

main {
    background: #F9FAFB;
}

.min-p {
    /* font-family: Inter; */
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #f3f4f6;
}

.block-search {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 80%;
    height: 40%;
    background-color: #ffffff;
    border-radius: 24px;
    border-style: solid;
    padding: 0.2rem;
    border-color: #e5e7eb;
    box-shadow: 0px 25px 50px 0 rgb(0 0 0 / 0.25);
}

.block-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.3rem;
    flex-wrap: wrap;
    /* чтобы элементы переносились на новую строку */
}

.block-form .input-block {
    flex: 1 1 auto;
    /* чтобы равномерно занимали место на ПК */
}

.button-search {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    max-height: 48px !important;
    min-height: 40px !important;
    width: 95%;
    height: 35%;
    color: white !important;
    background-color: #e90c0c;
    border-radius: 24px;
    border-style: solid;
    border-color: #e5e7eb;
}

.input-block {
    justify-content: center;
    padding: 0.3rem;
    /* width: 70%;
    height: 100%; */
    display: flex;
    align-content: center;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 0.2rem;
    height: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #d1d5db;
}

.main-content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-body-custom {
    align-items: start !important;
}



@media (max-width: 768px) {
    header {
        width: 90%;
    }

    .hidden-mobile {
        display: none;
    }

    .select-city {
        width: 90% !important;
        margin-top: 25vh !important;
    }

    .text-big {
        font-size: 35px !important;

    }

    .min-p {
        font-size: 18px !important;
    }

    .main-block {
        height: 150vh !important;
    }

    .hidden-desktop {
        display: block !important;
    }

    .main-block {
        padding: 1rem !important;
        align-items: start !important;
    }

    .block-search {
        width: 90% !important;
        height: 55% !important;
    }

    label {
        font-size: 0.9rem !important;
        min-height: 2.6rem !important;
        margin: 0.2rem;
    }

    .button-search {
        height: 10% !important;
    }

    .block-form .input-block {
        flex: 1 1 100%;
        /* каждый блок на всю ширину */
    }

    /* Если хотим даты рядом на мобильной, но под городом */
    #startDate,
    #endDate {
        width: 100%;
    }
}

@media (max-width: 370px) {
    .select-city {
        margin-top: 20vh !important;
    }

    .main-block {
        height: 210vh !important;
    }
}

@media (max-width: 550px) {
    .block-search {
        width: 110% !important;
        height: 55% !important;
    }

    .span-button {
        font-size: 1.2rem !important;
        max-width: 90px !important;
    }

    .header-button {
        height: 62px !important;
        gap: 0rem !important;
    }
}