/* Échec de l'agrandissement. Renvoi du contenu non agrandi.
(191,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(309,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(414,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(438,25): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(442,25): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(445,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(457,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(479,25): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(503,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(522,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(585,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(657,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(662,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(725,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(863,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(893,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1226,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1283,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1340,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1358,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1385,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1410,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1423,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1450,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1547,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1553,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1586,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1601,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1611,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1649,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1699,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1754,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1846,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(1962,25): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2501,26): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2633,30): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2775,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2787,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2819,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(2897,21): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
(3104,25): run-time error CSS1039: Token not allowed after unary operator: '-font-size-base'
 */
select {
    background-color: #fff; 
    
}
select option:hover {
    /* Couleur de fond pour l'option survolée */
    background-color:red!important; /* Remplacez cette valeur par la couleur de fond de votre choix */
}

a:hover, a:active {
    text-decoration: none !important;
}


#datatableWineList tr td{
    cursor:pointer;
}

.pointer{cursor:pointer;}


.modal-body .alert-danger li
{
    color:white;
}

.showOnlyDesktop
{
    display:block;
}

.showOnlyMobile {
    display: none;
}

@media (max-width: 500px) {
    .showOnlyMobile
    {
        display:block;
    }
    .showOnlyDesktop {
        display: none;
    }
    .navbar-nav {
        margin: 0!important;
    }
    .navbar-right{
        display:none;
    }

    section.source_mobile {
        margin-bottom: 0px !important;
    }


    .hide_mobile{
        display:none;
    }


    
}




    .btnrap .fa {
     
        margin-right: 10px; /* Espacement entre l'icône et le texte */
    }

    .btnrap a {
        text-decoration: none;
        display: inline-flex; /* Assurez-vous que le lien reste un conteneur flexible */
        align-items: center;
        margin-left:15px;
        margin-bottom:15px;
    }

        .btnrap a:hover {
            text-decoration: none;
        }

.color #svg10{
    float:left;
}

.menuWineList  #svg10
{
float:left;
}

.menuWineListLabel{
 
    float:left;
    padding-left:12px
}



.colorLibel{
 
    padding-top:5px;
    padding-left:4px;
    float:left;
}


.iconSortDesc
{
    position: relative;
    top: -3px;
}
.iconSortAsc
{
    position:relative;
    top:3px;
}

.padding15 {
    padding: 15px !important;
}

.paddingBottom10 {
    padding-bottom: 10px !important;
}

.paddingRight10 {
    padding-right: 10px!important;
}
.paddingRight30 {
    padding-right: 30px !important;
}

.marginRight10{
    margin-right:10px;
}
.marginBottom10 {
    margin-bottom: 10px;
}
.marginTop10 {
    margin-top: 10px;
}
.margin15

{
    margin:15px!important;
}

.m-0 {
    margin: 0px;
}

.hidden_text_for_serch{
    display:none;
}







.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Couleur blanche semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assure que l'overlay est au-dessus de tout le contenu */
    flex-direction: column; /* Ajout de cette ligne pour aligner les éléments en colonne */
}

.loader {
    border: 8px solid #f3f3f3; /* Couleur de la bordure */
    border-top: 8px solid rgb(58, 63, 81); /* Couleur de la bordure du haut */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Animation de rotation */
}
.loaderText {
    margin-top: 10px;
    text-align: center;
    font-weight: 900;
    width: 80%;
    font-size: calc(var(--font-size-base) * 1.15);
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.loader_search_widget {
    border: 4px solid #f3f3f3; /* Couleur de la bordure */
    border-top: 4px solid #3a3f51; /* Couleur de la bordure du haut (animation) */
    border-radius: 50%; /* Forme du cercle */
    width: 20px; /* Largeur du loader */
    height: 20px; /* Hauteur du loader */
    animation: spin 1s linear infinite; /* Animation de rotation */
    position: absolute; /* Position absolue pour le positionnement */
    top: 15px; /* Positionnement en haut */
    right: 30px; /* Positionnement à droite */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    /* Rotation de départ */
    100% {
        transform: rotate(360deg);
    }
    /* Rotation complète */
}

.selected-row {
    background-color: #ffcc00; /* Exemple de couleur de fond plus vive */
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */
    transform: scale(1.01); /* Applique un effet de zoom */
    transition: transform 0.3s ease; /* Ajoute une transition fluide */
}

.wine-name-cell {
    min-width: 120px; /* ou toute autre valeur minimale souhaitée */
}

.wine-color-cell{
    text-align:center;
}

.wine-color-cell em {
    font-size:1.6em;
}








/* banner download mobile */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close {
    font-size: 25px;
    cursor: pointer;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border-radius: 20%; /* Pour arrondir les bords */
}

.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 12px;
}

.app-store {
    margin-bottom: 0px;
    font-weight:bold;
}

.app-details {
    display: flex;
    align-items: center;
   
    width: 100%; /* Pour que les éléments prennent toute la largeur disponible */
}

.app-name {
    font-weight: bold;
    font-size: calc(var(--font-size-base) * 1.15);
    padding-top: 2px;
    padding-right: 5px;
}

.ratingpopin {
    margin-bottom: 10px;
    font-size: 18px;
    margin-left: 5px;
    color: #FF9500;
}

.open-link a {
    color: #007AFF !important; /* Bleu natif Apple */
}
.open-link {
    margin-left: 30px;
}

.open-link a {
    font-size: 15px;
    padding-right:5px;
}

.open-link-android {
    border: 1px #3a3f51 solid;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
    .open-link-android a {
        color: #3a3f51;
        
        padding: 15px;
    }



.option_not_specified {
    font-style: italic;
}


.colorRadioRed input[type=radio]:checked + span:before {
    color: #f05050 !important;
}
.colorRadioWhite input[type=radio]:checked + span:before {
    color: #dde6e9 !important;
}

.colorRadioPink input[type=radio]:checked + span:before {
    color: #f532e5 !important;
}


.colorRadioAmber input[type=radio]:checked + span:before {
    color: #fad732 !important;
}

/* MODAL IA FICHE VIN */
.step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    
}

.step-title {
    margin: 0;
    flex: 1;
    font-size:15px;
}

.step-check {
    font-size: 20px;
    color: #3A3F51;
}

