:root {
    /* Couleurs primaires */
    --color-primary: #5194e6;
    /*--color-primary: #ef3355;*/
    
    /* Couleurs secondaires */
    --color-secondary: #FC6325;
    --color-secondary-hover: #FC6325;

    --color-vert: #45c4a0;
    --color-vert-hover: #45c4a0;

    --color-jaune: #fab758;
    --color-jaune-hover: #fab758;
    
    --color-rouge: #f65a3b;
    --color-rouge-hover: #e2626b;

    --color-bleu: #5194e6;
    --color-bleu-hover: #318FFF;
    

    
    /* Couleurs de fond et bordure */
    --color-background: #fff;
    --color-border: #c4c6cc;
    --color-border-light: #eaebf4;
    
    /* Couleurs de texte */
    --color-text: #23232a;
    --color-text-light: #8995a3;
    --color-placeholder: #bbb;
    
    /* Couleurs pour les alertes */
    --color-success: #155724;
    --color-success-bg: #d4edda;
    --color-error: #721c24;
    --color-error-bg: #f8d7da;
    --color-warning: #721c24;
    --color-warning-bg: #f8d7da;
    
    /* Couleur pour les éléments de statut */
    --color-toggle-active: #6fd56b;
    --color-toggle-inactive: #ccc;
    
    /* Autres couleurs génériques */
    --color-light: #f9f9f9;
    --color-dark-alt: #020034;
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


body{
    font-family: "filson-pro", sans-serif;
}

.espace_compte .content {
    font-family: "filson-pro", sans-serif;
}

[type=button], [type=submit], button {
    border: none !important;
    color: #fff !important;
    border-radius: 10px !important;
}
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 260px;
    background-color: #fff;
    color: white;
    padding: 20px;
    position: fixed;
    height: 100vh;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

.logo-dash {
    padding-left: 15px;
    margin-bottom: 25px;
}
.logo-dash img {
    height: 30px;
}
.content {
    margin-left: 260px;
    padding: 15px 60px;
    flex: 1;
    background-color: #f3f7fa !important;
}
.elementor-location-footer{
    display: none !important
}
.header{
    display: none !important
}
.sidebar h2 {
    margin-bottom: 60px;
}
.sidebar a {
    color: white;
    text-decoration: none;
    display: flex;
    margin-bottom: 5px;
    color: #23232A;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    align-items: center;
    gap: 10px;
}

.sidebar a {
    color: #23232A;
    font-size: 15px;
    font-weight: 500;
}


.sidebar a:hover{
    background: var(--color-bleu);
    color: #fff;
}

.sidebar a.active{
    color: #fff;
    background: var(--color-bleu);
}
.separateur{
    margin: 20px 5px;
    border-bottom: 1px solid #f6f7fd;
}
.menu-bottom{
    position: absolute;
    bottom: 40px;
}


.btn_primaire, .btn_primaire:hover, button.btn_primaire, button.btn_primaire:hover, button.btn_primaire:focus {
    border-radius: 5px !important;
    border: none;
    color: #fff;
    font-weight: 500 !important;
    background: var(--color-primary) !important;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    padding: 0px 20px;
    font-size: 15px;
}

.choix_template {
    border-radius: 5px !important;
    border: none;
    color: #fff;
    font-weight: 500 !important;
    background: var(--color-primary) !important;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    padding: 0px 20px;
    font-size: 15px;
    margin-top: 20px;
    cursor: pointer;
    opacity: 0.5;
}

.choix_template.active, .choix_template:hover {
    border-radius: 5px !important;
    border: none;
    color: #fff;
    font-weight: 500 !important;
    background: var(--color-primary) !important;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    padding: 0px 20px;
    font-size: 15px;
    margin-top: 20px;
    cursor: pointer;
    opacity: 1;
}


.template-item{
    text-align: center;
}

/* 🔥 Alertes JS */

#qrbnb-alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qrbnb-alert {
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
}

.qrbnb-alert.show {
    opacity: 1;
    transform: translateX(0);
}

.qrbnb-alert.info {
    background-color: #2196F3;
}

.qrbnb-alert.success {
    background-color: #4CAF50;
}

.qrbnb-alert.error {
    background-color: #F44336;
}

.qrbnb-alert.warning {
    background-color: #FF9800;
}

#qrbnb-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

#qrbnb-confirm-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.qrbnb-confirm-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
}

.qrbnb-confirm-message {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.qrbnb-confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.qrbnb-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.qrbnb-btn.confirm {
    background-color: #4CAF50;
    color: white;
}

.qrbnb-btn.confirm:hover {
    background-color: #45a049;
}

.qrbnb-btn.cancel {
    background-color: #f44336;
    color: white;
}

.qrbnb-btn.cancel:hover {
    background-color: #d32f2f;
}



/* PROFIL  */
.qrbnb-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 7px;
    padding: 10px;
}

