.guesty-search {
    display: grid !important;
    grid-template-columns: minmax(250px, 2fr) minmax(125px, 1fr) auto !important;
    align-items: end;
    gap: 18px;
    box-sizing: border-box;
    width: 100%;
}

.guesty-search__field {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.guesty-search__field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.guesty-search__field select,
.guesty-search__field input,
.guesty-search__field .form-control.input {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 34px 0 12px;
    border: 0 !important;
    border-bottom: 1px solid #fff !important;
    border-radius: 0;
    background-color: transparent;
    color: #fff !important;
    font: inherit;
    line-height: 48px;
}

.guesty-search__field select option {
    background: #fff;
    color: #222;
}

.guesty-search__field input::placeholder {
    color: rgba(255, 255, 255, .9);
    opacity: 1;
}

.guesty-search__field select:focus,
.guesty-search__field input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.guesty-search .guesty-search__dates,
.guesty-search .guesty-search__dates:hover,
.guesty-search .guesty-search__dates:focus,
.guesty-search .guesty-search__dates:focus-visible {
    border: 0 !important;
    border-bottom: 1px solid #fff !important;
    border-radius: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}

.guesty-search__field select {
    cursor: pointer;
}

.guesty-search__submit {
    box-sizing: border-box;
    min-width: 118px;
    height: 48px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 4px;
    background: #75b9bb;
    color: #fff;
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.guesty-search__submit:hover,
.guesty-search__submit:focus-visible {
    filter: brightness(.94);
}

@media (max-width: 900px) {
    .guesty-search {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .guesty-search__submit {
        width: 100%;
    }

    .flatpickr-calendar.open {
        position: fixed !important;
        top: 50dvh !important;
        right: auto !important;
        bottom: auto !important;
        left: 50% !important;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        transform: translate(-50%, -50%) !important;
    }
}

@media (max-width: 560px) {
    .guesty-search {
        grid-template-columns: 1fr;
    }
}
