/* restaurant-details.css */

.single-place-card.disabled {
    background-color: #ccc; /* Grisée */
    cursor: not-allowed;
    pointer-events: none; /* Empêche la sélection */
    opacity: 1;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

body {
    background-color: #FDFAFA;
}

.container-img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 100vh;
    background-color: white;
}

.r-3-2 {
    width: 100%;
    padding-bottom: 40.667%; /* For 3:2 aspect ratio */
}

.image-holder {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

/* Gallery styles */
#right_gallery {
    overflow-y: hidden; /* Hide the scrollbar */
    position: relative;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-header {
    position: relative;
    white-space: nowrap;
    font-size: 0;
}

.item-wrapper {
    cursor: pointer;
    height: 23%;
    display: inline-block;
}

.gallery-item {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-item.active {
    opacity: 1;
}

.full-screen {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin: 10px 0;
    cursor: pointer;
}
.feature{
    position: relative;
}
/* Up and Down Controls */
.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    position: absolute;
    right: 50px;
    top: 40%;
    transform: translateY(-50%);
}

.move-btn {
    display: block;
    width: 36px;
    height: 36px;
    color: #fff;
    background-color: #E2E2E2;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin: 10px 0;
    cursor: pointer;
}

.move-btn:hover {
    color: #fff;
    background-color: #E61C4C;
    transition: background-color 0.3s ease;
}

.modal .move-btn:hover {
    color: #fff;
    background-color: #E61C4C;
    transition: background-color 0.3s ease;
}

.move-btn i {
    font-size: 16px;
}

.modal .move-btn {
    display: block;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    margin: 10px 0;
    cursor: pointer;
}

.modal .move-btn i {
    font-size: 18px;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
}

.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    background-color:transparent!important;

}

.slideshow-container {
    position: relative;
    background-color:transparent!important;

}

.mySlides {
    display: none;
    background-color:transparent!important;
}

.mySlides img {
    max-width: 90vw;   /* no wider than 90% of the viewport width */
    max-height: 80vh;  /* no taller than 80% of the viewport height */
    width: auto;       /* let width adjust automatically */
    height: auto;      /* maintain aspect ratio */
    display: block;    /* ensures margin: 0 auto; works if you want to center */
    margin: 0 auto;    /* center horizontally in the modal */
    border-radius: 15px;
    object-fit: contain; /* ensures image is fully visible without cropping */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 36px;
    user-select: none;
    transform: translateY(-50%);
}

.prev {
    left: -80px;
}

.next {
    right: -80px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.places-card{
    position:sticky;
    top:100px;
    background-color: #fff;

    border-radius: 15px;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.single-place-card{
    background-color: #f7f7f7;
    font-weight: 500;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 0.5rem;
    cursor:pointer;
}
.flex-between{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
}
.price{
    font-size: 22px;
    font-weight: 600;

}
.client{
    font-size: 18px;
    font-weight: 600;
    color: #BDBDBD;
}

.single-place-card .nbr{
    color:#b0b0b0
}
.single-place-card.active{
    background-color: #F5D4DB;
    border:1px solid #E61C4C;
    color:#E61C4C;
}

.single-place-card.active{
    background-color: #F5D4DB;
    border:1px solid #E61C4C;
    color:#E61C4C;
}

.single-place-card.active .nbr{
    color:#E61C4C;
}

.single-place-card.active .icon{
    filter: brightness(0) saturate(100%) invert(35%) sepia(78%)
    saturate(2648%) hue-rotate(335deg) brightness(91%) contrast(96%); /* Filled #E61C4C color */
}
.restaurant-card{
    padding: 25px;
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.restaurant-card-menu{
    display: inline-block;
    background-color: #f8f8f8;
    border-radius: 15px;
}
.restaurant-card-menu-tab{
    text-align: center;
    padding: 10px;
    text-decoration: none;
    color: #1e1e1e;
    cursor:pointer;
}
.restaurant-card-menu-tab:hover{
    color: #fff;
    background-color: #E61C4C;
    border-radius: 15px;
    transition:background-color ease 0.4s;

}
.restaurant-card-menu-tab.active{
    color: #fff;
    background-color: #E61C4C;
    border-radius: 15px;
}
.restaurant-details i{
    color: #E61C4C;
    font-size: x-large;
    transition: color 0.3s ease;

}

.restaurant-details p {
    overflow-wrap: break-word; /* Modern approach */
}
/*.restaurant-details .card:hover{*/
/*    background-color: #E61C4C;*/
/*    cursor: pointer;*/
/*}*/
/*.restaurant-details .card:hover i,.restaurant-details .card:hover .content{*/
/*    color: #fff;*/
/*}*/
.restaurant-details .card{
    height: 100%;
    transition: background-color 0.3s ease;

}
.restaurant-details .card-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;

}
.restaurant-details .card-body .content{
    margin-top: 5px;
    color: rgba(0,0,0,0.6);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;

}
.restaurant-title .fa-wheelchair {
    font-size: larger;
    color: #e61c4ccc;
    margin-left:15px;
    padding-right:15px;
    position: relative;
}

/* Default state */
#favorite-icon{
    color: rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 25px;

}
/* Optional hover effect for better UI feedback */
#favorite-icon:hover {
    background-color: #fdecec;
    color: #E61C4C;
    transition: all 0.2s ease-in-out;
}

