:root {
    --primary-bg: #8e44ad;
    --secondary-bg: #622F78;
    --gray-bg: #fafafa;
    --gray-bg-page: #f2f4f7;
    --disabled-color: #F8E7F6;
    --primary-color: #fff;
    --couleur-titre: #622F78;
    --bs-heading-color: var(--couleur-titre);
    --swiper-theme-color: var(--secondary-bg) !important;
}

/*:root {
    --primary-bg: #F5D700;
    --secondary-bg: #E2B500;
    --gray-bg: #fafafa;
    --gray-bg-page: #f2f4f7;
    --disabled-color: #F8E7F6;
    --primary-color: #4a3c04;
    --couleur-titre: #E2B500;
    --bs-heading-color: var(--couleur-titre);
    --swiper-theme-color: var(--secondary-bg) !important;
}*/

.btn {
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgb(98 47 120 / 63%);
}

.btn-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-bg: var(--primary-bg);
    --bs-btn-border-color: var(--primary-bg);
    --bs-btn-hover-color: var(--primary-color);
    --bs-btn-hover-bg: var(--secondary-bg);
    --bs-btn-hover-border-color: var(--secondary-bg);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: var(--primary-color);
    --bs-btn-active-bg: var(--secondary-bg);
    --bs-btn-active-border-color: var(--secondary-bg);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: var(--disabled-color);
    --bs-btn-disabled-border-color: var(--disabled-color);
}

.btn-success {
    --bs-btn-bg: #27ae60;
    --bs-btn-border-color: #27ae60;
}

.bg-success {
    background: #27ae60 !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-bg);
    --bs-btn-border-color: var(--primary-bg);
    --bs-btn-hover-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-bg);
    --bs-btn-hover-border-color: var(--primary-bg);
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: var(--primary-color);
    --bs-btn-active-bg: var(--primary-bg);
    --bs-btn-active-border-color: var(--primary-bg);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-bg);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-bg);
    --bs-gradient: none;
}

.btn-light-blanc {
    --bs-btn-bg: #ffffff;
}

.list-group {
    --bs-list-group-active-bg: #F8E7F6;
    --bs-list-group-active-border-color: #F8E7F6;
    --bs-list-group-active-color: #5A2259;
}

.page-link {
    color: var(--couleur-titre);
    cursor: pointer;
}

.page-link:hover {
    color: var(--primary-bg);
}

.active > .page-link, .page-link.active {
    color: var(--primary-color);
    background-color: var(--secondary-bg);
    border-color: var(--secondary-bg);
}

.accordion-button:not(.collapsed) {
    color: var(--bs-heading-color);
    background-color: #9c68af24;
}

.btn-bg-white {
    background: #fff;
}

.bg-red {
    background-color: #e84118;
}

.color-red {
    color: #e84118;
}

.color-bleu {
    color: #3498db;
}

.color-jaune-ylang {
    color: #e5b634;
}

.color-violet {
    color: var(--primary-bg);
}

.color-vert {
    color: #27ae60;
}

.color-primary {
    color: var(--primary-color);
}

.bg-gray {
    background: var(--gray-bg)
}

.bg-violet {
    background: var(--primary-bg)
}

.bg-gray-page {
    background: var(--gray-bg-page)
}

.font-size-smaller {
    font-size: smaller
}

.tg-dialog-progress-bar {
    margin-left: 15px;
    margin-right: 15px;
}


html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body {
    /*font-family: "Quicksand", serif;*/
    /*font-optical-sizing: auto;*/
    background: var(--gray-bg-page);

    /*font-family: "Poppins", sans-serif;;*/
    font-family: "Work Sans", sans-serif;
}

hr {
    border-color: #c3c3c3;
}

.contBtRight {
    text-align: right;
    display: flex;
}

header {
    display: flex;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    align-items: center;
    padding: 12px 25px;
}

.menu {
    justify-content: center;
}

.menu > a {
    text-align: center;
    text-decoration: none;
    color: black;
}

#menuTop {
    flex-grow: 1;
}

#menuTop > a {
    padding: 15px 15px;
}

