[dir="rtl"] .form-label {
    text-align: right;
    display: block;
}

@media screen and (max-width: 1199px) {
    .main-menu{
        margin-top: 20px;
    }
}
.auth-menu{
    margin-top: 10px;
}

@media screen and (max-width: 485px) {
    .mobile-nav-toggle {
        margin-right: 0 !important;
        font-size: inherit !important;
    }
    .mes-commandes-url{
        display: none;
    }
}

.dropdown-menu{
    color: #ffffff;
    text-align: left;
    list-style: none;
    background-color: #191c24;
    background-clip: padding-box;
    z-index: 1000;
    min-width: 10rem;
}
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #2c2e33;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #ffffff;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item:hover {
    background-color: #0f1015;
}

.ck-editor__editable {
    min-height: 300px;
    height: auto;
}
.ck-content {
    color: black;
}

i.rounded-circle{
    font-size: 38px;
    color: #ccc;
}

#link-logo-x{
    margin-right: 0px !important;
}

#menu-principal{
    padding-top: 95px !important;
}
.sidebar-brand-wrapper{
    padding-top: 20px;
}

@media screen and (max-width: 991px) {
    .minimize{
        left: 0px !important;
    }
    nav.sidebar-offcanvas.active {
        right: 0 !important;
    }
    div.page-body-wrapper {
        width: 100% !important;
    }
}

.modal-custom-width{
    max-width: 900px;
}
.breadcrumb-separator {
    display: inline;
    margin: 0 5px;
    color: #999;
    font-weight: bold;
}
.breadcrumb-item.active {
    color: #495057 !important;
}
.breadcrumb-item a {
    text-decoration: none;
}
.hideElement{
    display: none;
}

.hover-link {
    cursor: pointer; /* Change le curseur en main */
}

#photoPreview{
    position: absolute;
    max-width: 40px;
    /*display: none;*/
    margin-top: 2px;
}


.error{
    color: #d42f2f;
}

.submenu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    list-style: none;
    border-radius: 5px;
}

.submenu li {
    padding: 5px 10px;
}

.submenu li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.submenu li a:hover,
.submenu li a:focus,
.submenu li a:active {
    background: #f4f4f4;
    text-decoration: none;
    color: #333;
    display: block;
}

.dropdown {
    position: relative;
    display: inline-block;
}


.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 600px;
    max-width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.search-input:focus {
    border-color: #ff6600;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}

.search-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

:dir(rtl) .search-btn {
    right: auto !important;
    left: 15px;
}

.search-btn:hover {
    color: #ff6600;
}

.container-fluid {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne suivante si nécessaire */
    align-items: center;
    max-height: 60px;
}

img.logo-x{
    height: 132px !important;
    width: 240px !important;
    margin-top: -35px;
    margin-left: -30px;
}


#profil-form-id{
    margin: 5px;
}

.title-page-div{
    /*margin-left: 50px;
    margin-right: 50px;*/
}

#bodyContainer{
    margin-left: 100px;
    margin-right: 100px;
    margin-bottom: 40px;
}

.cardGroupBtn button{
    margin-left: 20px;
}

.container{
    margin-top: 100px;
}

section.hero{
    min-height: 50px;
    padding: 0 0 20px 0;
}

.div-align{
    align-self: flex-start;
}
.div-align-top{
    /*padding-top: 10px;*/
    align-self: flex-start;
}

.marked-text{
    color: #ffc451 !important;
}

#bodyContainer{
    /*min-height: 380px;*/
    margin: auto;
}

#footer{
    --background-color: #1e6a1e;
}

footer li{
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 300;
    line-height: 2.2;
    text-transform: uppercase;
}

footer h5{
    font-size: 20px;
    font-weight: 700;
    line-height: 2;
}

ul.li-nostyle{
    list-style: none;
}

.contentCard {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Pour éviter qu’elle ne devienne trop large */
}

.signupElements{
    display: none;
}

.loginModalBody{
    max-height: 70vh;
    overflow-y: auto;
}