/* Active state (favorited) */
#favorite-icon.favorited {
    background-color: #fdecec;
    color: #E61C4C;
    font-weight: 500;

}
.favorite-status{
    margin-left: 5px;
}



.stars-rate{
    background-color: #F5D4DB;
    border-radius: 20px;
    color: #e61c4c;
    padding: 5px 15px;
    margin-left: 15px;
    font-size: small;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.stars-rate:hover{
    opacity: 0.8;
}
.justified-text{
    text-align: justify;
    text-justify: inter-word;
}

.restaurant-description{
    color:rgba(0, 0, 0, 0.8);
    font-size: 14px;
    line-height: 160%;
}

/*         .restaurant-title i::after {
        content: "Text that appears on hover";

        position: absolute;
        width: 600px;
        top: 40%;
        left: 20px;
        font-size: 12px;
        color: #1e1e1e;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease;
        }

        .restaurant-title i:hover::after {
        visibility: visible;
        opacity: 1;
        } */

.restaurant-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:space-between;
    margin-bottom: 1rem;

}

.photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adjusts spacing between items */
}

.item {
    flex: 1 1 calc(50% - 10px); /* Two items per row */
    max-width: calc(50% - 10px);
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Optional: Adds rounded corners */
}

.item img {
    width: 100%;
    height: 250px; /* Set a fixed height */
    object-fit: cover;
    display: block;
}
.review-div .card{
    display: inline-block;

    margin: 1rem 0px;
    background-color:#fcfcfc!important;
}
.review-div .card-body .d-flex{
    justify-content: center;
    align-items:center;
}
.review-div .rate-score{
    font-size: 48px;
    margin-right: 15px;
    color:rgba(0, 0, 0, 0.8);
}
.review-div .avis-number{
    color:rgba(0, 0, 0, 0.6);
    font-size: 14px;
}
.single-avis{
    margin-bottom:1rem
}
.single-avis .circular-avatar{
    border-radius: 50%;
    height:50px;
    width:50px;
    margin-right: 1rem;
}
.single-avis .client-name{
    font-size: 14px;
    font-weight: 600;
}
.clients-avis{
    margin: 0 2rem;
}
.single-avis .avis-date{
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}
.avis-content p{
    margin-top: 1rem;
    font-size: 14px;
    color:rgba(0, 0, 0, 0.8);
}

.avis-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Space between gallery items */
    margin-top: 10px; /* Space above the gallery */
}

.avis-gallery-item {
    width: 103px;
    height: 80px;
    overflow: hidden;
    border-radius: 5px; /* Optional: adds rounded corners */
    flex: 0 0 auto; /* Prevents items from stretching */
}