#menuTop > a.active {
    border-bottom: 3px solid var(--primary-bg);
    color: var(--couleur-titre);
}

#menuBottom > a.active {
    color: var(--primary-bg);
}

#menuBottom {
    font-size: smaller;
    z-index: 3;
}

#menuBottom > a {
    padding: 5px 0;
    flex-grow: 1;
    height: 55px;
    background: #ffffff;
    border-top: 6px solid #f2f4f7;
    width: 20%;
    flex-shrink: 0;
}

#menuBottom > a:nth-child(2) {
    border-radius: 0 18px 0 0;
}

#menuBottom > a:nth-child(4) {
    border-radius: 18px 0 0 0;
}

#menuBottom > a:nth-child(3) > div {
    background: #ffffff;
    position: relative;
    border-radius: 40px;
    top: -36px;
    left: 0px;
    height: 75px;
    border: 6px solid #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menuBottom > a i {
    font-size: 15px;
}


#contLogoBiyachara {
    color: rgba(255, 255, 255, .5);
    height: 30px;
    text-decoration: none;
    display: flex;
    align-items: start;
}

#contLogoBiyachara > svg {
    height: 100%;
    width: auto;
}

#contLogoBiyachara > .site-name {
    font-size: 15px;
    margin-left: 3px;
    color: var(--primary-bg);
    font-weight: bolder;
}

main#leMain {
    flex-grow: 1;
}

#partMilieu {
    overflow-y: scroll;
}

footer {
    background: var(--secondary-bg);
    color: rgba(255, 255, 255, .5);
    padding: 15px;
    text-align: center;
}

.inputGroupRechercheAccueil button {
    border: var(--bs-border-width) solid var(--bs-border-color);
}

h1 {
    color: var(--couleur-titre);
}

.cursor-pointer {
    cursor: pointer;
}

/* =========== CARTE MAYOTTE === */

#contCartMayotte {
    position: relative;
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 20px;
}

#contCartMayotte path {
    transition: 0.5s all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

#contCartMayotte svg {
    overflow: hidden;
    vertical-align: middle;
    filter: drop-shadow(23px 10px 4px #b4b4b4);
    width: 100%;
    height: auto;
}

#infoMap p {
    display: inline-block;
    width: 191px;
    position: absolute;
    right: -6px;
    top: -15px;
    font-size: small;
    text-align: center;
    color: var(--primary-color);
    background: var(--primary-bg);
    border-radius: 15px;
    padding: 4px;
    transform: rotate(26deg);
}

#infoMap p:before {
    content: '';
    display: inline-block;
    height: 10px;
    width: 10px;
    background: var(--primary-bg);
    position: absolute;
    bottom: -5px;
    left: 41px;
    transform: rotate(46deg);
}

div#nomComMap {
    z-index: 1;
    position: absolute;
    top: 184px;
    left: -32px;
    padding: 7px;
    color: var(--primary-color);
    background: var(--primary-bg);
    transform: rotate(-78deg);
    width: 125px;
    text-align: center;
    display: none;
}

div#nomComMap:before {
    content: '';
    display: inline-block;
    height: 10px;
    width: 10px;
    background: var(--primary-bg);
    position: absolute;
    top: 33px;
    left: 47px;
    transform: rotate(47deg);
}

/* =========== FIN CARTE MAYOTTE === */

.contCategszzz {
    background: #F5F5F5;
    padding: 15px;
    display: flex;
}

.contIcoCateg {
    display: inline-block;
    background: white;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    border-radius: 50%;
    color: #DD88CF;
}

.form-control:focus {
    border-color: var(--primary-bg);
    box-shadow: 0 0 0 .25rem rgb(142 68 173 / 25%);
}

.contNbrSaisie6 {
    width: 250px;
    padding: 6px;
}

.contNbrSaisie6 input {
    height: 40px;
    width: 35px;
    margin: 3px;
}

.contApercuImage {
    position: relative;
    background: #efefef;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7c7c7;
    overflow: hidden;
    cursor: pointer;
}

