﻿.hotel-header {
    margin-top: 20px;
}

.hotel-title {
    font-weight: 700;
    font-size: 1.5rem;
}
.cursor-pointer {
    cursor: pointer;
}
#photoModal {
    z-index: 99999;
}
#bookingJini{
    display:none;
}
.hide {
    display: none !important;
}
.badge_list {
    height: 36px;
    width: 40px;
}
.rating-badge {
    background-color: #003580;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.facility-icon {
    font-size: 1.2rem;
    color: #198754;
}

.facility-text {
    font-size: 0.95rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.main-photo {
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-grid img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.show-on-map-btn {
    background-color: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    user-select: none;
}

    .show-on-map-btn:hover {
        background-color: #0056b3;
    }

.room-title {
    color: #0071c2;
    font-weight: 600;
    text-decoration: none;
}

    .room-title:hover {
        text-decoration: underline;
    }

/* ✅ Responsive Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* ✅ allows only horizontal scroll */
    overflow-y: hidden; /* ✅ removes vertical scroll */
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ✅ Table Layout */
.room-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    min-width: unset; /* ✅ allow the table to shrink */
    table-layout: auto;
}

    .room-table thead {
        background-color: #4c76b2;
        color: #fff;
    }

    .room-table th {
        padding: 12px 15px;
        text-align: left;
        font-weight: 600;
        font-size: 15px;
        white-space: nowrap;
    }

    .room-table td {
        padding: 15px;
        border-bottom: 1px solid #eee;
        /*vertical-align: top;*/
        font-size: 14px;
    }

        /* ✅ Guest Icons */
        .room-table td i {
            color: #4c76b2;
            margin-right: 3px;
        }

/* ✅ Price Section */
.price {
    font-weight: 700;
    font-size: 16px;
    color: #222;
}

.tax {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

/* ✅ T&C List */
.terms {
    list-style: none;
    padding-left: 20px; /* gives room for tick */
    margin: 0;
}

    .terms li {
        position: relative;
        margin-bottom: 8px;
        padding-left: 10px;
        line-height: 1.5;
        color: #333;
    }

        .terms li::before {
            content: '\f00c';
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: #28a745;
            position: absolute;
            left: -18px; /* ✅ good fix — moves tick left cleanly */
            top: 2px;
            font-size: 14px;
            line-height: 1;
        }

.text-center {
    text-align: center;
    vertical-align: middle;
}
/* ============================
   📱 MOBILE (max-width: 576px)
   ============================ */
@media (max-width: 576px) {

    .main-photo {
        height: 220px; /* reduce height */
    }

    .photo-grid img {
        height: 90px;
    }

    .hotel-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .rating-badge {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    .show-on-map-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .facility-text {
        font-size: 0.85rem;
    }

    .room-table th,
    .room-table td {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .price {
        font-size: 15px;
    }
}


/* ============================
   📱 SMALL – MEDIUM DEVICES
   ============================ */
@media (max-width: 768px) {

    .main-photo {
        height: 260px;
    }

    .photo-grid img {
        height: 100px;
    }

    .hotel-header {
        text-align: center;
    }

    .room-table th,
    .room-table td {
        padding: 12px;
        font-size: 14px;
    }
}


/* ============================
   💻 MEDIUM – LARGE SCREENS
   ============================ */
@media (max-width: 992px) {
    .main-photo {
        height: 300px;
    }

    .photo-grid img {
        height: 110px;
    }
}


/* ============================
   🖥 LARGE SCREENS (DESKTOP)
   ============================ */
@media (min-width: 1200px) {
    .main-photo {
        height: 420px;
    }

    .photo-grid img {
        height: 140px;
    }
}

/* ==========================================
   📱 MOBILE FRIENDLY TABLE (max-width: 576px)
   ========================================== */
@media (max-width: 576px) {

    /* Make columns narrower */
    .room-table th,
    .room-table td {
        padding: 10px 8px;
        font-size: 13px;
        white-space: normal; /* allow wrapping */
    }

        /* Checkbox column small */
        .room-table td:first-child,
        .room-table th:first-child {
            width: 40px;
            min-width: 40px;
            text-align: center;
        }

        /* Room Type column wraps nicely */
        .room-table td:nth-child(2),
        .room-table th:nth-child(2) {
            width: 90px;
            white-space: nowrap;
        }

        /* Guests column compact */
        .room-table td:nth-child(3),
        .room-table th:nth-child(3) {
            width: 70px;
            text-align: center;
        }

        /* Price column wraps vertically */
        .room-table td:nth-child(4),
        .room-table th:nth-child(4) {
            min-width: 110px;
        }

        /* Terms column gets more width */
        .room-table td:nth-child(5),
        .room-table th:nth-child(5) {
            min-width: 220px;
        }

    /* Better spacing for Terms bullets */
    .terms li {
        font-size: 12px;
        margin-bottom: 6px;
    }

    /* Make icons smaller on phone */
    .room-table td i {
        font-size: 14px;
    }
}

/* ==========================================
   📱 SMALL TABLETS (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {

    .room-table th,
    .room-table td {
        padding: 12px 10px;
    }

    .terms li {
        font-size: 13px;
    }
}
.galleryGrid.-type-1 img {
    object-fit: fill;
    object-position: center;
}
.blocked-room {
    background-color: #a5f1cd !important; /* light red */
    opacity: 0.7;
}
.blocked-reason{
    color:red
}

    .blocked-room input[type="checkbox"] {
        cursor: not-allowed;
    }
.terms-cell {
    padding: 0 20px;
}

.terms-inner {
    height: 100%;
    display: flex;
    align-items: center; /* vertical center */
}

.terms {
    margin: 0;
    padding-left: 20px; /* keep bullets aligned */
}
.review-carousel {
    max-width: 380px;
    position: relative;
}
/* Position arrows OUTSIDE so they never overlap content */
.carousel-control-prev, .carousel-control-next {
    width: unset;
    height: unset;
    top: 50%;
    transform: translateY(-50%);
    opacity: unset;
    background: unset;
    box-shadow: unset;
    z-index:0;
}
    .review-carousel .carousel-control-prev:hover, .carousel-control-next:hover {
        background: none;
        color: none;
    }
.review-carousel .carousel-item {
    min-height: 150px;
    max-height: 150px;
    padding-top: 35px; /* center content vertically */
    padding-bottom: 35px;
    padding-left: 15px;
    overflow: hidden;
}
/* Custom visible arrow icons */

    .carousel-control-prev-icon::after {
        content: "❮";
        font-size: 24px;
        color: #333;
        font-weight: bold;
    }

    .carousel-control-next-icon::after {
        content: "❯";
        font-size: 24px;
        color: #333;
        font-weight: bold;
    }

/* Right panel modal */
.modal.right .modal-dialog {
    position: fixed;
    margin: 0;
    right: -110px;
    top: 0;
    bottom: 0;
    height: 100%;
    transform: translateX(100%);
    transition: 0.35s ease-in-out;
    /* ⭐ Half Screen ⭐ */
    width: 50vw !important;
    max-width: none;
}

.modal.right.show .modal-dialog {
    transform: translateX(0);
}

.modal.right .modal-content {
    height: 100%;
    border-radius: 0;
    overflow-y: auto;
}

/* Progress bar */
.progress {
    height: 8px;
}

.tag-btn {
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

    .tag-btn:hover {
        background: #f1f1f1;
    }