.avis-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container */
    display: block;
}
.restaurant-details .col-lg-3{
    margin-bottom:1rem;
}
.gerant-img{
    height: 80px;
    width:80px;
    border-radius: 50%;
}
.gerant-link{
    text-decoration: none;
    color: #1e1e1e;
}
.gerant-link:hover{
    color: #e61c4c;
}
.gerant-name-pic span{
    margin-left: 15px;
    font-size: 16px;
    font-weight: 600;
}
.swal2-content{
    padding: 0;
}
@media (min-width: 768px) {
    .item {
        flex: 1 1 calc(33.333% - 10px); /* Three items per row */
        max-width: calc(33.333% - 10px);
    }
}

@media (min-width: 992px) {
    .item {
        flex: 1 1 calc(25% - 10px); /* Four items per row */
        max-width: calc(25% - 10px);
    }
}
/* Responsive styles */
@media screen and (max-width: 991px) {
    #right_gallery {
        display: none;
    }
    .controls {
        display: none;
    }
    /* Adjust the featured image to take full width */
    #featured-container {
        width: 100%;
    }
}
#userList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 400px; /* Limite la hauteur de la liste */
    overflow-y: auto;
}
.user-card-invited-by{
    margin-top:1rem;
    background-color: rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px;
    width: 70%;
}
.user-card {
    display: flex;
    align-items: center;
    justify-content: start;

    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.user-card-dispo{
    display: flex;
    align-items: center;
    justify-content: start;
    width:calc(50% - 10px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.user-card-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.user-card-invite:hover {
    background-color: #f5f5f5;
}

.user-card-invite.selected {
    background-color: #E61C4C;
    color: white;
    border-color: #E61C4C;
}
.user-card:hover {
    background-color: #f5f5f5;
}

.user-card.selected {
    background-color: #E61C4C;
    color: white;
    border-color: #E61C4C;
}
.user-card-dispo:hover {
    background-color: #f5f5f5;
}

.user-card-dispo.selected {
    background-color: #fdecec;
    color: #E61C4C;
    border-color: #E61C4C;
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

swal2-title{
    width: 36em;
}

.table-details{
    color: rgba(30, 30, 30, 0.4);
    cursor: pointer;
    pointer-events:auto;
}
.accepter{
    cursor: pointer;
    pointer-events:auto;
}
.refuser{
    cursor: pointer;
    pointer-events:auto;
}
.table-details:hover{
    color: rgba(30, 30, 30, 0.5);
    cursor: pointer;
    pointer-events:auto;
}
.single-place-card.selected {
    border: 1px solid #E61C4C;
    background-color: #fdecec;
    color: #E61C4C;
}
.single-place-card.selected .nbr{
    color:#E61C4C;
}
.single-place-card.selected .table-details{
    color: rgba(230, 28, 76, 0.5);
}

.single-place-card.selected .icon{
    filter: brightness(0) saturate(100%) invert(35%) sepia(78%)
    saturate(2648%) hue-rotate(335deg) brightness(91%) contrast(96%); /* Filled #E61C4C color */
}

h1{
    font-size: 1.5em;
    font-weight: 600;
    margin:0;

}
h2{
    font-size:1.125em;
}

@media screen and (max-width: 992px) {

    h1{
        font-size: 1.25em;
        font-weight: 600;

    }
    h2{
        font-size:0.875em;
    }
}

.modal-horaire{
    z-index:9999;
}
.modal-horaire .modal-dialog{
    margin-top: 0;
}
.modal-horaire .modal-dialog .modal-content{
 background: white!important;
}


.modal.show {
    display: block !important; /* Affiche la modale */
    opacity: 1 !important;     /* Opacité pleine */
}

.circle-selector {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.circle-selector input[type="radio"] {
    display: none;
}

.circle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.circle-selector input[type="radio"]:checked + .circle-label {
    background-color: #F5D4DB;
    color: #e61c4c;
}
.modal-dialog{
    height: 100%;
    max-width: 40%!important;
    margin-top: 12rem;
}
@media screen and (max-width: 1366px) {
    .modal-dialog{
        max-width: 55%!important;
    }
}
@media screen and (max-width: 991px) {
    .modal-dialog{
        max-width: 80%!important;
    }
}