.contApercuImage .contChargement {
    display: none;
    position: absolute;
    top: calc(50% - 12px);
    left: 0;
    color: #ffffff;
    background: #ba68c885;
    width: 100%;
    text-align: center;
}

.contApercuImage.chargement .contChargement {
    display: inline-block;
}

#barreDeProgressionTop {
    height: 5px;
    background: #e5b634;
    transition: 0.5s all;
    border-radius: 5px;
}

.contApercuImage.erreur {
    border: 1px solid red;
}

.contApercuImage .iconAjouterImage::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f055";
    color: var(--primary-bg);
    font-size: 25px;
    position: relative;
    top: -10px;
    left: -10px;
    background: #ffffff;
    border-radius: 10px;
}

.lblContImage {
    width: 70px;
}

.contImg img {
    max-width: 100%;
    max-height: 100%;
}

#image_annonce_images fieldset {
    display: inline-block;
    padding: 3px;
    margin: 0 !important;
}

.menuProfil_groupe {
    margin-top: 14px;
    margin-bottom: 33px;
}

.menuProfil_titre {
    color: #a2a2a2;
    font-weight: bold;
}

.menuProfil_titre, .menuProfil_bt {
    padding: 10px;
    margin: 5px;
}

.menuProfil_bt {
    display: block;
    color: black;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.menuProfil_bt.actif {
    color: var(--couleur-titre);
    border-left: 3px solid var(--primary-bg);
}

.leBadge {
    text-align: center;
    margin-bottom: 25px;
    font-size: smaller;
}

.leBadge.bronze .cls-1 {
    fill: #cd7f32;
}

.leBadge.argent .cls-1 {
    fill: #c0c0c0;
}

.leBadge.or .cls-1 {
    fill: #ffd700;
}

.leBadge.flamme .cls-1 {
    fill: #e74c3c;
}

.contSvgBadge {
    position: relative;
}

.contIcoBadge {
    display: inline-block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: #ffffffba;
}

.appBlock1 .contIcoBadge {
    font-size: 25px;
}

.contIcoBadge.avcNbr {
    font-size: 25px;
}

.appBlock1 .contIcoBadge.avcNbr,
#profilContBadgeObtenu .contIcoBadge.avcNbr {
    font-size: 15px;
}

.notif {
    background: #fafafa;
    border-radius: 10px;
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
    font-size: smaller;
}

.notif.nonVu {
    background: white;
}

.contIcoNotif {
    padding: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffffcc;
    background: #cecece;
    border-radius: 14px;
    height: 50px;
    width: 50px;
}

.notif.nonVu .contIcoNotif {
    background: #ffd700;
}

.contMessagNotif {
    padding: 0 10px;
    flex-grow: 1;
}

.contDateNotif {
    color: #666;
    text-align: right;
}

.annonce {
    background: #fff;
    height: 100%;
    border-radius: 15px;
    /* background: white; */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /*border: 1px solid #E4E7EB;*/
}

.annonce hr {
    margin: 0 10px;
    padding: 0;
}

.annonce .annonce-contImg {
    height: 134px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin-bottom: 10px;
}