.forgotPasswordModalBody{
    height: 70vh;
    overflow-y: auto;
}

.centerContent{
    /*width:500px;*/
    margin: auto;
}

.card-img-right {
    position: relative;
    display: inline-block;
    width: 40%;
    object-fit: cover;
    cursor: pointer;
    max-height: 210px;
}
.my-plat{
    max-height: 140px !important;
}
img[data-binding="photoPlat"] {
    max-height: 350px;
}
.favorite-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px; /* Ajuste la taille */
    color: rgba(0, 0, 0, 0.5); /* Cœur légèrement transparent */
    background: none !important; /* Supprime le fond */
    border: none !important; /* Supprime le cercle */
    padding: 0; /* Supprime l’espace autour */
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px  1px 0 #fff,
        1px  1px 0 #fff;
}

.favorite-icon.favorited {
    color: red;
}
:dir(rtl) .favorite-icon {
    right: auto;
    left: 10px;
}

#pageSpinner{
    z-index: 2050;
}

#pageSpinner.hide {
    display: none !important;
    transition: opacity 0.3s ease;
    opacity: 0;
}
#pageSpinner.show {
    display: flex !important;
    opacity: 1;
}

#pageSpinner div.spinner-border{
    color: #ffc451 !important;
}

.social-btn {
    display: flex;
    width: 61px;
    height: 61px;
    border-radius: 50%; /* Cercle parfait */
    font-size: 24px; /* Taille de l'icône */
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    border: 1px solid rgba(145, 158, 171, 0.32);
    background-color: transparent;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    box-shadow: rgba(131, 119, 198, 0.11) 0px 18px 30px 0px;
}

.social-btn:hover {
    transform: scale(1.1); /* Effet zoom au survol */
}

.icon-social-media {
    width: 32px;
    height: 32px;
}

.role-img {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 50%;
    transition: transform 0.3s, border-color 0.3s;
}
.role-img:hover, .role-img.active {
    transform: scale(1.1);
    border-color: #007bff;
}

.d-modal-dialog {
    max-height: 90vh; /* Hauteur max à 90% de l'écran */
    display: flex;
    flex-direction: column;
}

.d-modal-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.d-modal-body {
    overflow-y: auto;
    max-height: 70vh; /* Permet le scroll vertical dans le contenu */
    padding: 20px;
}

.index-page .header{
    --background-color: rgba(0, 0, 0, 0.8) !important;
}

#alertContainer{
    z-index: 1050;
    width: auto;
}

.plat-note{
    font-size: 0.9em !important;
    margin-bottom: 4.2px;
}

.bouton-primaire{
    background-color: #fa7a1f !important;
    color: black !important;
    font-weight: 600 !important;
    min-width: 30px;
}
.bouton-secondaire{
    background-color: #8eb705 !important;
    color: black !important;
    font-weight: 600 !important;
    min-width: 30px;
}
.hidden-important {
    display: none !important;
}

.z-98888 {
    z-index: 99999 !important;
}
.z-99999 {
    z-index: 99999 !important;
}
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1064; /* juste en dessous du modal */
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* tu peux ajuster l’opacité */
}

#avisTab{
    padding-top: 10px;
}
.rating-stars .fas.fa-star {
    color: #FFC107FF
}
.noteMoyenne{
    font-size: 20px;
    font-weight: 500;
}

#submenu{
    width: 260px;
    margin-left: -200px;
}

#notif-count {
    font-size: 0.7rem;
    min-width: 16px;
    padding: 4px 6px;
}
#notif-list li .dropdown-item {
    white-space: normal;
    font-size: 0.875rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: #aeacac !important;
}
.muted{
    color: #6c757d;
}
.notification-link{
    color: inherit;
    text-decoration: none;
}

.pay-btn{
    cursor: pointer;
}

.appStore{
    background-color: rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 20px !important;
}
.hero .slogan{
    font-size: 30px !important;
}
.img-main-plat{
    height: 250px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
p.note{
    font-size: 0.9em !important;
}
