.error {
    color: red;
    font-size: 13px;
    margin: 4px;
}




.rating-lable {
    background-color: rgb(30, 134, 237);
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px 0 10px 0;
    /* Rounded bottom-left corner */
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 1;
    /* animation: shine 2s ease-in-out forwards; */
}

.rating-lable:hover {
    opacity: 1;
}


/* Make map sticky */
/* Make map sticky */

.custom-popup img {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.custom-popup h6 {
    font-weight: 600;
}

.custom-popup .btn {
    transition: 0.3s;
}

.custom-popup .btn:hover {
    background-color: #0d6efd;
    color: white;
}


.map-wrapper {
    /* position: relative;
    height: 100%; */
    /* Full viewport height for scrolling effect */
}

#map {
    height: 100vh;
    position: sticky;
    top: 20px;
    background-color: #e5e5e5;
}

/* Ensure the parent container allows sticky positioning */
.col-md-4 {
    /* position: relative; */
    /* Required for the sticky child to work */
}


.hotel-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    font-size: 14px;
    height: 350px;
    display: flex;
    flex-direction: column;
}


.hotel-box:hover {
    box-shadow: 0 10px 20px rgba(34, 156, 255, 0.2);
}

.hotel-box:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(99, 255, 99, 0.1) 20%,
            rgba(54, 161, 255, 0.1) 20%,
            rgba(255, 255, 255, 0) 100%);
    animation: shine 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
    /* Use parent's border-radius */
}


@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.offer-label {
    position: absolute;
    top: 12px;
    /* Adjust position */
    left: 12px;
    background-color: #d32f2f;
    /* More vibrant red */
    color: #fff;
    font-size: 13px;
    /* Slightly smaller font */
    padding: 4px 10px;
    /* Adjust padding */
    border-radius: 5px;
    /* Slightly more rounded corners */
    font-weight: 600;
    /* Semi-bold font */
    z-index: 1;
    /* Ensure it's above image */
}

.hotel-box img {
    height: 205px;
    /* Slightly larger image height */
    object-fit: cover;
    width: 100%;
}

.hotel-box .p-3 {
    padding: 18px;
    /* Adjust padding */
    flex-grow: 1;
    /* Allow content to grow and fill space */
    display: flex;
    flex-direction: column;
}

/* Grid layout */
.row.g-3 {
    gap: 18px;
    /* Adjust gap */
}

#hotel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    /* Adjust gap */
}

.hotel-box-wrapper {
    flex: 1 1 calc(33.33% - 18px);
    max-width: calc(33.33% - 12px);
    /* Adjust max width calculation */
}

@media (max-width: 992px) {
    .hotel-box-wrapper {
        flex: 1 1 calc(50% - 18px);
        /* Adjust width calculation */
        max-width: calc(50% - 18px);
        /* Adjust max width calculation */
    }

    .map-container {
        height: 50vh !important;
    }
}

@media (max-width: 768px) {
    .hotel-box-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.discount_price {
    text-decoration: line-through;
    color: #d32f2f;
    /* More vibrant red */
    font-size: 13px;
    /* Match offer label font size */
}

.hotel-box .d-flex.justify-content-between.align-items-center.text-muted.mt-3.p-2.border-top {
    margin-top: auto;
    /* Push footer to bottom */
    border-top: 1px solid #e0e0e0;
    padding: 12px;
}

.hotel-box .d-flex.align-items-center.gap-3 {
    gap: 10px;
}

.hotel-box .d-flex.align-items-center {
    font-size: 13px;
}

.hotel-box .d-flex.align-items-center i {
    font-size: 14px;
}

.hotel-box h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hotel-box p.text-muted.mb-2 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.hotel-box .rating-lable .rating-stars i {
    font-size: 0.9rem;
}

.hotel-box .rating-lable .rating-stars small.text-muted {
    font-size: 0.8rem;
}

.hotel-box .badge.bg-danger {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.hotel-box .fw-bold {
    font-weight: 600;
}

.hotel-box .text-secondary.small {
    font-size: 0.8rem;
}




@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}



.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6e707e;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #6e707e;
}