.annonce .annonce-contImg figure {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annonce .annonce-contImg img {
    max-width: 100%;
}

.annonce .annonce-titre {
    font-size: 1em;
    flex-grow: 1;
}

.annonce .annonce-titre, .annonce .annonce-info {
    font-size: 1em;
    padding: 10px;
}

.annonce .annonce-info {
    display: flex;
    justify-content: space-between;
    color: gray;
    font-size: small;
}

.annonce .annonce-prix {
    background: var(--primary-bg);
    color: white;
    position: absolute;
    display: inline-block;
    width: 141px;
    text-align: center;
    top: 22px;
    left: -40px;
    transform: rotate(-50deg);
}

.cont_annonce_img_non_disponible {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cont_annonce_img_non_disponible img {
    max-height: 50%;
    height: 40px;
}

.ficheAnnonce_superCont {
    padding: 15px;
    overflow: hidden;
    border-radius: 15px;
}

.ficheAnnonce_superCont.avecNav .ficheAnnonce_contAll .ficheAnnonce_vue {
    height: 100%;
}

.ficheAnnonce_vue:not(.noImage) {
    margin-bottom: 40px;
}

#ficheAnnonce_cotGalerie .ficheAnnonce_contAll {
    top: 0;
}

.leNav {
    display: inline-block;
    background: #fff;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.contEcran .p-top-right {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
}

.swiper {
    width: 100%;
    height: 100%;
}

.contImgSlide {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.contImgSlide img {
    max-height: 100%;
    max-width: 100%;
}

div#contImgNoAnnonce img {
    max-width: 100%;
    max-height: 100%;
}

.circleInfoFiltreActif {
    display: none;
}

.filtre_actif .circleInfoFiltreActif {
    display: inline-block;
}

.filtre_erreur .circleInfoFiltreActif {
    background: #e74c3c !important;
}

/*========== essaba_switch =========*/
label.essaba_switch {
    text-align: left;
    width: 40px;
    height: calc(40px / 2);
    border-radius: 60px;
    background-color: var(--primary-bg);
    display: inline-block;
    position: relative;
    cursor: pointer;
}

label.essaba_switch > span {
    display: block;
    width: 100%;
    height: 100%;
}

label.essaba_switch > input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

label.essaba_switch > span:before, label.essaba_switch > span:after {
    content: "";
    cursor: pointer;
    position: absolute;
}

label.essaba_switch > input[type="checkbox"]:focus ~ span {
    /*box-shadow: 0 0 0 4px #43b556;*/
}

label.essaba_switch > input[type="checkbox"]:checked:focus ~ span {
    /*box-shadow: 0 0 0 4px #fff;*/
}

label.essaba_switch > span {
    border-radius: 60px;
}

label.essaba_switch > span:before {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #f1f1f1;
    border-radius: 60px;
    transition: opacity .2s ease-out .1s, transform .2s ease-out .1s;
    transform: scale(1);
    opacity: 1;
}

label.essaba_switch > span:after {
    top: 50%;
    z-index: 3;
    transition: transform .4s cubic-bezier(0.44, -0.12, 0.07, 1.15);
    width: calc(40px / 2);
    height: calc(40px / 2);
    transform: translate3d(0, -50%, 0);
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

label.essaba_switch > input[type="checkbox"]:checked ~ span:before {
    transform: scale(0);
    opacity: .7;
}

label.essaba_switch > input[type="checkbox"]:checked ~ span:after {
    transform: translate3d(100%, -50%, 0);
}

/* ========= fin ==========*/

.SumoSelect .select-all.partial > span i, .SumoSelect .select-all.selected > span i, .SumoSelect > .optWrapper.multiple > .options li.opt.selected span i {
    background-color: var(--primary-bg);
}

.SumoSelect {
    width: 100%;
}

.SumoSelect > .CaptionCont > label > i {
    display: none;
}

.SumoSelect > .CaptionCont .placeholder {
    background-color: unset;
}

.SumoSelect > .CaptionCont {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.SumoSelect.open > .CaptionCont, .SumoSelect:focus > .CaptionCont, .SumoSelect:hover > .CaptionCont {
    border-color: var(--primary-bg);
    box-shadow: 0 0 0 .25rem rgba(221, 136, 207, .25);
}

.SumoSelect .select-all {
    height: unset;
}

.categorie {
    position: relative;
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.categorie .contImg {
    height: 130px;
}

.categorie:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}


#g_roue_droit, #g_roue_gauche, #g_roue_gauche_top {
    animation: spin 2s linear infinite;
}

#g_roue_droit {
    transform-origin: 686.19922px 825.95599px;
}

#g_roue_gauche {
    transform-origin: 351.04788px 867.68439px;
}

