.search-container {
    display: flex;
}

.search-filters {
    width: 260px;
    background-color: #f8f9fa;
    padding: 15px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
}

#sorting {
    background-color: #f8f9fa !important;
}

.search-filters:hover {
    overflow-y: scroll;
}

.search-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #4CAF50;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0;
}

.search-text {
    position: relative;
    color: #006400;
}

.triangle-icon {
    color: #4CAF50;
}

.search-results {
    flex: 2;
}

.map-container {
    flex: 1;
    top: 0;
    height: 40vh;
    position: relative;
    background-color: #F8F9FA;
}

#map {
    width: 100%;
    height: 100%;
}

.marker-content.selected {
    background-color: #4CAF50 !important;
    color: white !important;
    position: relative !important;
}

.fullscreen-toggle,
.pin-map {
    position: absolute;
    top: 8px;
    left: 55px;
    z-index: 10;
    background: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 9px 12px;
}

.pin-map {
    left: 10px;
}

.sticky-map {
    position: sticky;
    top: 0;
    z-index: 10;
}

.counter-btn {
    background: none;
    border: 1px solid #ccc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.hotel-compact {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.hotel-compact:hover {
    background-color: #eee;
    border-radius: 5px;
}

.hotel-name {
    font-weight: 600;
    margin-bottom: 0;
}

.star-rating {
    color: #ffc107;
}

#star-rating .star {
    font-size: 1.5rem;
    color: gray;
    cursor: pointer;
    transition: transform 0.2s;
}

#star-rating .star:hover {
    transform: scale(1.2);
}

#price-value {
    position: absolute;
    left: 0 !important;
    text-align: center;
    top: 20px;
    width: 100%;
}

.slider-fill {
    z-index: 1;
    position: absolute;
    top: 40%;
    left: 0;
    height: 4px;
    background-color: #0d6efd;
    transform: translateY(-50%);
}

.hotel-rating {
    display: flex;
    align-items: center;
}

.poi-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.poi-item i {
    margin-right: 5px;
    color: #555;
}

.multi-line-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-display {
    text-align: right;
}

.original-price {
    text-decoration: line-through;
    color: #777;
    font-size: 13px;
}

.current-price {
    font-weight: bold;
    color: #28a745;
    font-size: clamp(1rem, 4vw, 1.3rem);
}

.book-btn {
    background-color: #333;
    color: white;
    border: none;
    width: 100px;
    padding: 9px;
    font-weight: bold;
    transition: background-color 0.2s;
    font-size: 11px;
}

.book-btn:hover {
    background-color: #555;
}

.image-carousel {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    height: 205px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.carousel-prev {
    left: 5px;
}

.carousel-next {
    right: 5px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
}

.image-caption span,
.features>div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 25ch;
    font-size: 0.875rem;
}

.hotel-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50ch;
	    color: #191966;
    font-size: 18px;
    FONT-WEIGHT: bolder;
}

.gm-style-iw-chr {
    display: none;
}

.price-label {
    background: #666666;
    padding: 4px;
    border-radius: 5px;
    margin-top: 10px;
}

.loading-spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 8px solid #007bff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.search-results {
    position: relative;
    min-height: 200px;
}

#hotel-listing,
.map-container {
    border-left: 1px solid #dee2e6;
}

.features .btn-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
}

.features .btn-link:hover {
    text-decoration: underline;
}

.range-slider {
    position: relative;
    height: 30px
}

.range-slider .track {
    position: absolute;
    height: 4px;
    background: #dee2e6;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px
}

.range-slider .range {
    position: absolute;
    height: 4px;
    background: #0d6efd;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 3
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none
}

.range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    background: #0d6efd;
    border: none;
    border-radius: 50%;
    cursor: pointer
}

.range-slider input[type="range"]:focus {
    outline: none
}

.hotel-all-airlines {
    background-color: #f8f9fa;
    border-radius: 4px;
    justify-content: space-between;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
}

.hotel-all-airlines:nth-of-type(n+2) {
    display: none;
}

.hotel-all-airlines:has(.airline-toggle:focus)~.hotel-all-airlines {
    display: flex;
}

.hotel-all-airlines img {
    max-width: 90px;
    height: 30px;
    margin-right: 5px;
}

.travel-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    max-width: 30rem;
    margin: 0 auto;
}

.spinner-container {
    position: relative;
    width: 6rem;
    height: 6rem;
    margin-bottom: 2rem;
}

.spinner {
    position: absolute;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 0.25rem solid #3b82f6;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.plane-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.progress-container {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.progress-message {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 0.625rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2563eb;
    border-radius: 9999px;
    transition: width 0.3s ease-out;
}

.progress-text {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: 0.5rem;
}

.icons-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: pulse 2s infinite;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 2rem;
    height: 2rem;
    color: #3b82f6;
}

.icon-label {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.25rem;
}

.loader-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1021;
    border-radius: 4px;
}

.language-dropdown-content.show {
    display: block;
}

.language-dropdown-content a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.language-button {
    background-color: #f8f9fa;
    color: black;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-button:hover {
    background-color: #e9ecef;
}

.flag-img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid #ddd;
}

.form-range::-webkit-slider-runnable-track {
    background-color: #DEE2E6;
    height: 5px;
}

.form-range::-moz-range-track {
    background-color: #DEE2E6;
    height: 5px;
}

.form-range::-ms-track {
    background-color: #DEE2E6;
    height: 5px;
}

@media (max-width: 768px) {
    .hotel-name {
        max-width: 18ch;
    }

    .map-container {
        height: 25vh;
    }

    .search-container {
        flex-direction: column;
    }

    .total-results {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        background: rgba(255, 255, 255, 0.9);
        padding: 8px 16px;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .search-filters {
        width: 75%;
        position: fixed;
        left: -100%;
        top: 0;
        z-index: 1030;
        transition: left 0.3s ease;
        height: 100vh;
    }

    .search-filters.active {
        left: 0;
    }

    .close-sidebar {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
        z-index: 1031;
    }

    .search-results {
        width: 100%;
    }

    #menu-toggle {
        display: inline-block;
        cursor: pointer;
        margin-right: 10px;
    }

    #sorting {
        padding-left: 15px !important;
    }
}

@media (min-width: 769px) {

    #menu-toggle,
    .close-sidebar {
        display: none;
    }
}