.form-control:focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #bac8f3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-control::-webkit-input-placeholder {
    color: #858796;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #858796;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #858796;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: #858796;
    opacity: 1;
}

.form-control::placeholder {
    color: #858796;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #eaecf4;
    opacity: 1;
}

input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-control:focus::-ms-value {
    color: #6e707e;
    background-color: #fff;
}

.form-control-file,
.form-control-range {
    display: block;
    width: 100%;
}

.col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.col-form-label-lg {
    padding-top: calc(0.5rem + 1px);
    padding-bottom: calc(0.5rem + 1px);
    font-size: 1.25rem;
    line-height: 1.5;
}

.col-form-label-sm {
    padding-top: calc(0.25rem + 1px);
    padding-bottom: calc(0.25rem + 1px);
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding: 0.375rem 0;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #858796;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

.form-control-plaintext.form-control-sm,
.form-control-plaintext.form-control-lg {
    padding-right: 0;
    padding-left: 0;
}

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.form-control-lg {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

select.form-control[size],
select.form-control[multiple] {
    height: auto;
}

textarea.form-control {
    height: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-row>.col,
.form-row>[class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.form-check-input[disabled]~.form-check-label,
.form-check-input:disabled~.form-check-label {
    color: #858796;
}

.form-check-label {
    margin-bottom: 0;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}

.btn-block {
    display: block;
    width: 100%;
}


/* hotel card ajax loading. home */
/* Hotel Details Content */
.hotel-box .p-3 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Distance Styling */
.hotel-distance {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    background: rgba(0, 123, 255, 0.1);
    /* Light blue background */
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    margin-bottom: 5px;
}

.hotel-distance i {
    color: #007bff;
    /* Blue icon */
    margin-right: 5px;
}

/* Pricing and Footer Section */
.hotel-footer {
    border-top: 1px solid #ddd;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.hotel-footer p.fw-bold {
    font-size: 16px;
    margin-bottom: 0;
}

/* Icons in Footer */
.hotel-footer i {
    font-size: 16px;
}

/* search form home */
/* new */

.shining-border {
    /* Initial state: a subtle box-shadow */
    border-radius: 8px;
    /* Optional: adds rounded corners */
    box-shadow: 0 0 0px #32ffa1;

    /* Add the animation */
    animation: border-shine 2s infinite alternate ease-in-out;
}

@keyframes border-shine {
    from {
        /* Starting point of the shine */
        box-shadow: 0 0 1px 1px #32ffa1;
    }

    to {
        /* End point of the shine (brighter and wider) */
        box-shadow: 0 0 15px 1px #06d172;
    }
}


.nogps_search-form_pan {
    background-color: #031022;
    /* padding: 1.2rem; */
    font-family: sans-serif;
    /* position: sticky; */
    /* top: calc(6%); */
}

.nogps_search-form_pan .guests-label {
    color: white !important;
}

/* Container for the banner with relative positioning for the animation overlay */
/* Container for the banner with relative positioning for the animation overlay */

.gps-banner-container {
    position: relative;
    width: 100%;
    height: 250px;
    /* Adjust height as needed */
    max-width: 800px;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Styles for the image to act as a cover */
.gps-banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* The key property for the cover effect */
    object-position: center;
    /* Centers the image within the container */
    display: block;
}


/* Simple fade-in/fade-out animation for the text */
.fade-in-out {
    animation: fade 4s infinite;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* end */

.search-form_pan {
    background-color: #f5f5f5;
    padding: 1.2rem;
    font-family: sans-serif;
    position: sticky;
    top: calc(6%);
    border-bottom: greenyellow 6px solid;
    animation: fadeIn 0.5s ease-in-out, slideIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(0);
    }
}

.search-form .form-control,
.search-form .form-select {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #333;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: left;
    /* Align text left */
    transition: box-shadow 0.3s ease;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
    border-color: #0071c2;
    box-shadow: 0 0 0 0.2rem rgba(0, 113, 194, 0.25);
}

.search-form .form-range {
    background: transparent;
    padding: 0;
}

.search-form .form-range::-webkit-slider-thumb,
.search-form .form-range::-moz-range-thumb {
    background: #0071c2;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.search-form .btn-warning {
    background-color: #0d6efd;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-form .btn-warning:hover {
    background-color: #005aa7;
    transform: translateY(-2px);
}

.search-form .text-muted {
    font-size: 0.8rem;
    color: #777;
}

.search-form .bi-search {
    margin-right: 0.3rem;
}

.search-form .row.g-3>* {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.search-form .row.g-3 {
    gap: 0.5rem;
}

.guests-label {
    display: flex;
    align-items: flex-start;
    /* Align label content to the start */
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #333;
}

.guests-label i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #0071c2;
}

.guests-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align field content to the start */
}

/* Flatpickr Calendar Styling */
.flatpickr-calendar {
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #0071c2;
    color: white;
    border-radius: 4px;
}

.flatpickr-day.today {
    border: 1px solid #0071c2;
}

.flatpickr-day:hover,
.flatpickr-day.inRange {
    background-color: #e0f2fe;
}

.flatpickr-current-month {
    font-weight: bold;
    color: #333;
}

.flatpickr-weekday {
    color: #777;
}

.flatpickr-day {
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-form_pan {
        padding: 0.8rem;
    }

    .search-form .row.g-3>* {
        padding-right: 0;
        padding-left: 0;
    }

    .search-form .col-12.col-md-auto {
        width: 100%;
    }
}


/* Home page loading */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
    /* Dark Transparent Background */
    backdrop-filter: blur(5px);
    /* Blurred Effect */
    z-index: 1050;
    display: none;
    /* Initially hidden */
}

/* Stylish Loading Box */
.loading-box {
    /* background: rgb(199, 199, 199); */
    /* Glassy Background */
    /* border-radius: 12px; */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
    padding: 20px;
    min-width: 250px;
    color: #141212;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); */
}

/* Animated Dots */
.dots::after {
    content: " ";
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: ".";
    }

    33% {
        content: "..";
    }

    66% {
        content: "...";
    }
}


/* Searchbox radius */

/* Slider Customization */
/* General Slider Track Styling */
/* General Slider Styling */
#radius {
    width: 100%;
    /* Full width */
    height: 8px;
    /* Height of the slider */
    background: #141212;
    /* Default background color */
    border-radius: 5px;
    /* Rounded corners */
    outline: 1px;
    /* Remove focus outline */
    -webkit-appearance: none;
    /* Disable default styling for Webkit browsers */
    appearance: none;
    /* Disable default styling for other browsers */
}

/* Slider Track (Webkit Browsers: Chrome, Edge, Safari) */
#radius::-webkit-slider-runnable-track {
    height: 8px;
    background: #f0f0f0;
    /* Default background color */
    border-radius: 5px;
}

/* Slider Track (Firefox) */
#radius::-moz-range-track {
    height: 8px;
    background: #f0f0f0;
    /* Default background color */
    border-radius: 5px;
}

/* Slider Thumb (Webkit Browsers: Chrome, Edge, Safari) */
#radius::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Disable default thumb styling */
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff9800;
    /* Thumb color */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Optional shadow */
}

/* Slider Thumb (Firefox) */
#radius::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff9800;
    /* Thumb color */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Optional shadow */
}

.offer-tag {
    cursor: pointer;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 1rem !important;
    animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.7);
        transform: scale(1.02);
    }
}

/* More Hotels Button Styling */
.more-hotels-btn {
    transition: all 0.3s ease;

}

.more-hotels-btn:hover {
    color: green;
}

.navbar-dark {
    background: #003580 !important;
}

/* home search toolbar for hotel-list */