#g_roue_gauche_top {
    transform-origin: 153.66623px 760.38293px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*.contChargementVoitureBiyachara.contChargement {*/
/*    !*background: var(--gray-bg-page);*!*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    height: 100%;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    z-index: 3;*/
/*}*/

/*.contChargementVoitureBiyachara > div{*/
/*    width: 180px;*/
/*}*/


.info-box {
    background-color: #f0f8ff; /* Couleur de fond douce */
    padding: 15px; /* Espacement intérieur */
    margin: 20px 0; /* Espacement extérieur */
    border-radius: 8px; /* Coins arrondis */
    font-family: Arial, sans-serif; /* Police de caractères */
    color: #333; /* Couleur du texte */
    font-size: 16px; /* Taille du texte */
}

.bg-jaune-alert, .info-box.alert {
    background-color: #FFF8E1 !important;
}

.info-box p {
    margin: 0; /* Supprime les marges par défaut du paragraphe */
}

.avec_mode:not(.en_mode_1) .mode_1 {
    display: none;
}

.avec_mode:not(.en_mode_2) .mode_2 {
    display: none;
}

#contLogoPgConnexion {
    height: 100px;
    text-align: center;
}

#contLogoPgConnexion > img, #contLogoPgErreur > img {
    max-height: 100%;
    max-width: 100%;
}

#contLogoPgErreur {
    height: 84px;
    text-align: center;
}

.leMainBgFavoris {
    background: linear-gradient(0deg, rgba(255, 212, 96, 1) 32%, rgba(87, 199, 133, 1) 39%, rgba(101, 207, 202, 1) 100%)
}

#contImgConfirmation {
    padding-top: 50px;
}

#contImgConfirmation img {
    max-height: 300px;
    width: 100%;
}

#contConfettiContainer {
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 92%;
    padding: 17px 12px 0 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#confetti-container {
    position: relative;
    width: 400px;
    height: 160px;
}

.confetti {
    position: absolute;
    width: 4px;
    height: 7px;
    max-width: 18px;
    max-height: 26px;
    opacity: 1;
    border-radius: 2px;
    background-color: #9b59b6;
    will-change: transform, opacity;
}

.contOptionEditImageAnnonce {
    display: flex;
    position: absolute;
    top: 5px;
    right: 5px;
}

.cc-window.cc-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    background: #fff !important; /* fond blanc */
    color: #333 !important; /* texte gris foncé */
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.15); /* ombre douce */
    border-top: 1px solid #eee;
}

.cc-btn {
    border-radius: 6px;
    font-weight: 500;
}

.cc-btn.cc-allow {
    background: #8e44ad !important; /* bouton violet */
    color: #fff !important;
}

.cc-btn.cc-deny {
    background: #ccc !important;
    color: #333 !important;
}

.cookie-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    flex-shrink: 0;
}

@keyframes explodeAndForm {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    30% {
        transform: translate(var(--explode-x), var(--explode-y));
        opacity: 1;
    }
    50%, 80% {
        transform: translate(var(--text-x), var(--text-y));
        opacity: 1;
    }
    100% {
        transform: translate(var(--fall-x), var(--fall-y));
        opacity: 0;
    }
}

@keyframes explodeAndFall {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    30% {
        transform: translate(var(--explode-x), var(--explode-y));
        opacity: 1;
    }
    100% {
        transform: translate(var(--fall-x), var(--fall-y));
        opacity: 0;
    }
}

.contBadgePagePublic {
    flex: 0 0 auto;
    width: 33%;
}

.annonce-profil-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #e5b634;
    text-decoration: none;
}

.annonce-profil-date {
    font-size: 0.85rem;
    color: #95a5a6;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #495057;
    margin: 0 auto;
}

.dashboard-petitInfo {
    padding: 10px;
}

.dashboard-petitInfo .contIco {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: var(--primary-bg);
    background: #9c68af;
    line-height: 50px;
    font-size: 20px;
    color: #ffffffc7;
    text-align: center;
}

.dashboard-petitInfo .contIco.green {
    background: #2ecc71;
}

.dashboard-petitInfo .contIco.red {
    background: #e74c3c;
}

.dashboard-petitInfo .contIco.yellow {
    background: #f1c40f;
}

.dashboard-petitInfo .titre {
    font-size: smaller;
    font-weight: bolder;
}

.dashboard-petitInfo .nbr {
    font-size: 20px;
    font-weight: bolder;
}