.smallLoader {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top-color: #3A3F51;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px; /* Ajout d'une marge entre le titre et l'indicateur */
}

.modalLoading .step {
    height: 20px;
}




/* hack pour la popin Sweet Alert de confirmation IA*/

.confirmIAPopin h2{
    margin:20px 0;
   font-size:24px;
   line-height:30px;
}
.confirmIAPopin p {
    text-align: left;
    font-size: var(--font-size-base);
}

.confirmIAPopin .sa-icon{
    display:none!important;
}


@media (max-width: 1199px) {
    .confirmIAPopin {
        margin-top: 0px !important;
        top: 10px;
        line-height:30px;
       
    }
    fieldset {
        padding-bottom: 5px;
        border-bottom: 1px dashed #eee;
        margin-bottom: 5px;
    }
}

@media (max-width: 280px) {
    .confirmIAPopin h2 {
        font-size: var(--font-size-base);
        margin: 0;
    }
    .confirmIAPopin h2 {
        font-size: var(--font-size-base);
    }
    .confirmIAPopin p {
        font-size: calc(var(--font-size-base) / 1.15);
    }
}

.stepForm{
    display:none;
}
/* FORMULAIRE FROM STEP BY STEP */
    .stepForm .panel-description {
        padding-top: 5px;
        padding-bottom: 20px;
        text-align: center;
        font-size: calc(var(--font-size-base) * 1.15);
        padding-left: 15px;
        padding-right: 15px;
    }

.stepForm .input-number {
    width: 50%;
    text-align: center;
    height: 60px !important;
    font-size: 18px !important;
}

.stepForm .arrow-left {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
    .stepForm .errorMessage {
        color: red;
        text-align: center;
        font-size: var(--font-size-base);
    }


    #stepSearch .panel-heading, .stepForm .panel-heading {
        font-size: 24px;
        text-align: center;
        font-weight: bold;
        position: relative;
    }


.stepForm .btn-primary {
    font-size: 18px;
    padding-left:50px;
    padding-right:50px;
}

.stepForm .form-control {
    margin:auto;
}


    .stepForm .form-control {
        font-size: calc(var(--font-size-base) * 1.15)!important;
        height: 40px;
    }

.stepForm .nextButton
{
    text-align:center;
}


.stepForm .panel-body{
    padding-top:0px;
}
.rowFromSelect {
    height: 50px;
    display: flex;
    align-items: center;
    border-top: 1px #909fa7 solid;
    text-align: center;
    font-size: calc(var(--font-size-base) * 1.15);
    cursor: pointer;
    transition: background-color 0.3s;
    padding-left: 3px;
}


    .rowFromSelect:hover,
    .rowFromSelect:active,
    .rowFromSelect.selected {
        background-color: #3a3f51;
        color: white;
    }

.rowFromSelect:hover .chevron,
.rowFromSelect:active .chevron,
.rowFromSelect.selected .chevron {
    border-left: 5px solid white; /* Couleur et taille du chevron */
    color: white;
}


.chevron {
    width: 0;
    height: 0;
    border-top: 5px solid transparent; /* Taille du chevron */
    border-bottom: 5px solid transparent; /* Taille du chevron */
    border-left: 5px solid #3a3f51; /* Couleur et taille du chevron */
    margin-left: auto; /* Pour aligner le chevron à droite */
    padding-right: 5px;
}


.containerCarreFromSelect {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .containerCarreFromSelect .item {
        flex: 1 1 135px; /* Ajustez la largeur maximale selon vos besoins */
        margin: 5px; /* Espace entre les éléments */
        border: 1px solid #909fa7; /* Bordure de 1px solide de couleur #888 */
        border-radius: 8px; /* Coins arrondis de 8px */
        cursor: pointer;
        transition: background-color 0.3s;
        max-width:180px;
    }

.item:hover,
.item:active,
.item.selected  {
    background-color: #3a3f51; /* Couleur de fond au survol et lors du clic */
    color: white;
}

.bgImageItem {
   
    border-top-left-radius: 8px; /* Coins arrondis en haut à gauche */
    border-top-right-radius: 8px; /* Coins arrondis en haut à droite */
}

.containerCarreFromSelect .item .title {
    font-size: calc(var(--font-size-base) * 1.15);
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-bottom-left-radius: 8px; /* Coins arrondis en haut à gauche */
    border-bottom-right-radius: 8px; /* Coins arrondis en haut à droite */
}
.containerCarreFromSelect .item .titlealone {
    padding-top:50px;
    padding-bottom:50px;
    font-size:18px;
}


#recapbody td{
    text-align:left;

}

#recapbody th {
    width: 150px
}
@media (max-width: 1199px) {
    #recapbody th {
        width: 125px
    }
}

#recapbody td.editButton {
    text-align: right;
}

.item img {
    max-width: 250px;
    width: 100%; /* Pour remplir la largeur de l'élément parent */
    border-top-left-radius: 8px; /* Coins arrondis en haut à gauche */
    border-top-right-radius: 8px; /* Coins arrondis en haut à droite */
    margin: auto;
    border-bottom: 1px #e4eaec solid;
    
}

.img-circle
{
    background-color:white;
    padding:5px;
}



    .recap .containerImage {
        float: left;
        width: 20%;
    }

    .recap .containerText {
        float: left;
        width: 80%;
        padding-left: 15px;
    }

    @media (max-width: 1199px) {
        .recap .containerImage {
            width: 30%;
        }

        .recap .containerText {
            width: 70%;
        }
    }

.recap .title {
    font-size: calc(var(--font-size-base) * 1.15);
    font-weight: bold;
}

.recap img {
    font-size: calc(var(--font-size-base) * 1.15);
    font-weight: bold;
    border-radius: 8px;
}

    .rowFromSelect img {
        width: 20px;
        margin-right: 10px;
        margin-top: 0px;
    }




    /* COUNT WINE SUR ACCUEIL */
    .backgroundCellar {
        background-image: url(/Content/Images/wine/cellar-bg.png);
        height: 120px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative; /* nécessaire pour positionner l'élément pseudo-élément */
        background-size: cover;
        border-top-left-radius:7px;
        border-top-right-radius:7px;
    }



    .countWineWidget {
        color: white;
        font-size: 60px;
        position: absolute;
        z-index: 888;
        width: 100%;
        text-align: center;
        margin-top: -10px;
    }

    .countWineSubTitleWidget {
        color: white;
        font-size: 28px;
    }

    .img-count-wine {
        border-radius: 8px;
        margin-top: 10px;
        margin-bottom: 10px;
        max-width: 65px;
    }


