.hotels-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    width: 100%;
}

.hotel-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 10px;
    margin-bottom: 5px;
}

.hotel-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.hotel-details {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 20px;
    height: 100%;
}

.hotel-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%; 
}

.hotel-price-section {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    height: 100%; 
    position: relative; 
}

.hotel-price-section::before {
    content: '';
    position: absolute;
    top: -10px; 
    bottom: -10px; 
    left: 0;
    width: 1px;
    background-color: #ddd;
    z-index: 1;
}

.hotel-name {
    font-size: 18px;
    margin: 0;
    color: #007bff;
    text-decoration: none;
}

.hotel-name:hover {
    text-decoration: underline;
}

.hotel-address {
    color: #777;
    margin: 0;
    font-size: 13px;
}

.hotel-benefits {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #555;
}


.hotel-total-price {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 15px;
}

.hotel-price {
    color: #333;
    font-size: 13px;
}

.all-rates-btn {
    position: absolute;
    top: 13px;
    right: 15px;
}

.all-rates-btn:hover {
    background-color: #0056b3;
}

.no-results {
    text-align: center;
    font-size: 1.2em;
    color: #999;
}

.search-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.hotel-filters {
    width: 17% !important;
    padding-right: 10px;
    border: 1px solid #ddd;
    overflow: auto;
}

.hotel-filters input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.hotel-filters input[type="checkbox"],
.hotel-filters input[type="radio"] {
    margin-right: 8px;
}

.hotel-filters input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hotel-filters button {
    padding: 10px;
    font-size: 1em;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hotel-filters button:hover {
    background-color: #0056b3;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Hotel info overview*/

.hotel-info-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

.back-button {
    padding: 10px;
    font-size: 1em;
    color: #183028;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.back-button:hover {
    background-color:#457565;
    text-decoration: underline;
}

.overview-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
}

.hotel-overview-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.image-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 50%;
    height: 50%;
}

.image-gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.property-section {
    flex: 1; /* Ocupa la otra mitad */
    max-width: 50%;
}

.important-information-section {
    width: 50%;
}

.property-section,
.important-info,
.special-checkin-instructions,
.amenities-section,
.rooms-section {
    margin-top: 20px;
}

.property-section h3,
.important-info h3,
.special-checkin-instructions h3,
.amenities-section h3,
.rooms-section h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.property-section p,
.important-info div,
.special-checkin-instructions p,
.rooms-section p {
    font-size: 1em;
    color: #555;
}

.amenities-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenities-list li {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #333;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.room-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.room-card h4 {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 10px;
}

.room-card p {
    font-size: 1em;
    color: #555;
}

.hotel-info-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

.hotel-overview-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.hotel-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hotel-info-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
}

/*******************/
.hotel-info-address {
    font-size: 1.2em;
    color: #777;
}

.room-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.room-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-button {
    padding: 10px 20px !important;
    font-size: 1em !important;;
    color: #ffffff !important;;
    background-color: #9ed6ffbf !important;;
    border-radius: 8px !important;;
    cursor: pointer !important;;
    transition: background-color 0.3s, color 0.3s !important;;
    margin-top: 20px !important;
    align-self: center !important;;
    display: flex !important;;
    align-items: center !important;;
    gap: 10px !important;
}

.load-more-button:hover {
    background-color: #0056b3 !important;;
    color: #ffffff !important;;
}

.center-div {
    display: flex;
    justify-content: center;
}

/* hotel info styles ************************************************************************************************/

.hotel-info-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

.hotel-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: aliceblue;
}

.hotel-info-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    margin-left: 15px;
}

.hotel-info-star-rating {
    margin-left: 15px;
}

.hotel-info-address {
    font-size: 1.2em;
    color: #777;
    margin-left: 15px;
}

.hotel-info-details-name-rating-container {
    display: flex;

}

.property-section,
.important-info,
.special-checkin-instructions,
.amenities-section {
    margin-top: 20px;
}

.property-section h3,
.important-info h3,
.special-checkin-instructions h3,
.amenities-section h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.property-section p,
.important-info p,
.special-checkin-instructions p {
    font-size: 1em;
    color: #555;
}