.dashboard-petitInfo .detail {
    font-size: smaller;
    color: var(--bs-secondary-color);
}

#chartStatutAnnonce, #chartStatutTheme {
    height: 300px;
}

.contEcran:not(.pleinEcran) .btChangeEtat i.fa-compress {
    display: none;
}

.contEcran.pleinEcran .btChangeEtat i.fa-expand {
    display: none;
}

body.mode_plein_ecran {
    overflow: hidden;
}

body.mode_plein_ecran #ficheAnnonce_cotGalerie {
    position: relative;
}

.fond-floute {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* pour Safari */
    background-color: rgba(255, 255, 255, 0.3); /* blanc transparent */
    background-color: #9b59b65e;
}

.contEcran .fond-floute {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
}

.contEcran .swiper {
    height: calc(100% - 40px);
}

.tagFiltre {
    padding: 5px;
    margin: 0px 3px 5px 0px;
    font-weight: 500;
    background: #fffbf0;
    color: #ffc107;
    display: inline-block;
    border-radius: var(--bs-border-radius);
    font-size: smaller;
}

#bgPg404 {
    background: linear-gradient(0deg, rgb(248 195 73) 48%, rgb(161 192 164) 52%, rgb(212 216 182) 61%);
    min-height: 100%;
}

.card.cardAnnonce {
    border: 0;
    overflow: hidden;
    text-decoration: none;
}

.card.cardAnnonce .minInfo {
    font-size: 0.8em;
}

.cardAnnonce img.card-img-top {
    object-fit: cover;
    height: 156px;
}

.cardAnnonce .cont_annonce_img_non_disponible img.card-img-top {
    object-fit: inherit;
    padding: 40px;
}

.cardAnnonce .annonce-prix, .text-en-mode-prix {
    background: var(--primary-bg);
    color: white;
    position: absolute;
    display: inline-block;
    width: 141px;
    text-align: center;
    top: 22px;
    left: -40px;
    transform: rotate(-50deg);
}

.cardAnnonce .badge {
    font-size: x-small;
}

.invalid-feedback .invalid-feedback {
    font-size: .875rem; /* relatif à la racine, pas au parent */
}

.dropdown-toggle::after {
    display: none;
}

/* ============ lecteur video =========== */

#supContPlayer {
    background: #fafafa;
}

.player-wrapper {
    position: relative;
    width: 100%; /* prend toute la largeur du parent */
    padding-bottom: 56.25%; /* 16:9 ratio = 9/16 = 0.5625 */
    height: 0;
    overflow: hidden;
    margin-top: 10px;
}

#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.player-wrapper .supContIconCentre {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supContIconCentre .contIconVideo i {
    font-size: 90px;
    color: #ffffff;
    display: none;
}

#supContPlayer.en-pause .supContIconCentre {
    background: #f1f1f1;
}

#supContPlayer.en-pause .supContIconCentre .contIconVideo .iconeVideo {
    display: inline-block;
}

#supContPlayer.en-chargement.peut-afficher-chargement .iconeVideo {
    display: none !important;
}

#supContPlayer.en-chargement.peut-afficher-chargement:not(.en-fin) .spinnerVideo {
    display: inline-block;
}


/*.player-wrapper {*/
/*    position: relative;*/
/*    width: 560px;*/
/*    height: 315px;*/
/*    background: #000;*/
/*    border-radius: 16px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);*/
/*}*/

/* Barre de progression */
.progress-container {
    display: inline-block;
    width: 90%;
    height: 6px;
    background: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-container:hover {
    background: #ddd;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #8e44ad;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Contrôles */
.videoControls {
    /*position: absolute;*/
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

#supContControls {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

#supContPlayer:fullscreen #supContControls, #supContPlayer:-webkit-full-screen #supContControls {
    display: inline-block;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#supContPlayer:fullscreen #supContControls, #supContPlayer:-webkit-full-screen #supContControls #timeDisplay.text-muted span {
    color: white !important;
}

#supContPlayer:fullscreen #supContControls, #supContPlayer:-webkit-full-screen #supContControls {

}

#supContPlayer:fullscreen .player-wrapper {
    width: 100vw;
    height: 100vh;
    padding-bottom: 0; /* pour enlever le ratio 16:9 */
}