.listWithPhoto img {
    width: 80px;
    height: 80px; 
    object-fit: cover; 
    object-position: center; 
    border-radius: 8px;
}



.listWithPhoto .middleRating {
    font-size: var(--font-size-base);
}



.listWithPhoto .comment {
    padding-top: 0px;
}

    .listWithPhoto .date {
        padding-bottom: 4px;
    }


    .imageWineContainer {
        padding-top: 3px;
        position: relative;
    }


.listWithPhoto .faOverlay {
    color: #3a3f51 !important;
    position: absolute;
    top: 5px;
    left: 3px;
    width: 100%;
    height: 100%;
    display: flex;
   
    z-index: 1; /* Assure que les icônes sont au-dessus de l'image */
}

.wine-img-cell{
    float:left;
}
    .wine-img-cell .faOverlay {
        color: #3a3f51 !important;
        position: absolute;
        align-content: center;
        text-align: center;
        justify-content: center;
        display: flex;
        z-index: 1;
        margin-top: 3px;
        margin-left: 4px;
    }

.imageWineContainer .wineFlag {
    position: absolute;
    top: 3px;
    right: 0;
    width: 50px; /* ajustez la taille selon vos besoins */
    height: auto; /* permet de maintenir le ratio d'aspect */
    z-index: 1; /* assure que le drapeau est au-dessus de l'image du vin */
    width: 14px;
}


    .panelListItem {
        padding: 0;
    }

    .loaderMore {
        margin-top: 15px;
    }


    .linkEditWithoutReview {
        margin-top: 24px;
    }

    .linkEditWithReview {
        margin-top: 5px;
    }

    .btnLoadMore {
        margin-top: 15px;
    }


    .wine-img-cell {
        text-align: center;
    }

        .wine-img-cell img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            object-position: center;
            border-radius: 15px;
        }

    .serachBar {
        margin-bottom: 15px
    }

    .wine-flag-cell img {
        width: 20px;
        height: 20px;
    }

    .wine-name-cell a:hover {
        text-decoration: none;
    }
    /* BAR DE RECHERCVHE */
.serachBar .btnFilterRight {
    display: inline-block;
    padding: 8px 16px 8px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
    margin-bottom: 3px;
}







    .containerFilter {
        background-color: white;
        padding: 10px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .label-default {
    }

    .filterCategory {
        margin-top: 15px;
    }

.titleCategory {
    font-size: var(--font-size-base);
    font-weight: bold;
}


.serachBar .input-group-btn .btn {
    height: 50px;
    width: 70px;
    font-size: 20px !important;
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
}


    .headerWineContainer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 70px;
        margin-top: 15px;
        border-radius:7px;
    }

    .labelcontainer {
        cursor: pointer;
    }


    .modalPhaseExplication p {
        font-size: calc(var(--font-size-base) / 1.07);
    }

    a:hover, a:active {
        text-decoration: none !important;
    }


    .linkBack {
        font-size: 24px;
        font-weight: normal;
        color: white;
        padding: 5px;
        cursor: pointer;
    }

    .btn-next i {
        font-size: 15px;
        font-weight: normal;
        padding-left: 5px;
    }





    .mobile-datepicker .bootstrap-datetimepicker-widget {
        width: 100%;
    }


    .input-year {
        width: 100px;
        text-align: center;
    }

    .separatorYear {
        width: 35px;
        font-size: 21px;
        text-align: center;
        font-weight: bold;
    }

    .containerYearInput {
        display: flex;
        justify-content: center; /* aligne horizontalement */
        align-items: center;
        margin-top: 10px;
    }

.btnYear {
    width: 25px !important;
    border-radius: 7px !important;
    font-size: 34px;
    font-weight: bold;
    margin-right: 7px;
    margin-left: 7px;
    padding-right: 25px;
    padding-left: 10px;
    height: 35px;
    line-height: 23px;
    text-align: center;
    padding-right: 30px;
}


