.custom-bg {
    background-size: cover; /* Ajuste la taille de l'image pour remplir tout le body */
    background-attachment: fixed; /* Fixe l'image pour qu'elle reste en arrière-plan en défilement */
    background-repeat: no-repeat; /* Empêche la répétition de l'image de fond */
    background-position: center center; /* Centre l'image dans le body */
}
.custom-bg .content-wrapper {
    background-color: rgba(255, 255, 255, 0.3);
}

.custom-bg .main-footer {
    color: #5c646b;
    background-color: rgba(255, 255, 255, 0.6);
}

.bg-alien-planet {
    background-image: url("../img/bg/alien_planet.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-cross-road-by-nigth {
    background-image: url("../img/bg/cross_road_by_nigth.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-cyber-city {
    background-image: url("../img/bg/cyber_city.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-dark-pines {
    background-image: url("../img/bg/forest_pines_dark.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
    background-size: cover;
}
.bg-futurist-city {
    background-image: url("../img/bg/futurist_city.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-mountain-snow {
    background-image: url("../img/bg/mountain_snow.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-parc-by-nigth {
    background-image: url("../img/bg/parc_by_night.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-road-to-city-by-sunnyday {
    background-image: url("../img/bg/road_to_city_by_sunnyday.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-road-winter {
    background-image: url("../img/bg/road_winter.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-san-fransico {
    background-image: url("../img/bg/san_fransico.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-swamp-by-night {
    background-image: url("../img/bg/swamp_by_night.jpg"); /* Remplacez 'votre-image.jpg' par le chemin de votre image */
}
.bg-cats-them1 {
    background-image: url("../img/bg/cats/them1.jpg");
}
.bg-cats-them2 {
    background-image: url("../img/bg/cats/them2.png");
}
.bg-cats-them3 {
    background-image: url("../img/bg/cats/them3.jpg");
}
.modalBtnConfirmRed {
    background-color: #dc3741 !important;
}
.modalContainer {
    padding: 20px !important;
}
/*Selecteur d'avatar*/
#containerPreviewAvatar {
    position: relative;
}

#picturePreviewAvatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 80vw;
    max-height: 80vh;
}

#overlayPreviewAvatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

#selectSquarePreviewAvatar {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 50%;
    height: 50%;
    cursor: move;
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 1);
    mix-blend-mode: overlay;
}
.flag {
    max-width: 30px;
}

.dark-mode .swal2-toast.swal2-icon-success {
    background-color: rgb(55, 90, 74) !important;
}

/* adaptation logo du dashboard */
.logoDashboard {
    height: 100%;
    object-fit: cover;
    margin: auto;
    display: flex;
}

[class*="sidebar-dark"] .brand-link,
[class*="sidebar-dark"] .brand-link .pushmenu,
[class*="sidebar-light"] .brand-link,
[class*="sidebar-light"] .brand-link .pushmenu {
    height: 57px !important;
    overflow: hidden;
}
.dark-mode .breadcrumb-item.active {
    color: #fff;
}