.amenities-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenities-list li {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #333;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* CSS para AllRates ************************************************************************************************/

.all-rates-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.all-rates-container.slide-in {
    max-height: 1000px;
    opacity: 1;
}

.all-rates-container.slide-out {
    max-height: 0;
    opacity: 0;
}

.all-rates-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.all-rates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.all-rates-body {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.rates-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 14px;
    margin-top: unset !important;
}

.rates-table th, .rates-table td {
    border: 1px solid #ddd;
    /*padding: 15px;*/
    text-align: left;
}

.rates-table th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.room-rate {
    background: #fff;
}

.room-type {
    display: flex;
    flex-direction: column;
}

.room-type-text {
    font-size: 13px;
}

.rate-more-details {
    margin-top: 10px;
    font-size: 13px;
    text-decoration: underline;
    color: rgb(13 110 253);
    cursor: pointer; 
}

.room-options {
    cursor: default !important;
}

.room-options .option {
    cursor: default !important;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
}

.room-options .option span {
    cursor: default !important;
}

.cancellation-popup {
    cursor: default !important;
}

.more-details-link {
    cursor: pointer !important;
}

.room-price {
    margin-top: 10px;
}

.add-to-basket-button {
    margin-top: 10px;
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s;
    width: 100%;
}

.add-to-basket-button:hover {
    background-color: #0056b3;
}

.close-all-rates-button {
    background-color: #6c757d;
    border: none;
}

.close-all-rates-button:hover {
    background-color: #5a6268;
}

.hotel-info-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

.hotel-info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #fff;
}

.hotel-info-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    margin-left: 15px;
}

.hotel-info-star-rating {
    margin-left: 15px;
}

.hotel-info-address {
    font-size: 1.2em;
    color: #777;
    margin-left: 15px;
}

