.codemind-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

    max-width: 900px;
    margin: auto;
    position: relative;
}

.codemind-search-group {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    position: relative;
}

#date-range {
    width: 250px;
    /* Adjust width as needed */
    max-width: 100%;
    /* Ensures responsiveness */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.codemind-input-container {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 4px;
}

.codemind-icon {
    margin-right: 8px;
}

.codemind-input-container input {
    border: none;
    background: none;
    outline: none;
}

.codemind-guests {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.codemind-guests:hover {
    background: #e0e0e0;
}

.codemind-guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 9999;
    /* Higher value to bring it in front */
}

.codemind-guests-dropdown.show {
    display: flex;
}

.codemind-search-form button {
    background: #1f3b4d;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.codemind-search-form button:hover {
    background: #142530;
}

/* Style the available rooms container */
#codemind-room-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

#codemind-room-results h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

#codemind-room-results p {
    font-size: 16px;
    margin: 10px 0;
}

/* Style the rooms list */
.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Style each room row */
.room-row {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Room image */
.room-image img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

/* Room info */
.room-info {
    flex: 1;
}

.room-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.room-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.room-info a.view-details-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;

    margin-left: 10px;
}

.room-info a.view-details-btn:hover {
    background-color: #0056b3;

}

.codemind-room-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.room-header {
    text-align: center;
    margin-bottom: 20px;
}

.room-header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
}

.room-main-image {
    text-align: center;
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
}

.room-gallery {
    margin-top: 10px;
    text-align: center;
}

.extra-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    /* Prevent wrapping for thumbnails */
    overflow-x: auto;
    /* Allow horizontal scroll if images overflow */
    margin-top: 10px;
    padding: 10px 0;
}

.extra-image {
    width: 10vw;
    /* Set the width to 10% of the viewport width */
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.extra-image:hover {
    transform: scale(1.05);
}

.room-description,
.room-specifications {
    margin-top: 30px;
}

.room-description h2,
.room-specifications h3 {
    font-size: 1.8rem;
    color: #333;
}

.room-description p,
.room-specifications ul {
    font-size: 1rem;
    color: #555;
}

.room-specifications ul {
    padding-left: 20px;
}

.room-specifications li {
    margin-bottom: 10px;
}

.book-now {
    text-align: center;
    margin-top: 30px;
}

.book-now-button {
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.book-now-button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .room-header h1 {
        font-size: 2rem;
    }

    .main-image {
        max-width: 100%;
    }

    .extra-images {
        justify-content: start;
        overflow-x: scroll;
        /* Add horizontal scroll for smaller screens */
        gap: 8px;
    }

    .extra-image {
        width: 12vw;
        /* Slightly larger for small screens */
    }

    .room-description p,
    .room-specifications ul {
        font-size: 0.9rem;
    }

    .book-now-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

.view-details-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    /* Blue primary color */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

}

.view-details-btn:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    transform: translateY(-2px);
    color: #fff;
}

.view-details-btn:active {
    background-color: #004085;
    /* Even darker blue */
    transform: translateY(1px);
}

.view-details-btn:focus {
    outline: none;
    box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.5);
}

.billing-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.billing-column {
    width: 50%;
}

.billing-column select,
.billing-column input {
    width: 100%;
    padding: 8px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.terms-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.button-container {
    text-align: right;
    margin-top: 20px;
}

.codemind-booking-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.codemind-booking-title {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.codemind-booking-section {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.codemind-booking-section h3 {
    margin-bottom: 10px;
    color: #444;
}

.codemind-booking-section p {
    margin: 5px 0;
}

.codemind-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Colors */
.codemind-status.pending {
    background-color: #f4c542;
    color: #000;
}

.codemind-status.approved {
    background-color: #28a745;
    color: #fff;
}

.codemind-status.paid {
    background-color: #0073aa;
    color: #fff;
}

.codemind-status.cancelled {
    background-color: #dc3545;
    color: #fff;
}

.codemind-status.checked-in {
    background-color: #6f42c1;
    color: #fff;
}

.codemind-status.checked-out {
    background-color: #343a40;
    color: #fff;
}



.codemind-booking-error {
    text-align: center;
    padding: 20px;
    background: #fff3f3;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    color: #cc0000;
}

.room-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-row {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.room-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.room-info {
    text-align: left;
    padding: 15px;
}

/* Buttons Layout */
.room-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.select-room-btn,
.view-details-btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.select-room-btn {
    background-color: #007bff;
    color: white;
    display: inline-block;
    padding: 8px 15px;

    font-weight: bold !important;
    text-decoration: none;
    border-radius: 8px;

    margin-left: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out !important;
    text-transform: capitalize;
    letter-spacing: normal;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

}

.view-details-btn {
    background-color: #28a745;
    color: white;
}

.select-room-btn:hover,
.view-details-btn:hover {
    opacity: 0.8 !important;

}

.select-room-btn:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-2px);
}

/* Responsive for Desktop */
@media (min-width: 768px) {
    .room-row {
        flex-direction: row;
        align-items: center;
    }

    .room-image {
        flex: 1;
    }

    .room-info {
        flex: 2;
        padding: 20px;
    }

    .room-buttons {
        justify-content: flex-end;
    }
}

.codemind-pagination {
    margin-top: 20px;
    text-align: center;
}

.codemind-pagination a {
    padding: 8px 12px;
    margin: 5px;
    text-decoration: none;
    border: 1px solid #0073aa;
    background: #0073aa;
    color: white;
    border-radius: 4px;
}

.codemind-pagination a:hover {
    background: #005885;
}

.codemind-pagination .disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

body {
    font-family: Arial;
    margin: 0;
}

* {
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
}

/* Hide the images by default */
.mySlides {
    display: none;
    max-width: 600px !important;
    margin: auto;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgb(11, 11, 11);
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

.codemind-search-form-in-room {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;

    padding: 15px;
    border-radius: 8px;


    max-width: 900px;
    margin: auto;
    position: relative;
}

.codemind-search-form-in-room input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin: 5px 0 15px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.tans {
    color: #0056b3;
    font-weight: bold;
    text-decoration: underline !important;
    cursor: pointer;
}