.textphaseform {
    font-size: 12px;
    margin-bottom: 2px;
}




    .lightbox {
        display: none;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .lightbox-content {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        text-align: center;
        width: 100%;
        max-width: 500px; /* Limiter la largeur pour une meilleure lisibilité sur de grands écrans */
    }

    .carousel-thumbnails {
        display: flex;
        bottom: 10px;
        z-index: 2;
    }

    .thumbnail {
        width: 75px;
        height: 75px;
        cursor: pointer;
        margin: 0 5px;
    }

    .carousel-images img {
        max-width: 500px;
        max-height: 500px;
        width: 100%;
        height: 100%;
    }

    .navigation-buttons {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

        .navigation-buttons button {
            background-color: transparent;
            border: none;
            cursor: pointer;
            font-size: 24px;
            color: #fff;
        }

    .prev-btn {
        position: absolute;
        left: 0;
        top: 50%;
        margin-left: 5px;
    }

    .next-btn {
        position: absolute;
        right: 0;
        top: 50%;
        margin-right: 5px;
    }

    .carousel-images .close {
        font-size: 50px;
        position: absolute;
        cursor: pointer;
        right: 5px;
        top: 0px;
    }



.custom-file-upload {
    position: relative;
    display: inline-block;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.subscriptionFormule .priceBarre {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 8px;
    font-weight: 400;
    opacity: 0.7;
}

.subscriptionFormule {
    margin-top: 15px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    box-shadow: 0 4px 4px hsla(0, 0%, 75%, .25);
    display: flex;
    justify-content: space-between;
    min-height: 80px;
    cursor: pointer;
}

.subscriptionFormuleSelected {
    border: 1px solid #3a3f51;
}

.subscriptionRadio .fa{
    margin-top:3px;
}
.subscriptionRadio {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    padding-left: 40px;
    float: left;
    display: flex;
    align-items: center;
}
.subscriptionMiddle {
    padding: 0 !important;
    margin-top: 20px;
    margin-left: 0px;
    margin-bottom: 13px;
    float: left;
    display: flex;
    align-items: center;
}
.subscriptionPrice {
    font-size: 18px;
    padding: 0 !important;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    margin-right: 10px;
    float: right;
    min-width: 100px;
    text-align: center;
    align-self: center;
    margin-top:15px;
}


.subscriptionTitle {
    font-size: 20px;
    font-weight: bold;
    vertical-align: middle;
    padding-left:10px;
}


.subscriptionSubPrice{
    font-size:10px;
}
/*

.subscriptionRadio input {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #000;
    padding: 2px;
    display: flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
}

.subscriptionRadio input[type="radio"]:checked {
    background-color: red!important 
}*/
.subscriptionSubPrice {
}

@media (max-width: 500px) {

    .modalFullSize .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        max-width: none;
    }

    .modalFullSize .modal-content {
        height: 100%;
        border: none;
        border-radius: 0;
    }

    .modalFullSize .modal-body {
        overflow-y: auto;
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .modalFullSize .col-lg-12 {
        overflow-y: auto;
        width: 100%;
        height: 100%;
        max-width: none;
    }


    .modalFullSize .row {
        overflow-y: auto;
        height: 100%;
        max-width: none;
    }

    .modalFullSize .modal-content {
        display: flex;
        flex-direction: column;
    }
    
}

.modalFullSize .modal-Review {
    padding-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.containerLink {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
 
.containerLink a { 
    margin-left:10px;
    margin-right:10px;
}

.modalFullSize .plan {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    font-size: calc(var(--font-size-base) * 1.15);
}

    .itemPremium {
        margin-bottom: 10px;
    }

.modalFullSize .containerButton {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 15px;
    margin-right: 15px;
}
.modalFullSize .subContainerButton {
    height: 85px;
}


.modalFullSize .containerButton {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .modalFullSize .containerButton button {
        height: 50px;
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 20px;
        line-height:17px;
    }

    .modalFullSize .containerButton small {
        
        font-size: 12px;
       
    }


.text-very-sm{
    font-size:10px;
}


.round-info-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #3a3f51;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: calc(var(--font-size-base) * 1.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .round-info-btn span {
        font-size: 12px;
    }


.switchNotif {
    margin-left: 10px;
    margin-right: 10px;
}



.notationInApp {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.notationInApp .rating-container .star {
    margin: 0 10px;
}

.notationInApp .caption
{
    display:none;
}





#CheckOutPopup label{
    margin-bottom:5px;
}



.buttonFilterMobile {
    display: flex;
    justify-content: center;
}


    .buttonFilterMobile .btn {
        width: 50%;
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: calc(var(--font-size-base) * 1.15)!important;
        font-weight: bold !important;
    }


.modal-filter .btn{
    margin-right:5px;
    margin-bottom:5px;
}




/* NOUVEAU DESIGN */

body {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    background-color: #fff;
    font-size: var(--font-size-base)!important;
}

.wrapper > section {
    background-color: #fff;
}
.label-warning {
    color: rgba(255, 174, 31, 1) !important;
    background-color: #fef5e5 !important;
}

.label-info {
    color: rgba(83, 155, 255, 1) !important;
    background-color: #ebf3fe;
}
.label-success {
    color: rgba(19, 222, 185, 1) !important;
    background-color: #e6fffa;
}

.label-danger {
    color: rgba(250, 137, 107, 1) !important;
    background-color: #fbf2ef;
}
.label {
    display: inline-block !important;
    padding: 5px 10px !important;
    font-size: calc(var(--font-size-base) / 1.07)!important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 7px !important;
    font-weight: 600 !important;
}


.panel {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    color: #3a3f51 !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid #ebf1f6 !important;
    border-radius: 7px !important;
    box-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px,rgba(145, 158, 171, 0.12) 0px 12px 24px -4px !important;
}

.panel-title {
    font-size: calc(var(--font-size-base) * 1.15);
    font-weight: 600 !important;
}

.btn-primary {
    background-color: #3a3f51 !important;
    border-color: #3a3f51 !important;
    
}

.btn {
    display: inline-block;
    padding: 7px 16px !important; /* Remplace --bs-btn-padding-y et --bs-btn-padding-x */
    font-size: calc(var(--font-size-base) / 1.07)!important;
    font-weight: 500 !important; /* Remplace --bs-btn-font-weight */
    line-height: 1.5 !important; /* Remplace --bs-btn-line-height */
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border-width: 1px !important; /* Remplace --bs-btn-border-width */
    border-radius: 7px !important; /* Remplace --bs-btn-border-radius */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

h4{
    font-weight:500;
}

.row-flush .panel-body{
    padding-left:0px!important;
    padding-right:0px!important;

}

.btn-lg, .input-lg {
    min-height: 50px !important;
    font-size: calc(var(--font-size-base) * 1.15)!important;
}




.topnavbar .navbar-header {
    background-color: white !important;
}


@media only screen and (min-width: 768px) {
    .topnavbar {
        background-color: white;
    }
    .highcharts-scrollbar {
        display: block!important;
    }

}
.highcharts-scrollbar{
    display:none;
}

.topnavbar .navbar-header .brand-logo {
    padding: 0px !important;
}

    .topnavbar .navbar-header .brand-logo img {
        height: 48px;
        width: 48px;
        margin-top: 4px;
    }


.topnavbar {
    box-shadow: rgba(0, 0, 0, .05) 0 9px 17.5px;
    border-bottom:0px!important;
    border:0px solid!important;

}


    .topnavbar .fa {
       
        font-size: 18px;
        color: #3a3f51 !important
    }


.list-wine-with-photo hr {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.content-heading {
    font-size: 32px !important;
    color: #3a3f51 !important;
    font-weight: bold !important;
    min-height: 75px !important;
    margin-bottom: 0px !important;
}

.hr10 {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left:15px;
    margin-right:15px;
}

.hr20 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
}


.hrMarginTop0{
    margin-top:0px;
}

.hr10MarginTop0 {
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

.hr10Margin0 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.aside-inner {
    font-size: var(--font-size-base)!important;
}

.subTitle {
    font-weight: normal !important;
    margin-top: 5px !important;
    font-size: var(--font-size-base)!important;
}

.modal-title {
    font-size: 32px !important;
    color: #3a3f51 !important;
    font-weight: bold !important;
   
    margin-bottom: 0px !important;
}


.titleSlide {
    font-size: 30px !important;
    color: #3a3f51 !important;
    font-weight: bold !important;
    margin-bottom: 0px !important;
}

.rating-container .label-default {
    display: none !important;
}
.rating-container .label {
    margin-top:10px!important;
}

.iconLeftMenu {
    margin-top: 1px;
    margin-right: 10px;
    float: left;
}

.subTitlePanel {
    font-size: var(--font-size-base)!important;
    color: #3a3f51 !important;
    font-weight: normal !important;
}


.custom-legend {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: var(--font-size-base);
    color: #3a3f51;
    margin-bottom: 15px;
}

.custom-legend-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
    font-size: var(--font-size-base)!important;
    color: #3a3f51 !important;
    font-weight: normal !important;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.custom-legend-item span {
    margin-left: 5px;
}

.custom-legend-item div {
    width: 20px;
    height: 20px;
    border-radius: 50%; /* Rend le rectangle un cercle */
    display: inline-block;
    margin-right: 5px;
}

    .custom-legend-item.selected {
        text-decoration: line-through;
        background-color: white !important;
        color: #3a3f51;
    }



.chart-tooltip {
    position: absolute;
    background-color: #ffffff;
    color: #3a3f51;
    border: 1px solid #cccccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    z-index: 9999;
    transform: translate(-50%, -100%);
    transition: opacity 0.3s ease;
    padding: 6px 10px;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: var(--font-size-base)!important;
    width: 200px;
    text-align: left;
    display: none;
    height: 170px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.tooltip-header{
    font-weight:bold;
    padding-bottom:10px;
 
}
.tooltip-body {
    margin-top: 0px;
}
.chart-tooltip table {
    margin: 0;
    white-space: nowrap;
}

    .chart-tooltip th, .chart-tooltip td {
        border-width: 0;
        padding: 6px 8px;
    }

    .chart-tooltip th {
        font-weight: bold;
    }





.labelWithIcon {
    display: flex;
    flex-direction: row;
}


.scrollable-content {
    height:50vh;
    overflow-y: auto; /* Ajoutez une barre de défilement verticale si nécessaire */
}


#typeValueSelect {
    padding-left: 5px;
    font-size: calc(var(--font-size-base) / 1.07);
    margin-top: 10px;
}



.containerTokenBalance {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none; /* Supprime les puces de liste */
    height: 100%; /* Assure que l'élément prend toute la hauteur disponible */
}

.tokenBalanceNumber {
    margin-right: 4px;
    margin-top: 16px;
    border: 2px solid #3a3f51;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    background-color: #3a3f51;
    
}


.btn-with-icon {
    display: inline-flex;
    align-items: center;
}

.btn-with-icon svg {
    margin-right: 10px;
}

table th {
    vertical-align: middle!important;
}


.dish-category a {
    margin-right: 5px;
    margin-bottom: 5px;
}


.list-date {
    font-weight: bold;
    font-size: calc(var(--font-size-base) * 1.15);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.iconTypeCheckout {
    position: absolute;
    padding-left: 0px;
    padding-top: 58px;
    color: #909fa7;
}
.iconTypeJournal {
    position: absolute;
    padding-left: 5px;
    padding-top: 2px;
}
    .iconTypeJournal span {
        font-size: 18px;
    }

    #containerJournal .wineFlag {
        margin: 4px;
    }

.hidden-important {
    display: none !important;
}
.container-img-form-add-image {
    position: relative;
    margin: 15px;
    border-radius: 7px;
    width: 100%;
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center; 
    align-content: center;
}

.container-img-form-add-image img {
    display: block;
  
    height: auto;
    border: 2px solid transparent;
    border-radius: 7px;
   cursor:pointer;
    border: 1px solid #e4eaec;
}

    .container-img-form-add-image.selected img {
        border: 3px solid #3a3f51;
    }

    .container-img-form-add-image .fa-check {
        position: absolute;
        top: 10px;
       
        color: white; 
        background-color: #3a3f51;

        font-size: 24px;
        z-index: 1;
        display: none;
        border-radius: 50%; 
        padding: 6px;
        width: 36px;
        height: 36px;
        text-align: center;
        line-height: 24px; 
    }

.container-img-form-add-image.selected .fa-check {
    display: inline-block;
}

.wineMyList {
    display: flex;
    flex-wrap: wrap; /* Les éléments vont passer à la ligne lorsqu'il n'y a plus d'espace */
    justify-content: flex-start; /* Aligne les éléments à gauche */
    gap: 10px; /* Espace entre les éléments */
}

.itemMyList {
    border: 1px solid #909fa7;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 8px 10px; /* Ajuste l'espace interne pour rendre les éléments plus agréables à cliquer */
    color: #3a3f51;
    font-size: var(--font-size-base)!important;
    background-color: white;
    height: 40px;
    white-space: nowrap; /* Empêche le texte de se couper à l'intérieur de l'élément */
}

.itemMyList:hover {
    background-color: #f0f0f0; /* Effet survol */
}


.containerIcon .fa {
    color: #3a3f51;
}


.containerFilterLabel .closeFilter{
    cursor:pointer;
}

.containerFilterLabel .label {
    background-color: #3a3f51;
    margin-right: 5px;
    margin-bottom:5px;
    height: 25px;
    justify-content: center;
    align-content: center;
    white-space: nowrap; 
}











.containerButtonRackName {
    display: flex;
    justify-content: left;
    padding-top: 10px;
}

.containerButtonRackName button{
    margin-right:5px;
}



.zoomContainer {
    overflow-x: auto;
    white-space: nowrap;
   margin-bottom:15px;
}


.new-bottle {
    cursor: move;

}


.new-bottle.ui-draggable {
    position: relative !important; /* S'assurer qu'il soit bien positionné hors du flux */
    z-index: 2000 !important; /* S'assurer qu'il soit au-dessus de la table */

}

.drop-target {
    border: 2px dashed #ccc;
}

.drop-target.ui-droppable-hover {
    border-color: #000;
}


.bottle_tab {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
}

.place_holder_row_col {
    display: none; /* Caché par défaut */
    position: absolute; /* Positionnement absolu */
    background-color: white; /* Fond blanc pour visibilité */
    border: 1px solid #ddd; /* Bordure pour meilleure visibilité */
    padding: 10px; /* Ajout de padding pour le confort */
    z-index: 1000; /* Assurez-vous qu'il est au-dessus des autres éléments */
}




#checkoutTableVisuRack .bottle-rack
{
    cursor:pointer;
}


.bottle-rack {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #3a3f51;
    margin: 0 auto;
}
    .bottle-rack.selected {
        background-color: #3a3f51 !important;
        font-size: var(--font-size-base)!important;
        color: white !important;
        border: 1px solid rgba(255, 215, 0, 0.5); /* #FFD700 avec 0.5 d'opacité */

        box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3) !important; /* légère ombre */
        position: relative !important; /* utile pour icône éventuelle */
        z-index: 1 !important;
    }


.tab-content{
    display:flex;
}

.swal-popup-center {
    position: fixed;
    top: 50%; /* Ajustez cette valeur selon vos besoins */
    z-index: 10000; /* Assurez-vous qu'il est au-dessus des autres éléments */
}

.swal-popup-top {
    position: fixed;
    margin-top:0px!important;
    top: 5%!important; /* Ajustez cette valeur selon vos besoins */
    z-index: 10000; /* Assurez-vous qu'il est au-dessus des autres éléments */
}


.nav-tabs a {
    background-color: #edf1f2 !important;
}

.nav-tabs li.active a {
    background-color: white !important;
}


.viewWineRackViewModal {
    position: absolute; /* Relative au document ou à un conteneur parent */
    background-color: white; /* Couleur de fond */
    border: 1px solid #eeeeee; /* Bordure */
    top: 5%; /* Centre verticalement */
    left: 50%; /* Centre horizontalement */
    transform: translate(-50%, -50%); /* Ajustement pour centrer */
    text-align: center; /* Aligne le contenu */
    display: flex; /* Disposition en flexbox */
    flex-direction: column; /* Organisation verticale */
    z-index: 1000; /* Priorité au-dessus des autres éléments */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Style moderne */
    padding: 20px; /* Ajoute de l'espace intérieur */
    max-width: 90%; /* Limite la largeur */
    max-height: 90%; /* Limite la hauteur */
    overflow-y: auto; /* Scrolling interne si nécessaire */
    border-radius: 8px; /* Coins arrondis */
}

.ratingpopin {
    display: flex;
    align-items: center;
}

.rating-value {
    margin-right: 5px;
    font-weight: bold;
}

.stars {
    display: flex;
}

.ratingpopin .star {
    color: #FFD700; /* Couleur des étoiles */
    font-size: 1.1em;
    margin-right:3px;
}

.star.half {
    background: linear-gradient(90deg, #FFD700 70%, #ccc 70%); /* moitié or, moitié gris */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sticky-column {
    position: sticky;
    left: 0;
    background-color: #fff; /* Assurez-vous que la colonne est lisible au défilement */
    z-index: 1; /* S'assurer que la colonne reste au-dessus du contenu */
    border-right: 1px solid #ddd; /* Ajout d'une bordure droite pour une séparation nette */
}










.tableEmplacement
{
    margin-bottom:15px;
}

.tableEmplacement .column-name {
    font-weight: bold;
    text-align: center;
    border: none;
    padding: 5px;
}


.tableEmplacement .row-name {
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #3a3f51; 
    border-left: none;
    border-top: none;
    border-bottom: none;
    padding: 5px;
  
}
.tableEmplacement .corner-cell, .tableEmplacement.tableEmplacementEditPosition .corner-cell
{
    border: none;
    padding: 0;
}

.tableEmplacement td {
    border: 1px #3a3f51 solid;
}

.tableEmplacement .empty, .tableEmplacement.tableEmplacementEditPosition .empty {
    border: none;
}

.tableEmplacement.tableEmplacementSmall td {
    width: 35px;
    height: 35px;
    min-width: 35px;
}

.tableEmplacement.tableEmplacementWithImage td {
    width: 80px;
    height: 80px;
    min-width: 80px;
    vertical-align:top;
}


.tableEmplacement.tableEmplacementCreation .smallLine {
    height: 10px;
}




.tableEmplacement.tableEmplacementCreation .removeRow {
    text-align: center;
    width: 100%;
    height: 5px;
    float: left;
}

.tableEmplacement.tableEmplacementCreation .removeCol {
    text-align: right;
    width: 100%;
    height: 17px;
    float: right;
}


.tableEmplacement.tableEmplacementCreation .add-column-cell {
    border: none;
    padding-top: 5px;
}

.tableEmplacement.tableEmplacementCreation .add-row-cell {
    border: none;
    text-align: center;
}

.tableEmplacement.tableEmplacementEditPosition td {
    border: 1px dashed #ccc
}
.tableEmplacement.tableEmplacementEditPosition td.ui-droppable-hover {
    border-color: #ccc;
    background-color: #ccc;
}

.tableEmplacement.tableEmplacementEditPosition .row-name {
    border-right: 1px dashed #ccc;
}

.tableEmplacement.tableEmplacementEditPosition th.empty{
    height:35px;
}




.print-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #3a3f51;
    border-radius: 50%;
    text-decoration: none;
    margin-top: 5px;
}

.leaflet-popup-content {
    font-size: 12px !important; /* Taille du texte */
    line-height: 1.5; /* Meilleure lisibilité */
}

.leaflet-popup-content a {
    font-size: 12px !important;
    font-weight:bold!important;
    color: #3a3f51!important;
    text-decoration: none;
    padding-top:10px!important;
}

.leaflet-popup-content a:hover {
    text-decoration: underline; /* Soulignement au survol */
}

/* Style général des clusters */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: #3a3f51 !important; /* Fond bleu foncé */
    color: white !important; /* Texte blanc */
  
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #3a3f51 !important;
    color: white !important; 
}



.containerSearchResultHeader {
    position: absolute;
    top: 56px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, .05) 0 9px 17.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    width: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}


@media (min-width: 767px) {
    .containerSearchResultHeader {
        left: 220px;
        width: calc(100% - 220px);
        border-right: 1px solid rgba(0, 0, 0, 0.15);
    }
}

@media (min-width: 1100px) {
    .containerSearchResultHeader {
        left: 220px;
        width: calc(50% - 220px);
        
    }
}




/* Style pour donner un effet dropdown */
.suggestion-box {
    position: relative;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 250px; /* Limite de hauteur avec scroll */
    overflow-y: auto;
    margin: auto;
    text-align:left;
    
}

/* Style des éléments de suggestion */
.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

    .suggestion-item:hover {
        background: #f8f9fa; /* Bootstrap hover */
    }

    /* Ajout d'une icône à gauche */
    .suggestion-item i {
        margin-right: 10px;
        color: #6c757d; /* Couleur Bootstrap */
    }




.deviseIconBig {
    font-size: 40px;
    padding-left: 9px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
        filter: drop-shadow(0 0 6px rgba(58, 63, 81, 0.5)); /* ombre #3a3f51 transparente */
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }
}

.animate svg {
    animation: pulse 1.2s ease-in-out infinite;
    transform-origin: center;
  
}

.animate-btn {
    animation: pulse 1.2s ease-in-out infinite;
}

div.dataTables_processing {
    position: absolute;
    top:30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}


.dragAndDrop .sortable-item,
.dragAndDrop .sortable-item * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.dragAndDrop .drag-handle {
    cursor: grab;
    margin-right: 15px;
    font-size: 28px;
    color: #999;
}


.dragAndDrop .switchNotif {
    float: right;
}

.dragAndDrop .sortable-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

    .dragAndDrop .sortable-item:hover {
        background-color: #f9f9f9;
    }



.dragAndDrop .section-name {
    flex-grow: 1;
}

.dragAndDrop .sortable-item.dragging {
    opacity: 0.5;
    background-color: #f1f1f1;
    border-style: dashed;
}

.dragAndDrop .section-disabled {
    opacity: 0.5;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #f9f9f9;
}


th.no-sort::before,
th.no-sort::after {
    display: none !important;
}

th.no-sort {
    pointer-events: none;
    cursor: default;
    background:none!important;
    width:1px;
    max-width:1px;
}


.badge-vegetarian {
    background-color: #d4edda;
    color: #155724;
    border-radius: 12px;
    font-size: 12px;
    padding-left: 12px;
    padding-right: 15px;
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
    margin-bottom: 5px;
    display: inline-block;
    margin-top:5px;
}




.drop-zone {
    border: 2px dashed #3a3f51;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    color: #3a3f51;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

    .drop-zone:hover {
        background-color: #f0f0f0;
    }

    .drop-zone.dragover {
        background-color: #e0e0e0;
        border-color: #2c2f3b;
    }

    .drop-zone input[type="file"] {
        display: none;
    }


.container-import-app {
    display: flex;
    flex-direction: row;
    margin: 15px;
}

.container-import-app {
    display: flex;
    flex-direction: row;
    margin: 15px;
}

.import-app{
    text-align:center;
    margin-right:15px;
}

.import-app img{
    margin-bottom: 10px;
}



.cellarWithBackground {
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* ou contain selon le besoin */
   
}

.cellarWithBackground .titleCellar, .cellarWithBackground .subTitlePanel, .cellarWithBackground .btn-link em {
    color: white !important;
}


.textPromoFormule {
    font-size: 12px;
    font-weight: normal !important;
}


.typing-caret::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

.perf-log {
    font-family: monospace;
    font-size: calc(var(--font-size-base) / 1.07);
    border: 1px solid #ccc;
    border-left: 4px solid #3a3f51;
    background: #f9f9f9;
    margin: 5px 0;
    padding: 5px;
}

.perf-log summary {
    cursor: pointer;
    font-weight: bold;
}

.perf-log pre {
    margin: 5px 0 0;
    padding: 5px;
    background: #fff;
    border: 1px solid #eee;
}



/* CHAT */



#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px; /* assure la position à droite */
    background-color: #3a3f51;
    color: white;
    padding: 12px 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    #chat-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

.chat-button-clicked {
    transform: scale(0.88);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}



#chatbot-message {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* <-- pour qu’il prenne toute la hauteur disponible */
    padding-right: 10px;
    overflow-y: auto;
    padding: 15px;
    height: 72%;
}

@media (min-width: 500px) {
    #chatbot-message {
        height: 55vh;
        padding-bottom: 15px;
    }
}


#chat-vocal-button {
    margin-top: 5px;
    bottom: 5px;
    background-color: white;
    color: #3a3f51;
    padding: 12px 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eaeaea;
}

    #chat-vocal-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }


.from-bot {
    margin: 0px !important;
}

.from-user {
    background-color: #3a3f51;
    border-radius: 16px;
    max-width: 70%;
    padding: 10px 14px;
    margin: 12px 0;
    margin-left: auto;
    display: block;
    position: relative;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
    font-size: 15px;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

    .input-wrapper input {
        width: 100%;
        padding-right: 40px; /* espace pour le bouton */
        height: 40px;
        box-sizing: border-box;
        font-size: calc(var(--font-size-base) * 1.15);
    }

    .input-wrapper button {
        position: absolute;
        right: 5px;
        top: 5px;
        transform: translateY(-50%);
        height: 40px !important;
        padding: 0 10px;
        background: #3a3f51;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

.dots-loader {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

    .dots-loader span {
        width: 6px;
        height: 6px;
        background-color: #3a3f51;
        border-radius: 50%;
        display: inline-block;
        animation: dot-bounce 1s infinite;
    }

        .dots-loader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dots-loader span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}




.chatbot-container {
    display: flex;
    flex-direction: column;
}

.chatbot-row {
    display: flex;
    align-items: flex-end; /* C’est ça qui aligne le logo en bas */
}

.chat-avatar-wrapper {
    display: flex;
    align-items: flex-end; /* Et celui-ci aligne l’image au bas */
    margin-right: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.chat-content {
    display: flex;
    flex-direction: column;
    background-color: #FAFAFA; /* Optionnel : bulle */
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-wineList {
    background-color: white;
    margin-top: 15px;
    border-radius: 10px;
}

.chat-buttonAction {
    padding-left: 35px;
}


    .chat-buttonAction .btn-link {
        padding-top: 10px !important;
        padding-right: 3px !important;
        padding-left: 10px !important;
    }

        .chat-buttonAction .btn-link span {
            font-size: 20px;
        }

.chat-dislike-form {
    position: relative;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.chat-dislike-close {
    position: absolute;
    top: -1px;
    right: 8px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.chat-dislike-form p {
    margin-top: 0;
    margin-bottom: 0;
}

.chat-dislike-textarea {
    margin-top: 10px;
    width: 100%;
    height: 80px;
    resize: vertical;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: var(--font-size-base);
    box-sizing: border-box;
}

.chat-dislike-submit {
    margin-top: 8px;
    background-color: #3a3f51;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.tagQuickViewModal .label{
    margin-right:7px;
    margin-bottom:7px;
}


/* Wrapper spécifique à la table Cepage */
#cepageTable_wrapper .top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

/* Ajuste un peu les marges */
#cepageTable_wrapper .dataTables_length {
    margin-right: 20px;
}

#cepageTable_wrapper .dataTables_filter input {
    margin-left: 5px;
}



.link-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* petit espace entre texte et icône */
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #3a3f51;
    text-decoration: none;
    border-bottom: 2px solid #3a3f51;
    padding-bottom: 2px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .link-reset-filters:hover {
        color: #fff; /* texte devient blanc */
        background-color: #3a3f51; /* fond principal */
        border-bottom-color: transparent; /* on supprime le trait */
        border-radius: 4px;
        padding: 2px 6px; /* effet de pill léger */
    }


.compact-list {
    margin: 0;
    padding: 0;
    padding-left: 15px; /* Juste assez pour le tiret */
}

    .compact-list li {
        margin: 0;
        padding: 0;
        line-height: 1.2; /* Réduit l'espacement entre les lignes */
    }



.chat-suggestions {
    position: relative;
    padding: 8px 36px;
    margin: 30px 8px 4px;
}

.suggestions-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
}

    .suggestions-track::-webkit-scrollbar {
        display: none;
    }

.suggestion-card {
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 280px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    scroll-snap-align: start;
    transition: transform .08s ease, box-shadow .08s ease, border-color .08s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .suggestion-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 18px rgba(0,0,0,.06);
        border-color: #e5e7eb;
    }

.suggestion-title {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.suggestion-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f5f5f5;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    cursor: pointer;
    line-height: 26px;
    text-align: center;
    font-size: 18px;
    padding: 0;
    z-index: 2;
}

.nav-btn-left {
    left: 6px;
}

.nav-btn-right {
    right: 6px;
}

.fade-left, .fade-right {
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 26px;
    z-index: 1;
}

.fade-left {
    left: 36px;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}

.fade-right {
    right: 36px;
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

@media (max-width: 480px) {
    .suggestion-card {
        min-width: 180px;
    }
}



.chat-suggestions {
    transition: opacity .12s ease;
}

    .chat-suggestions.is-ghost {
        opacity: 0;
        pointer-events: none; /* plus de clics */
    }

.toggleStockCheckbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #3a3f51;
    border-radius: 3px;
    background-color: white;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

    .toggleStockCheckbox:checked {
        background-color: #3a3f51;
    }

        .toggleStockCheckbox:checked::after {
            content: '✓';
            position: absolute;
            color: white;
            font-size: 12px;
            top: -2px;
            left: 2px;
        }






.aside-collapsed .iconLeftMenu {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aside-collapsed .nav li a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
}

.aside-collapsed .aside-inner {
    width: 70px;
}

/* Cacher le texte */
.aside-collapsed .nav li a span {
    display: none;
}

.aside-collapsed .nav-heading span {
    display: none;
}


.notificationContainer .notifCount {
    font-size: 12px !important;
    padding: 2px 5px !important;
    position: absolute;
}

.notificationContainer.open{
    padding-top:0px!important;
}

.notificationContainer .dropdown-menu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
}
.containerBell {
    padding-top: 15px;
    padding-right:5px;
}

@media (max-width: 500px) {
    .notificationContainer .notifCount
    {
        margin-top:10px!important;
    }
}


.notificationContainer .dropdown-menu
{
    min-width:300px!important
}

.notification-unread {
    background-color: #f5f7ff; /* fond léger bleu-gris */
    border-left: 4px solid #3a3f51; /* ta couleur principale */
    font-weight: 600; /* un peu plus lisible */
}

.notif-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #3a3f51;
    border-radius: 50%;
    margin-right: 6px;
}

.notification-unread {
    background-color: #eef1f7 !important; /* léger, cohérent avec #3a3f51 */
    border-left: 4px solid #3a3f51 !important;
}


 .steps-box p {
    padding-top: 0px !important;
}

 .steps-box {
    padding-top: 45px;
}

 .step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

    .step-item p {
        margin: 0;
        margin-top: 4px;
        font-size: var(--font-size-base);
        color: #3a3f51;
    }
 .step-icon {
    font-size: 26px;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 10px;
    background: #f5ece6;
    color: #3a3f51;
    flex-shrink: 0;
}

@media (max-width: 500px) {
    .step-item p {
        margin: 0;
    }
}

/* Base commune pour tous les headers */
.bg-header-base {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 25px 20px !important;
    text-align: center !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header normal (dégradé) */
.bg-header {
    background: linear-gradient(135deg, #3a3f51, #5b6280);
}

.bg-blackfriday-header {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url(/Content/Images/email/head-redwine-black-friday.png);
}

.chat-content ul li {
    list-style-type: disc !important;
}
.chat-content ol li {
    list-style-type: disc !important;
}


.swal-popup-top.sweet-alert {
    position: fixed !important;
    top: 10px !important;
    bottom: 10px !important;
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
}

    /* Le contenu (titre + texte) doit être scrollable */
    .swal-popup-top.sweet-alert h2,
    .swal-popup-top.sweet-alert p,
    .swal-popup-top.sweet-alert fieldset {
        flex-shrink: 0;
    }

    /* Container de texte scrollable */
    .swal-popup-top.sweet-alert p {
        overflow-y: auto !important;
        max-height: calc(100vh - 250px) !important;
        flex: 1 1 auto;
    }

    /* Les boutons restent collés en bas */
    .swal-popup-top.sweet-alert .sa-button-container {
        position: sticky !important;
        bottom: 0 !important;
        background: white !important;
        padding: 15px 0 10px 0 !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
        z-index: 1 !important;
    }

    /* Icônes ne doivent pas prendre trop de place */
    .swal-popup-top.sweet-alert .sa-icon {
        flex-shrink: 0 !important;
        margin: 10px auto !important;
    }

.modal-fullscreen-custom {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    margin: 0;
}

    .modal-fullscreen-custom .modal-content {
        height: 100vh;
        border-radius: 0;
    }
