.alert{
    padding:20px;
    margin-bottom:40px;
}
.alert-success{
    background:#1b8341;
    color:#FFFFFF;
}
.alert-danger{
    color:#FFFFFF;
    background: #c2085e;
}
.alert-warning{
    color: #112c0a;
    background: #c2bf08;
}

.lock{user-select:none;box-sizing:border-box;display:inline-flex;position:relative;justify-content:space-between;font-family:"Times New Roman",Times,serif;margin:0 0 30px;--rotationSpeed: .5s;--wheelColor: #BBB}.lock .wheel{perspective:200px;width:25px;margin-right:15px;transform-style:preserve-3d}.lock .wheel:after,.lock .wheel:before{position:absolute;width:100%;left:0;height:50%;right:0;backdrop-filter:blur(0.8px);z-index:10}.lock .wheel:before{top:calc(var(--elementHeight) * -0.6);background:linear-gradient(to bottom, #000A, transparent)}.lock .wheel:after{bottom:calc(var(--elementHeight) * -0.6);background:linear-gradient(to top, #000A, transparent)}.lock .wheel .wheel__inner{position:relative;margin:0 auto;transform-style:preserve-3d;transition:transform var(--rotationSpeed) cubic-bezier(1, 0, 0.44, 0.99);border-right:10px solid transparent}.lock .wheel .wheel__inner .wheel__segment{display:flex;justify-content:center;align-items:center;position:absolute;top:50%;background-color:var(--wheelColor);border-top:0px solid #000;border-left:5px solid #0008;border-right:5px solid #0008;width:26px}.lock .wheel .wheel__inner .wheel__segment span{padding-top:3px;text-shadow:rgba(245,245,245,.5) 1px 1px 1px;background-clip:text;-webkit-background-clip:text;-moz-background-clip:text;font-weight:bold;border-bottom:1px solid #0005;background-color:#000;color:#0005;font-size:calc(var(--elementHeight) * 0.6);width:100%}.lock .wheel:last-child{width:46px}/*# sourceMappingURL=lock.css.map */

.puzzle{
    width: 300px;
    padding: 3px;
    aspect-ratio: 1;
    position: relative;
    margin: 100px auto;
    background: #777;
    border-radius: 10px;
    box-shadow: 0 0 0 5px #000;
}

.block-puzzle{
    width: 31%;
    height: 31%;
    margin: 1.5px;
    display: flex;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    background: #eee;
    position: absolute;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-shadow: 0 0 20px #555 inset;
}

.info_user{
    border:2px solid #9ca3af;
    text-align: center;
    padding:5px;
    margin-bottom:60px;
}

.minheight{
    min-height:470px;
}

.promo{
    background: #7741ea;
    border-radius: 15px;
    padding:10px;
    padding-right:20px;
    padding-left:20px;
    color: #ffffff;
}

.promo p, .promo p strong , .promo a{
    color: #ffffff;
}

.final{
    background: #41b427;
    border-radius: 15px;
    padding:10px;
    padding-right:20px;
    padding-left:20px;
    color: #232020;
}
.rowx_1{
    background: #7741ea;
    color: #ffffff;
}

.sep{
    height:1px;
    display:inline-block;
    width:30%;
    background: #9ca3af;
}

.avatar{
    margin-left:15px;
    margin-right:15px;
    width:24px;
    border-radius: 30px;
    display: inline-block;
}

.odd{
    background: #9ca3af;
}

.mini{
    max-height:250px;
    max-width:250px;
}

.minireponse{
    color:#7741ea;
}


.showpromo {
    position: absolute;       /* Pour couvrir l'écran */
    top: 20px;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;         /* Très haut pour passer devant tout */
    justify-content: center;
    align-items: center;
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* gris transparent */
    z-index: 9998;
    display: none;
}

.loader {
    display:none;
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.slider-container {
    position: relative;
    width: 80%; /* Largeur du slider, s'adapte à l'écran */
    max-width: 900px; /* Largeur maximale pour les grands écrans */
    overflow: hidden; /* Cache les images qui ne sont pas affichées */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.slide-track {
    display: flex; /* Affiche les images en ligne */
    transition: transform 0.5s ease-in-out; /* Animation de transition */
}

.slide-track img {
    width: 100%; /* Chaque image prend 100% de la largeur du conteneur */
    height: auto; /* Hauteur automatique pour maintenir le ratio */
    flex-shrink: 0; /* Empêche les images de rétrécir */
    display: block; /* Supprime l'espace sous les images */
}

/* Boutons de navigation */
.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 10; /* S'assure que les boutons sont au-dessus des images */
}

.prev-button:hover,
.next-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.slide-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Nouveau style pour chaque élément de slide */
.slide-item {
    position: relative; /* Très important pour positionner le titre par-dessus */
    width: 100%; /* Chaque élément prend 100% de la largeur du conteneur */
    flex-shrink: 0;
    display: flex; /* Pour centrer le contenu si besoin, mais ici c'est pour le titre */
    align-items: center; /* Centrage vertical si le titre était sur une ligne */
    justify-content: center; /* Centrage horizontal si le titre était sur une ligne */
}

.slide-item img {
    width: 100%; /* L'image remplit son conteneur .slide-item */
    height: auto;
    display: block;
}

/* Dialog box */
.dialog{
    padding:20px;
    border: 2px solid gray;
    border-radius: 20px;
}

.dialog form{
    justify-content: center;
    display: flex;
}

.dialog button{
    margin-top: 40px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    background: var(--primary-700);
    padding:15px;
    color:#ffffff;
}

/* Style et positionnement du titre */
.slide-title {
    position: absolute; /* Positionne le titre par rapport à .slide-item */
    top: 50%; /* Commence au milieu verticalement */
    left: 50%; /* Commence au milieu horizontalement */
    transform: translate(-50%, -50%); /* Centre parfaitement le titre */
    color: white; /* Couleur du texte */
    background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 2em; /* Taille du titre */
    text-align: center;
    width: 80%; /* Largeur du bloc titre */
    box-sizing: border-box; /* Inclut le padding dans la largeur */
    z-index: 5; /* Assure que le titre est par-dessus l'image */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre pour meilleure lisibilité */
}

/* Points indicateurs */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #3357FF; /* Couleur du point actif */
    transform: scale(1.2);
}

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .slider-container {
        width: 95%; /* Plus large sur les petits écrans */
    }
    .prev-button,
    .next-button {
        padding: 8px 12px;
        font-size: 1.2em;
    }
    .slider-dots {
        gap: 6px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .prev-button,
    .next-button {
        padding: 5px 8px;
        font-size: 1em;
    }
    .prev-button {
        left: 5px;
    }
    .next-button {
        right: 5px;
    }
    .slider-dots {
        bottom: 5px;
    }
}

/* Media Queries pour la responsivité du titre */
@media (max-width: 768px) {
    .slide-title {
        font-size: 1.5em; /* Réduit la taille du titre sur les tablettes */
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.1em; /* Réduit encore plus sur les mobiles */
        padding: 5px 10px;
        width: 90%;
    }
}

.compass > .my-point {
    opacity: 0;
    border-radius: 50%;
    transition: opacity 0.5s ease-out;
    width: 50px;
    height: 50px;
    margin:auto;
    z-index: 1;
    background: url('/assets/boussole2.png');
}