.qrbnb-tabs .tab-button {
    padding: 10px 20px;
    border-radius: 5px !important;
    cursor: pointer;
    transition: 0.2s;
    color: #23232A !important;
}

.qrbnb-tabs .tab-button.active, .tab-button:focus{
    background: var(--sky500);
    color: #fff !important;
}
.qrbnb-tabs .tab-button:hover {
    background: var(--sky500);
    color: #fff !important;
}

.qrbnb-tabs-content .tab-content {
    display: none;
}

.qrbnb-tabs-content .tab-content.active {
    display: block;
}


/* BOX */
.box {
    padding: 30px 40px;
    background: #fff;
    border-radius: 7px;
}


/* INPUT */
.form-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
#update-profile-form .form-group {
    width: calc(50% - 20px);
}
#update-email-form .form-group {
    margin-bottom: 20px;
}
#update-password-form .form-group {
    margin-bottom: 20px;
}

.btn_right{
    text-align: right;
    margin-top: 20px;
}
.form-group{
    position: relative;
}
.form-group input {
    background: #f3f7fa;
    height: 60px;
    padding-left: 20px !important;
    border: 1px solid #dfe2e9 !important;
    border-radius: 7px !important;
}
.form-group textarea{
    background: #f3f7fa;
    padding-left: 20px !important;
    border: 1px solid #dfe2e9 !important;
    border-radius: 7px !important;
}
.colonnes_2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.colonnes_2 .col__50 {
    width: calc(50% - 20px);
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #23232A;
    font-size: 15px;
}
.espace_compte h4 {
    font-size: 24px !important;
    font-weight: 600;
}

.qrbnb-tabs-content{
    margin-top: 40px;
}



button.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

button.loading::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.plus-rotate {
    transform: rotate(45deg);
    display: inline-block;
}



/* === Liste des suggestions === */
.suggestions-list.active {
    border: 1px solid #e0e2ea;
    list-style: none;
    padding: 0;
    margin-top: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    z-index: 1000;
    width: 100%;
    border-top: 0px;
}

/* Style des éléments de la liste des suggestions */
.suggestions-list li {
    padding: 15px 20px;
    cursor: pointer;
}

/* Hover pour les suggestions */
.suggestions-list li:hover {
    background: #f3f7fa;
}


/* Emojis  */
/* Overlay optionnel */
body.popup-open {
    overflow: hidden;
}

.emoji-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 9999;
}

.emoji-popup-content {
    padding: 20px;
    max-width: 400px;
    max-height: 400px;
    overflow-y: auto;
}

.emoji-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emoji-popup-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.emoji-item {
    font-size: 24px;
    cursor: pointer;
}

.emoji-item:hover {
    transform: scale(1.2);
}



button.btn_secondaire, button.btn_secondaire:focus {
    color: var(--sky500) !important;
    border: 1px solid var(--sky500) !important;
    border-radius: 5px !important;
    background: transparent !important;
}

button.btn_secondaire:hover {
    background: var(--sky500) !important;
    border: 1px solid var(--sky500) !important;
    color: #fff !important;
}


button.remove-item, .popup-header button.popup-close,
button.remove-item:focus, .popup-header button.popup-close:focus{
    background: transparent !important;
    border:none !important;
    transition: 0.3s all;
    color: #FC4647 !important;

}

button.remove-item:hover, .popup-header button.popup-close:hover{
    transform: scale(1.2);
    color: #c92526 !important;
}

.qrbnb-image-livret-container .image-preview{
    background: url(/wp-content/plugins/qrbnb/assets/images/defaut.png) !important;
    background-size: cover !important;
}



/* 🔥 Forcer le dropdown Google à s'afficher au bon endroit */
.pac-container {
    z-index: 999999 !important; /* Toujours au-dessus */
}

[disabled].btn_secondaire, [disabled].btn_secondaire:hover {
    background: #eee !important;
    border: 1px solid #eee !important;
    color: #ccc !important;
}


#qrbnb-global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-overlay {
    text-align: center;
}

.loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #00a3e0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.loader-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

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




.qrbnb-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.qrbnb-lightbox.active {
    opacity: 1;
}

.qrbnb-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.qrbnb-lightbox-content img,
.qrbnb-lightbox-content video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    max-height: 450px;
}

.qrbnb-lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


.media-item {
    position: relative;
    cursor: pointer;
}

