.hotel-card {
    display: flex;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 0 0 16px 0;
    max-width: 100%;
    background: white;
}

.hotel-card .hotel-image {
    position: relative;
    width: 15%;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 16px;
}

.hotel-card .hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-card .favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    border: none;
    cursor: pointer;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.hotel-card .hotel-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* width: 80%; */
}

.hotel-card .hotel-info.submission {
    grid-template-columns: repeat(2, 1fr);
}

.hotel-card .hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-right: 1px solid rgba(228, 231, 233, 1);
}

.hotel-card .hotel-name {
    color: rgba(1, 23, 27, 1);
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.hotel-card .rating-box {
    background: #003580;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

.hotel-card .location {
    /* color: #0066cc; */
    font-size: 14px;
    margin: 6px 0;
    color: #666;
    /* text-decoration: underline; */
    cursor: pointer;
    font-weight: 400;
}

.hotel-card .distance {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.hotel-card .distance:not(:last-child) {
    margin-bottom: 6px;
}

.hotel-card .room-info {
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}

.hotel-card .room-info:before {
    content: " ";
    width: 1px;
    height: 100%;
    border-left: 2px solid #e7e7e7;
    position: absolute;
    left: 0;
    top: 2px;
    z-index: 0
}

.hotel-card .room-type {
    font-weight: bold;
    margin-bottom: 4px;
}

.hotel-card .room-type h4 {
    font-size: 14px;
    line-height: 28px;
}

.hotel-card .bed-info {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 5px;
}

.hotel-card .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.hotel-card .breakfast-included {
    color: #008009;
    font-size: 12px;
}

.hotel-card .price-container {
    text-align: right;
}

.hotel-card .old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 14px;
}

.current-price {
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

.hotel-card .tax-info {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.view-deal-btn {
    background: var(--main-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

.hotel-card:has(.view-deal-btn.js-selected) {
    /* border: 2px solid var(--main-color); */
}

.left_side_search_boxed .area_flex_one span {
    font-size: 14px;
}

.hotel-info img.icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    object-fit: cover;
    margin-right: 8px;
}

.room-facilities {
    font-size: 15px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 8px;
}

.hidden {
    display: none;
}

.see-more-btn {
    background: none;
    border: none;
    color: #007bff;
    font-size: 14px;
    cursor: pointer;
    margin-top: 6px;
}

.see-more-btn:hover {
    text-decoration: underline;
}

.left_side_search_area {
    border-radius: 8px;
}

.left_side_search_boxed.js-box-search {
    padding: 0 !important;
}

.left_side_search_boxed .tour_search_type {
    /* padding: 0 15px 25px 8px; */
    padding: 8px;
    /* border-bottom: 1px solid #e7e7e7; */
}

#rooms-form .flight_Search_boxed {
    background: var(--bg-color);
    border: 0;
    padding: 10px 10px 10px 20px !important;
    border-radius: 10px;
}


/* start */
.activities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.activities .activity-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.activities .activity-card:hover {
    transform: translateY(-5px);
}

.activities .activity-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.activities .activity-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    font-size: 24px;
}

@media (max-width: 1024px) {
    .activities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .activities {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .activities .activity-card img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .activities {
        grid-template-columns: 1fr;
    }

    .activity-card img {
        height: 180px;
    }
}

/* end */



/* start */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-box .user {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-box .user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-box .user-info .name {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.review-box .date {
    color: #666;
    font-size: 14px;
}

.review-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 500;
}

/* end */


#para-optional h3 {
    font-size: 16px;
    font-weight: 500;
    color: rgba(64, 69, 74, 1);
}



/* start */
.amenities-box {
    background: #fff;
    margin-top: 8px;
}

.amenities-box .amenity {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
}

.amenities-box .amenity span {
    color: #333;
}

.amenities-box .details-link {
    display: block;
    margin-top: 10px;
    color: var(--main-color) !important;
    font-weight: 500;
    font-size: 15px;
    text-decoration: underline;
}

.amenities-box .details-link:hover {
    text-decoration: underline;
}

/* end */


/* start */

.room-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.close-btn {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

.main-image {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

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

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    /* Kéo mượt */
}

/* Ẩn hoặc tinh chỉnh thanh cuộn */
.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
    /* chiều cao thanh cuộn nhỏ lại */
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #ccc;
    /* màu thanh kéo */
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb:hover {
    background: #999;
    /* khi hover */
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: transparent;
    /* nền thanh cuộn trong suốt */
}

.thumb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 5;
}

.thumb-arrow:hover {
    background: #f0f0f0;
}

.thumb-arrow.left {
    left: -18px;
}

.thumb-arrow.right {
    right: -18px;
}

.thumbnail {
    flex: 0 0 120px;
    height: 80px;
    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail.active img,
.thumbnail:hover img {
    opacity: 1;
}

/* Overlay background */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* end */


/* start */
.tag-container {
    position: absolute;
    top: 8px;
    left: calc(-1 * 8px);
    width: auto;
    height: auto;
    background: var(--main-color);
    border-radius: 4px 4px 4px 0;
    box-shadow: 0px 2px 8px 0px #1a1a1a29;
    z-index: 5;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    color: #ffffff;
}

.tag-container:before {
    position: absolute;
    left: 0;
    bottom: calc(-1 * 8px);
    width: 0;
    height: 0;
    border: 4px solid var(--main-color);
    border-bottom-color: #0000;
    border-left-color: #0000;
    content: "";
    z-index: -1;
}

.tag-name {
    padding: 4px 8px;
    max-width: 120px;
}
/* end */
