.hotel_search_entry {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 17px;
}

.icon-hotel {
    color: #3881c4;
    /* font-size: 20px; */
}

span.hotel-destination {
    line-height: 60px;
    font-size: 20px;
    font-weight: 500;
    color: #949494;
}

button.close-hoteldestination {
    /* margin-left: 123px; */
    border: none;
    background: none;
    position: absolute;
    right: -20%;
}

.destinationh-select-options {
    margin-left: 0px;
}

/* ==================== CALENDAR POPUP STYLES ==================== */


.calendar-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 20px;
    min-width: 650px;
    display: none;
}

.calendar-popup.active {
    display: block;
}

/* fercia */
/* .calendar-header {
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px;
} */

/* fercia */
/* .calendar-header .search_label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex: 1;
    text-align: center;
} */

/* ==================== CALENDAR CONTAINER ==================== */
.calendar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Position navigation buttons in the header area */
/* fercia */
/* .calendar-popup .nav-btn {
    position: absolute;
    top: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

.calendar-popup .nav-btn.nav-left {
    left: 20px;
}

.calendar-popup .nav-btn.nav-right {
    right: 20px;
}

.calendar-popup .nav-btn:hover {
    background: #1c6fbc;
    color: white;
    border-color: #1c6fbc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(28, 111, 188, 0.3);
}

.calendar-popup .nav-btn:active {
    transform: scale(0.95);
}

.calendar-popup .nav-btn i {
    font-size: 16px;
    font-weight: bold;
}

.calendar-months {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.calendar-month {
    flex: 0 0 auto;
    min-width: 250px;
}

/* fercia */
/* .calendar-month h4 {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
} */

/* ==================== CALENDAR GRID ==================== */
/* fercia */
/* .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
} */

/* fercia */
/* .calendar-grid .header {
    background: #f1f3f4;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #5a5858;
    border-radius: 4px;
} */

.calendar-grid .day {
    text-align: center;
    padding: 8px 0px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #120C0C;
    font-family: poppins;
}

/* fercia */
/* .calendar-grid .day:hover:not(.disabled) {
    background: #e6f3ff;
    border-color: #1c6fbc;
    transform: scale(1.05);
} */
/* fercia */
/* .calendar-grid .day.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
} */

/* ==================== CALENDAR DATE HIGHLIGHTING ==================== */
.calendar-grid .day.selected {
    background: #1c6fbc;
    color: white;
    font-weight: 600;
    border-color: #1c6fbc;
}

.calendar-grid .day.selected:hover {
    background: #1c6fbc !important;
    color: white !important;
}

.calendar-grid .day.in-range {
    background: #e6f3ff;
    color: #1c6fbc;
    border-color: #b3d9ff;
}

.calendar-grid .day.check-in-date {
    background: #1c6fbc;
    color: white;
    font-weight: 400;
    border-color: #1c6fbc;
    position: relative;
    padding-top: 1px;
}

.calendar-grid .day.check-in-date::after {
    content: 'Check-in';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    white-space: nowrap;
    color: #fafafa;
    font-weight: 500;
}

.calendar-grid .day.check-out-date {
    background: #1c6fbc;
    color: white;
    font-weight: 400;
    border-color: #1c6fbc;
    position: relative;
    max-width: 42px;
    padding-top: 1px;
}

.calendar-grid .day.check-out-date:hover {
    background: #1c6fbc !important;
}

.calendar-grid .day.check-out-date::after {
    content: 'Check-out';
    position: absolute;
    bottom: -3px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 7px;
    white-space: nowrap;
    color: #fafafa;
    font-weight: 500;
}