.media-item .media-hover-eye {
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(82 148 230 / 40%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.media-item:hover .media-hover-eye {
    opacity: 1;
}

.media-item img,
.media-item video {
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.02);
}



.badge span {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: 600;
    gap: 5px;
    padding-left: 5px;
    padding-right: 5px;
}
.badge_orange span {
    background: var(--rose100);
    color: var(--rose500);
}

.badge_vert span {
    background: var(--leaf100);
    color: var(--leaf500);
}

.col_actions a:hover {
    color: var(--sky500);
}





.templates-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.template {
    background: #eee;
    padding: 20px;
    text-align: center;
}

/* Quand l’écran est plus petit, passer directement à 2 colonnes */
@media (max-width: 900px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Optionnel : en dessous de 500px, une seule colonne */
@media (max-width: 500px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
}






.template {
    background: #000;
    padding: 10px;
    text-align: center;
    border-radius: 30px;
}
.template_header.previ_top {
    border-radius: 20px 20px 0px 0px;
}

.template_header.template_top {
    height: 24px;
    padding-top: 0px;
    font-size: 12px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.template_header {
    display: flex;
    justify-content: space-between;
    height: 35px;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    position: relative;
    width: 100%;
}

.template_header.template_top::before {
    background: #000;
    content: '';
    height: 20px;
    width: 100px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 0px 0px 15px 15px;
}
.template_header .template_lang {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 50px;
}
.template_header .template_lang img{
    width: 20px;
}
.template_header .template_info{
    width: 50px;
}

.template_menu_item img {
    height: 40px;
}
.template_mobile{
    border-radius: 20px;
    background: #fff;
    min-height: 440px;
}

.template_menu {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.template_menu_item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 20px);
}


.template_header.template_top{
    font-size: 12px;
}


.template_1 .template_menu_item .img {
    height: 70px;
    width: 70px;
    object-fit: contain;
    padding: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.template_1 .template_menu_item span{
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    margin-top: 10px;
    color: #fff;
    font-weight: 600;
}

.template_1 .template_mobile{
    background: #A94324;
}
.template_1 .template_header{
    background: transparent;
}

.template_1 .template_header_bottom{
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.template_1 .template_header_bottom p {
    margin-bottom: 0px;
    color: #fff;
}
.template_1 .template_header_bottom p {
    margin-bottom: 0px;
    color: #fff;
}

.template_logo{
    display: flex;
}
.template_logo img{
    height: 17px;
}
.template_1 .template_header .template_lang{
    color: #fff;
}
.template_header.template_top *{
    font-size: 12px;
}
.template_1 .template_header.template_top {
    color: #fff;
}



.template_2 .template_header_bottom{
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    position: relative;
    z-index: 0;
}
.template_2 .template_header_bottom:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100;
    background: rgba(0,0,0,0.4);
}
.template_2 .template_menu{
    background: #f3f7fa;
}

.template_2 .template_menu .template_menu_item{
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 20px 3px rgba(0, 0, 0, 0.03), 0 5px 5px -5px rgba(0, 0, 0, .05);
    margin-bottom: 15px;
    background: #fff;
}
.template_2 .template_menu .template_menu_item:nth-child(1),
.template_2 .template_menu .template_menu_item:nth-child(2){
    margin-top: -20px;
}
.template_2 .template_menu_item span {
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    font-weight: 600;
}
.template_2 .template_menu{
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

}

.template_2 .template_header_message{
    padding: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
    font-weight: 500;
}






.template_3 .template_header_bottom{
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    position: relative;
    z-index: 0;
    background: #f3f7fa;
}

.template_3 .template_menu{
    background: #f3f7fa;
}

.template_3 .template_menu .template_menu_item {
    border-radius: 7px;
    cursor: pointer;
    box-shadow: 0 10px 20px 3px rgba(0, 0, 0, 0.03), 0 5px 5px -5px rgba(0, 0, 0, .05);
    margin-bottom: 15px;
    background: #fff;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 85%;
    padding: 10px 20px;
}
.template_3 .template_menu .template_menu_item .img {
    display: flex
}
.template_3 .template_menu .template_menu_item img {
    height: 35px;
}
.template_3 .template_menu_item span {
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    font-weight: 600;
}
.template_3 .template_menu{
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

}
.template_3 .template_header_message{
    padding: 20px;
    position: relative;
    z-index: 1;
}

.template_3 .template_header_message p{
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 0px;
}





.template_4 .template_menu_item .img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}
.template_4 .template_menu_item{
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
}
.template_4 .template_menu_item img{
    filter: brightness(0) invert(1);
}
.template_4 .template_menu_item span{
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.template_4 .template_mobile{
    background: #96AF9C;
}
.template_4 .template_header{
    background: transparent;
}

.template_4 .template_header_bottom{
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.template_4 .template_header_bottom p {
    margin-bottom: 0px;
    color: #fff;
}
.template_4 .template_header_bottom p {
    margin-bottom: 0px;
    color: #fff;
}

.template_4 .template_header .template_lang{
    color: #fff;
}

.template_4 .template_header.template_top {
    color: #fff;
}

.pro_required_wrap:hover .pro_required_tooltip {
    visibility: visible;
    opacity: 1;
}

.decouverte{
    position: relative;
}
.decouverte::before {
    content: '🔒 Version pro uniquement';
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #fff;
    text-shadow: 1px 1px 1px #000000;
    z-index: 9;
}

.module-card.decouverte::before{
    font-size: 17px;
}