#supContPlayer:-webkit-full-screen .player-wrapper { /* Safari */
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
}

/* ========== drop video ===========*/

.upload-drop-zone {
    border: 2px dashed #8e44ad;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #8e44ad;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

.upload-drop-zone:hover {
    background: #f8f3fb;
}

.upload-drop-zone.active {
    background: #e6d7f0;
}

.upload-drop-zone i {
    font-size: 40px;
    margin-bottom: 10px;
}

.upload-drop-zone span {
    color: #8e44ad;
    font-weight: 600;
    cursor: pointer;
}

/* Bouton valider */
#uploadValidateBtn {
    margin-top: 15px;
    background: #8e44ad;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: not-allowed;
    transition: 0.3s;
    opacity: 0.6;
    font-family: "Poppins", sans-serif;
}

#uploadValidateBtn.enabled {
    cursor: pointer;
    opacity: 1;
}

#uploadValidateBtn.enabled:hover {
    background: #732d91;
}

/* Barre de progression intégrée */
.upload-progress-container {
    width: 100%;
    height: 16px;
    background: #eee;
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.upload-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8e44ad, #b07bd7);
    border-radius: 10px;
    transition: width 0.3s ease;
}

#uploadProgressText {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.signup-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.signup-text a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.signup-text a:hover {
    text-decoration: underline;
}

.roundImgAnnonce {
    border-radius: 15px;
    height: 50px;
    width: 50px;
    overflow: hidden;
}


.roundImgAnnonce img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.roundImgAnnonce img.noImage {
    background: #f2bf3a;
    padding: 10px;
}

#realContListConv {
    flex-grow: 1;
    height: 2px;
    overflow: scroll;
}

#leMainDuChat {
    background: #ffffff;
    margin-top: 1px;
}

.chat-container {
    height: 100%;
    padding-top: 5px;
    padding-bottom: 26px;
}

.chat-box {
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    /*box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);*/
    min-height: 0;
    overflow: hidden;
    height: 100%;
}

/* Liste des conversations */
.conversations-list {
    overflow-y: auto;
}

.conversation-item {
    padding: 1rem;
    border: 0;
    /*border-bottom: 1px solid #f0f0f0;*/
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: black;
    background: none;
    width: 100%;
}

.conversation-item:hover {
    background: #f9fafb;
}

.conversation-item.active {
    border-left: 3px solid var(--primary-bg);
}

.imgRondChat {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

/* Chat central */
.messages-container {
    overflow-y: auto;
    display: flex;
    padding: 1rem;
    height: 1px;
    flex-grow: 1;
}

.messages-container:not(.messages-container-contacter) {
    flex-direction: column-reverse;
}

.messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message {
    padding: 0.6rem 1rem;
    border-radius: 20px;
    max-width: 80%;
    word-wrap: break-word;
}

.sent {
    background-color: #0d6efd;
    color: white;
    align-self: flex-end;
}

.received {
    background-color: #e9ecef;
    align-self: flex-start;
}

.message .heure {
    font-size: smaller;
}

.message.received .heure {
    color: darkgray;
}

.message.sent .heure {
    color: #ffffffa8;
    text-align: right;
}

.chat-input {
    display: flex;
    border-top: 1px solid #f0f0f0;
    padding: 0.75rem;
    background: #fff;
    gap: 0.5rem;
    align-items: end;
}

.chat-input textarea {
    flex: 1;
    border: none;
    resize: none;
    padding: 0.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    outline: none;
    max-height: 120px;
    overflow-y: auto;
}

/* Détails annonce */
.annonce-details {
    overflow-y: auto;
    padding: 1rem;
}

.annonce-image {
    border-radius: 15px;
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #198754;
}

.annonce-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Scrollbars */
.chat-container ::-webkit-scrollbar {
    width: 8px;
}

.chat-container ::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* ======= fin chat ===========*/

div#ficheAnnonce_cotGalerie {
    height: calc(46vh);
    position: relative;
}