/* ==================== NAVIGATION BUTTONS (Updated for top positioning) ==================== */
/* Navigation buttons are now styled above in the calendar-popup .nav-btn section */

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .calendar-popup {
        min-width: 350px;
        padding: 15px;
    }

    .calendar-months {
        flex-direction: column;
        gap: 20px;
    }

    .calendar-month {
        min-width: 300px;
    }

    .calendar-grid .day {
        padding: 10px 6px;
        font-size: 13px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .calendar-popup {
        min-width: 320px;
        padding: 10px;
    }

    .calendar-month {
        min-width: 280px;
    }

    .calendar-grid {
        gap: 1px;
        padding: 8px;
    }

    .calendar-grid .day {
        padding: 8px 4px;
        font-size: 12px;
        min-height: 30px;
    }

    .calendar-grid .header {
        padding: 6px 2px;
        font-size: 11px;
    }
}

/* ==================== ADDITIONAL FIXES ==================== */
.calendar-popup {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for specific calendar positioning */
div#checkInCalendarPopup {
    top: auto;
    margin-top: 10px;
    left: 0;
}

div#checkOutCalendarPopup {
    top: auto;
    margin-top: 10px;
    left: 0;
}

/* Override any conflicting styles */
div#checkInCalendarPopup .calendar-grid,
div#checkOutCalendarPopup .calendar-grid {
    margin: 0;
}

div#checkInCalendarPopup .day,
div#checkOutCalendarPopup .day {
    font-family: 'Poppins', sans-serif;
}

/* ==================== TOP NAVIGATION BUTTONS ==================== */
/* Position navigation buttons in the top section of calendar */
/* fercia */
/* div#checkInCalendarPopup .nav-btn,
div#checkOutCalendarPopup .nav-btn {
    position: absolute !important;
    top: -11px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #666 !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
} */

div#checkInCalendarPopup .nav-btn.nav-left,
div#checkOutCalendarPopup .nav-btn.nav-left {
    left: 0px !important;
}

div#checkInCalendarPopup .nav-btn.nav-right,
div#checkOutCalendarPopup .nav-btn.nav-right {
    right: 0px !important;
}

div#checkInCalendarPopup .nav-btn:hover,
div#checkOutCalendarPopup .nav-btn:hover {
    background: #1c6fbc !important;
    color: white !important;
    border-color: #1c6fbc !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(28, 111, 188, 0.3) !important;
}

/* Override any order properties that might interfere */
div#checkInCalendarPopup .nav-left,
div#checkOutCalendarPopup .nav-left {
    order: unset !important;
    margin-top: 0 !important;
}

div#checkInCalendarPopup .nav-right,
div#checkOutCalendarPopup .nav-right {
    order: unset !important;
    margin-top: 0 !important;
}

/* Ensure calendar header has proper spacing for buttons */
/* fercia */
/* div#checkInCalendarPopup .calendar-header,
div#checkOutCalendarPopup .calendar-header {
    margin-bottom: 15px !important;
    text-align: center !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 60px !important;
    min-height: 60px !important;
} */

/* Ensure calendar container doesn't interfere with top buttons */
/* fercia */
/* div#checkInCalendarPopup .calendar-container,
div#checkOutCalendarPopup .calendar-container {
    position: relative !important;
    display: block !important;
    margin-top: 10px !important;
} */


p.Hotel-final-date span {
    font-size: 12px;
    color: black;
    margin-right: 2px;
}

#checkInDay {
    font-size: 18.5px;
    font-weight: 600;
}

#checkOutDay {
    font-size: 18.5px;
    font-weight: 600;
}



.hotel_search_list {
    background-color: #fff;
    box-shadow: none;
    max-height: 270px;
    overflow-y: auto;
    scroll-behavior: smooth;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 139, 139, 1) #f1f1f1;
}


.hotel_search_list li {
    border-bottom: 1px solid #eee;
    padding: 12px 5px 15px 12px;
    border-radius: 8px;
    transition: 0.5s;
}

.hotel_search_list li:last-child {
    border-bottom: 0px solid #eee;
}

.hotel_search_list {
    padding: 5px 5px 5px 8px;
}

