/*For GE Search, mimic airbnb's style*/

.ge-airbnb-wrap {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    overflow: visible;
}

.ge-airbnb-bar {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 10px 0 0;
}

.ge-airbnb-section {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.ge-airbnb-section:hover {
    background: #f7f7f7;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.ge-airbnb-bar > .ge-airbnb-section:first-of-type {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.ge-airbnb-bar > .ge-airbnb-section:last-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ge-airbnb-section-link {
    flex: 0.95 1 0;
}

.ge-airbnb-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2px;
    line-height: 1.1;
}

.ge-airbnb-trigger {
    border: 0;
    background: transparent;
    padding: 14px 18px;
    width: 100%;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: none !important;
    border-radius: inherit;
}

.ge-airbnb-trigger-block {
    display: block;
    min-height: 100%;
}

.ge-airbnb-trigger-value {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ge-airbnb-trigger::after {
    margin-left: 0.5rem;
}

.ge-airbnb-trigger:hover,
.ge-airbnb-trigger:focus {
    color: #495057;
    background: transparent;
}

.ge-airbnb-divider {
    width: 1px;
    align-self: stretch;
    background: #dee2e6;
    margin: 14px 0;
}

.ge-airbnb-search {
    flex: 0 0 auto;
    padding-left: 12px;
}

.ge-airbnb-search-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: green;
    border: 0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: transform 0.12s ease, background-color 0.12s ease;
}

.ge-airbnb-search-btn:hover,
.ge-airbnb-search-btn:focus {
    background: green;
    color: #fff;
    transform: scale(1.03);
}

.ge-airbnb-menu {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 10px !important;
}

.ge-airbnb-menu-wide {
    width: min(560px, 92vw);
}

.ge-filter-range-success {
    accent-color: var(--bs-success);
}

.ge-airbnb-menu .form-check-input.border-success:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

.ge-airbnb-menu .form-check-input.border-success:focus {
    border-color: rgba(var(--bs-success-rgb), 0.5);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
}

.ge-airbnb-menu .form-range.ge-filter-range-success::-webkit-slider-thumb {
    background: var(--bs-success);
}

.ge-airbnb-menu .form-range.ge-filter-range-success::-moz-range-thumb {
    background: var(--bs-success);
    border-color: var(--bs-success);
}

.ge-airbnb-menu .dropdown-item.active,
.ge-airbnb-menu .dropdown-item:active {
    background-color: #f1f3f5;
    color: #212529;
}

@media (max-width: 991.98px) {
    .ge-airbnb-wrap {
        border-radius: 20px;
    }

    .ge-airbnb-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        min-height: auto;
        padding: 8px;
    }

    .ge-airbnb-section {
        border-radius: 16px;
        background: #fff;
        box-shadow: inset 0 0 0 1px #eef1f3;
    }

    .ge-airbnb-bar > .ge-airbnb-section:first-of-type,
    .ge-airbnb-bar > .ge-airbnb-section:last-of-type {
        border-radius: 16px;
    }

    .ge-airbnb-section-link {
        flex: 1 1 auto;
    }

    .ge-airbnb-divider {
        display: none;
    }

    .ge-airbnb-trigger {
        padding: 14px 16px;
    }

    .ge-airbnb-trigger-value {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.3;
    }

    .ge-airbnb-search {
        padding: 4px 0 0;
    }

    .ge-airbnb-search-btn {
        width: 100%;
        height: 50px;
        border-radius: 16px;
    }

    .ge-airbnb-menu-wide {
        width: min(calc(100vw - 24px), 560px);
    }
}

.btn-big-on-hover .btn:hover {
    transform: scale(1.2); /* Increases the size by 20% */
    cursor: pointer;
}

.ge-blink-warning {
    color: #198754;
    animation: geBlinkWarning 1.1s ease-in-out infinite;
}

@keyframes geBlinkWarning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}