div#ficheAnnonce_cotGalerie.noImage {
    height: calc(16vh);
    position: relative;
}

.ficheAnnonce_vue {
    height: 100%;
}

.ficheAnnonce_contAll {
    position: relative;
    height: 100%;
    transition: 0.5s all;
    animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

/* ==== media queries ==== */
/* -------- Min-width */
/*// X-Small devices (portrait phones, less than 576px)*/
/*// No media query for `xs` since this is the default in Bootstrap*/

.colAnnonce .card-title {
    font-size: 16px;
}

@media (min-width: 375px) {
    .contApercuImage {
        height: 90px;
    }

    .lblContImage {
        width: 90px;
    }

    #contImgConfirmation img {
        width: 300px;
    }

    .confetti {
        width: 6px;
        height: 8px;
    }
}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .contApercuImage {
        height: 120px;
    }

    .lblContImage {
        width: 120px;
    }

    .confetti {
        width: 6px;
        height: 10px;
    }

}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    header {
        padding: 0 25px;
    }

    #partMilieu {
        overflow-y: initial;
    }

    .contApercuImage {
        height: 134px;
    }

    .lblContImage {
        width: 135px;
    }

    #supContPartMoveContImg {
        padding: 20px;
    }

    #contLogoBiyachara {
        padding-right: 10px;
        height: 100px;
    }

    #contLogoBiyachara > .site-name {
        margin-top: 17px;
        margin-left: 10px;
        font-size: 1.2em;
    }

    #contImgConfirmation img {
        width: 400px;
    }

    div#ficheAnnonce_cotGalerie, div#ficheAnnonce_cotGalerie.noImage {
        height: calc(100vh - 150px);
    }

    #supContPartMoveContImg {
        position: sticky;
        top: 10px;
    }

    #contConfettiContainer {
        top: -37px;
        padding: 45px 12px 0 12px;
    }

    .contBadgePagePublic {
        width: 16.6%;
    }

    #chartStatutAnnonce, #chartStatutTheme {
        height: 400px;
    }

    .cont_annonce_img_non_disponible img {
        height: 100%;
    }

    #leMainDuChat {
        background: unset;
        margin-top: unset;
    }

    .border-md-end {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    #menuTop > a {
        padding: 30px 25px;
    }

    #contLogoBiyachara > .site-name {
        margin-top: 15px;
        margin-left: 10px;
        font-size: 1.5em;
    }

    .contBadgePagePublic {
        width: 12.5%;
    }

    .notif {
        padding: 20px;
        margin-bottom: 20px;
        font-size: unset;
    }

    .contMessagNotif {
        padding: 0 20px;
    }

    .contIcoNotif {
        padding: 20px;
        font-size: 27px;
        border-radius: 20px;
    }

    .chat-container {
        padding-bottom: 8px;
    }
}

/*// X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

    #menuTop > a {
        padding: 30px 30px;
    }

    #contLogoBiyachara > .site-name {
        margin-top: 9px;
        margin-left: 10px;
        font-size: 2em;
    }

    .leMainBgFavoris {
        background: linear-gradient(0deg, rgba(255, 212, 96, 1) 40%, rgba(87, 199, 133, 1) 57%, rgba(101, 207, 202, 1) 100%);
    }

    #contImgConfirmation {
        padding-top: 70px;
    }

    #contConfettiContainer {
        top: -44px;
        padding: 70px 12px 0 12px;
    }

    #contImgConfirmation img {
        width: 400px;
    }
}

/*// XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
}


/* -------- Max-width */

@media (min-width: 321px) and (max-width: 575.98px) {
    .colAnnonce {
        width: 50%;
    }
}

/*// X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .p-small-5px {
        padding: 5px !important;
    }
}

/*// Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
}

/*// Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .no-shadow-mobile {
        box-shadow: none !important;
    }

    .no-shadow-mobile {
        border-radius: 0 !important;
    }
}

/*// Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
}

/*// X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {
}

/*// XX-Large devices (larger desktops)*/
/*// No media query since the xxl breakpoint has no upper bound on its width*/