.hotel-info-details-name-rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-gallery {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.image-gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.property-section,
.important-info,
.special-checkin-instructions,
.amenities-section {
    margin-top: 20px;
}

.property-section h3,
.important-info h3,
.special-checkin-instructions h3,
.amenities-section h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.property-section p,
.important-info p,
.special-checkin-instructions p {
    font-size: 1em;
    color: #555;
}

.amenities-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenities-list li {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #333;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* CSS para el modal de detalles de tarifas de habitación con tamaños de fuente reducidos */
.wide-modal {
    max-width: 60% !important;
}

.room-details-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.room-date-range {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.room-cost-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.room-cost-details tr:nth-child(odd) {
    background-color: #f3f3f3;
}

.cost-label, .cost-value {
    padding: 10px;
    vertical-align: middle;
}

.cost-label {
    text-align: left;
}

.cost-value {
    text-align: right;
}

.total-room-cost-row {
    font-weight: bold;
    border-top: 2px solid #333;
}

.cancellation-details {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

.cancellation-details h5 {
    font-size: 16px;
    color: #007bff;
    margin-bottom: 10px;
}

.cancellation-details p {
    font-size: 14px;
    color: #555;
}

.room-description-section {
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.room-description-section h5 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.room-description-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.modal-header,
.modal-footer {
    background-color: #f5f5f5;
    border-color: #ddd;
}

button.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

button.btn-secondary:hover {
    background-color: #5a6268;
}

/* Hotel Summary Card Styles */
.hotel-summary-card {
    background-color: #183028;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hotel-summary-name {
    font-size: 17px;
    font-weight: bold;
    line-height: unset;
}

.hotel-summary-address {
    font-size: 1.2em;
    color: #cfd8dc;
    margin-top: 5px;
}

.hotel-summary-info {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.hotel-summary-button {
    padding: 10px;
    font-size: 1em;
    color: #183028;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.hotel-summary-button:hover {
    background-color:#457565;
    text-decoration: underline;
}

/*carousel images */
.image-carousel {
    flex: 1;
    max-width: 100%;
}

.image-carousel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}
.map-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    margin-bottom: 15px; /* Ajusta según tu diseño */
}

.map-container.slide-in {
    max-height: 800px; /* o lo que creas necesario para tu mapa */
    opacity: 1;
}

.map-container.slide-out {
    max-height: 0;
    opacity: 0;
}

.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    line-height: 1;
}

#location.form-control{
    padding-right: 30px !important;
}

/* Updated Hotel Overview Styles - Enhanced version */
.overview-order__view {
    display: inline-block;
    background: #fff;
    width: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    vertical-align: top;
    line-height: 20px;
    margin-bottom: 25px;
}

.overview-order__view .gallery-order {
    float: left;
    background: #fff;
    width: 480px;
    border-right: 1px solid #e4e4e4;
}

.overview-order__view .gallery-order .paragraph {
    margin: 0;
    padding: 25px;
}

.overview-order__view .hotel_default {
    text-align: center;
    padding: 50px 0;
}

.overview-order__view .decription-order {
    margin-left: 479px;
    padding: 25px;
    border-left: 1px solid #e4e4e4;
    background: #fff;
}

.overview-order__view .decription-order p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #333;
}

.overview-order__view .decription-order .wrapper {
    margin-bottom: 25px;
}

.overview-order__view .decription-order .toogle-control {
    margin-top: 20px;
    color: #183028;
    background-color: #f5f7fa;
    border: 1px solid #d0d9e0;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.overview-order__view .decription-order .toogle-control:hover {
    background-color: #e2eaf2;
    border-color: #183028;
}

.overview-order__view .decription-order .toogle-control.active {
    background-color: #183028;
    color: #fff;
    border-color: #183028;
}

.overview-order__view .short-description {
    overflow: hidden;
}

.overview-order__view .full-description {
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.overview-order__view .more-expanded {
    padding-top: 25px;
}

.overview-order__view .paragraph {
    margin: 0 0 25px;
}

.overview-order__view .paragraph:last-child {
    margin-bottom: 0;
}

.overview-order__view .sub-head {
    font-size: 18px;
    font-weight: 600;
    color: #183028;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e4e4;
}

/* Convenience Order (Amenities) Section */
.overview-order__view .convenience-order {
    font-size: 16px;
    font-family: Fieldwork, sans-serif;
    border-top: 1px solid #e4e4e4;
    padding: 25px;
    clear: both;
    background-color: #f9fafb;
}

.overview-order__view .convenience-order .title {
    float: left;
    color: #183028;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.overview-order__view .wrapper-amenities-list {
    display: block;
    margin: 0 0 -10px 150px;
    padding: 0;
    font-size: 16px;
}

.overview-order__view .amenities-list {
    display: table;
    width: 100%;
    vertical-align: top;
    padding: 0;
    margin: 0;
    list-style: none;
}

.overview-order__view .amenities-list .column {
    display: table-cell;
    width: 33.3%;
    vertical-align: top;
}

.overview-order__view .amenities-list .item {
    padding-left: 22px;
    margin-bottom: 12px;
    position: relative;
    color: #555;
}

/* Image carousel enhancements */
.flex-image-hotel {
    width: 100%;
    height: 320px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: auto 100%;
    box-sizing: content-box;
    border-radius: 4px 4px 0 0;
}

.gallery-carousel {
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 15px;
}

.flex-control-thumbs {
    padding: 0;
    margin: 10px 0 0 0;
    margin-right: -1px;
    list-style: none;
    vertical-align: top;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-control-thumbs .prev-image-hotel {
    position: relative;
    float: left;
    width: 100px !important;
    height: 70px;
    padding: 0;
    margin: 0 5px 5px 0;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.flex-control-thumbs .prev-image-hotel:hover {
    border-color: #183028;
}

.flex-control-thumbs .flex-active-slide:after {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 3px solid #183028;
    content: '';
    z-index: 5;
    border-radius: 4px;
}

.flex-control-thumbs img {
    width: 100%;
    position: relative;
    min-height: 100%;
    z-index: 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flex-control-thumbs img:hover {
    transform: scale(1.05);
}

.image-carousel {
    width: 100%;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
}

.image-carousel .carousel-control-prev,
.image-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(24, 48, 40, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.image-carousel .carousel-control-prev:hover,
.image-carousel .carousel-control-next:hover {
    background-color: rgba(24, 48, 40, 0.9);
    opacity: 1;
}

.image-carousel .carousel-control-prev {
    left: 15px;
}

.image-carousel .carousel-control-next {
    right: 15px;
}

.image-carousel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

/* Media queries for responsive layout */
@media (max-width: 992px) {
    .overview-order__view .gallery-order {
        width: 360px;
    }
    .overview-order__view .decription-order {
        margin-left: 359px;
    }
    .overview-order__view .convenience-order .title {
        float: none;
        margin-bottom: 15px;
    }
    .overview-order__view .wrapper-amenities-list {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .overview-order__view {
        border: 0 none;
        border-radius: 0;
    }
    .overview-order__view .gallery-order {
        float: none;
        width: 100%;
        border: 0 none;
    }
    .overview-order__view .gallery-order .paragraph {
        padding: 15px;
    }
    .overview-order__view .decription-order {
        margin: 0;
        padding: 15px;
        border: 0 none;
        border-top: 1px solid #e4e4e4;
    }
    .overview-order__view .convenience-order {
        margin: 0;
        padding: 15px;
    }
    .overview-order__view .wrapper-amenities-list {
        margin: 0;
    }
    .overview-order__view .amenities-list {
        display: block;
        column-count: 2;
        column-gap: 20px;
    }
    .overview-order__view .amenities-list .column {
        display: block;
        width: auto;
    }
    .overview-order__view .amenities-list .item {
        padding-left: 20px;
        margin-bottom: 10px;
    }
    .gallery-carousel {
        border: 0 none;
        margin-bottom: 15px;
    }
    .gallery-carousel .flex-viewport {
        border: 1px solid #e4e4e4;
        border-bottom: 0 none;
    }
    .flex-control-thumbs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 0;
    }
    .flex-control-thumbs .prev-image-hotel {
        flex: 0 0 80px;
        height: 60px;
    }
    .overview-order__view .convenience-order .title {
        float: none;
        margin-bottom: 10px;
        font-size: 16px;
    }
}

/* Clear fix for floated elements */
.clear {
    clear: both;
}