.hotel_search_list li h4 {
    display: inline-block;
    font-size: 15px;
    margin-bottom: 5px;
    width: 85%;
    text-transform: capitalize;
}

.hotel_search_list li p {
    font-size: 14px;
    margin-bottom: 0px;
    line-height: 1;
    color: #595959;
}

/* fercia hotel new style */

div#checkInCalendarPopup .nav-btn,
div#checkOutCalendarPopup .nav-btn {
    position: absolute !important;
    top: -3px !important;
    background: #1C6FBC33 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: rgba(0, 0, 0, 1) !important;
    z-index: 10 !important;
    box-shadow: none !important;
}

.hotel-section .nav-btn {
    position: absolute;
}

div#checkInCalendarPopup .calendar-container,
div#checkOutCalendarPopup .calendar-container {
    position: relative !important;
    display: block !important;
    margin-top: 20px !important;
}

.calendar-month h4 {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 500;
    color: rgba(53, 53, 53, 1);
}

.calendar-container .calendar-grid .header {
    text-align: center;
    font-size: 12px;
    color: rgba(90, 88, 88, 1);
    padding: 8px 4px;
    font-weight: 400;
    font-family: poppins;
}

.hotel-section .calendar-months {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hotel-section div#checkInCalendarPopup .calendar-grid,
.hotel-section div#checkOutCalendarPopup .calendar-grid {
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 20px;
}



.header-sticky {
    position: static;
}

.hotel-loc-addr {
    width: 410px;
}

.leaflet-control {
    display: none;
}



/* sanjith  hotel new style */


.hotel-carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.hotel-carousel .hotel-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-carousel .carousel-item:hover .hotel-img {
    transform: scale(1.05);
}

.hotel-carousel .carousel-control-prev,
.hotel-carousel .carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotel-carousel:hover .carousel-control-prev,
.hotel-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hotel-carousel .carousel-control-prev {
    left: 10px;
}

.hotel-carousel .carousel-control-next {
    right: 10px;
}

.hotel-carousel .carousel-control-prev-icon,
.hotel-carousel .carousel-control-next-icon {
    width: 15px;
    height: 15px;
}

.hotel-carousel .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}



/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hotel-carousel .carousel-item {
        height: 150px;
    }

    .hotel-carousel .carousel-control-prev,
    .hotel-carousel .carousel-control-next {
        width: 25px;
        height: 25px;
    }

    .hotel-carousel .carousel-control-prev-icon,
    .hotel-carousel .carousel-control-next-icon {
        width: 12px;
        height: 12px;
    }
}


/* Dynamic width styles for travellers select based on number of rooms */
.guest_select {
    overflow: auto;
    scrollbar-width: thin;
    top: auto;
    transition: width 0.3s ease;
}

/* Single room - 300px width */
.guest_select.single-room {
    width: 300px;
}

.guest_select.single-room .hotel-row-card .col-md-4 {
    flex: 0 0 auto;
    width: 100%;
}

/* Two rooms - 600px width */
.guest_select.two-rooms {
    width: 600px;
}

.guest_select.two-rooms .hotel-row-card .col-md-4 {
    flex: 0 0 auto;
    width: 48%;
}

/* Three or more rooms - 900px width */
.guest_select.three-plus-rooms {
    width: 900px;
}

.guest_select.three-plus-rooms .hotel-row-card .col-md-4 {
    flex: 0 0 auto;
    width: 32%;
}

/* Mobile responsive - all rooms take 100% width */
@media (max-width: 768px) {
    .guest_select.single-room,
    .guest_select.two-rooms,
    .guest_select.three-plus-rooms {
        width: 100% !important;
    }
    
    .guest_select.single-room .hotel-row-card .col-md-4,
    .guest_select.two-rooms .hotel-row-card .col-md-4,
    .guest_select.three-plus-rooms .hotel-row-card .col-md-4 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .hotel-search-details .search_result.active {
        width: 100%;
        margin-top: 6rem;
        
    }

}