body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-image: url('/assets/icons/background/background_1.png');
    overscroll-behavior-y: contain; /* Empêche le pull-to-refresh */
}

.container {
    width: 100%;
    height: 100%;
    padding: 7px;
    background-image: url('/assets/icons/background/background_1.png');
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap; /* Permet le passage à la ligne suivante */
    gap: 20px; /* Espace entre les structures */
    overflow-y: auto; /* Permet le défilement vertical */
}

.structure {
    width: 100%; /* Largeur fixe */
    height: 100%;
    padding: 2px;
    
    border: 3px dashed green;
    
    border-radius:5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background:none;
}

.header {
    width: 100%;
    height: 60px;
    background-color: cyan;
    border-bottom: 1px solid #ccc;
    padding: 10px 20px; /* Espacement interne */
    box-sizing: border-box;
    display: flex;
    align-items: center; /* Centrer verticalement */
    justify-content: space-between; /* Espacement entre les éléments */
}

/* Conteneur pour le logo et le nom de l'application */
.app-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    gap: 3px; /* Espace entre les éléments */
}

/* Logo de l'application */
.app-logo {
    width: 35px; /* Taille du logo */
    height: 35px;
    border-radius: 50%; /* Forme ronde */
    object-fit: cover; /* Ajuster l'image */
}

/* Nom de l'application */
.app-name {
    font-size: 16px;
    font-weight: bold;
    color: #F442A3; /* Couleur du texte */
}

/* Icône de retour */
.app-info i {
    font-size: 20px;
    color: #F442A3; /* Couleur de l'icône */
    cursor: pointer; /* Curseur pointer */
    
}

/* Conteneur pour le profil utilisateur */
.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    gap: 3px; /* Espace entre les éléments */
    cursor: pointer; /* Curseur pointer */
}

/* Image de profil */
.profile-image {
    width: 40px; /* Taille de l'image */
    height: 40px;
    border-radius: 50%; /* Forme ronde */
    object-fit: cover; /* Ajuster l'image */
}

/* Texte d'authentification */
.auth-text {
    font-size: 14px;
    color: #333; /* Couleur du texte */
    font-weight: 500; /* Poids de la police */
}
#conditionsBtn {
    width: 100%;
    height: 25px;
    background-color: rgba(220, 180, 40, 0.6);
    border-top: 1px solid #ccc;
    padding: 2px;
    box-sizing: border-box;
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    overflow: hidden; /* Cache tout débordement */
}

.conditionsBtn-content {
    display: inline-block; /* Permet le nowrap et le défilement */
    white-space: nowrap; /* Empêche le retour à la ligne */
    overflow-x: auto; /* Active le défilement horizontal si nécessaire */
    overflow-y: hidden; /* Désactive le défilement vertical */
    max-width: 100%; /* Limite la largeur au parent */
    padding: 0 10px; /* Espace pour éviter que le texte touche les bords */
    scrollbar-width: thin; /* Barre de défilement fine */
    scrollbar-color: #F442A3 #f8f8f8; /* Couleur de la barre de défilement */
    font-size: 13px;
}

/* Style de la barre de défilement pour Chrome/Edge/Safari */
.conditionsBtn-content::-webkit-scrollbar {
    height: 3px; /* Hauteur très fine pour économiser de l'espace */
}
.conditionsBtn-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}


.footer {
    width: 100%;
    height: 43px;
    background-color: cyan;
    border-top: 1px solid #ccc;
    padding: 2px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    gap: 3px; /* Espace entre les éléments */
}

/* Icône du footer */
.footer-icon {
    font-size: 24px; /* Taille de l'icône */
    color: #333; /* Couleur de l'icône */
    cursor: pointer; /* Curseur pointer */
    transition: color 0.3s ease; /* Animation de changement de couleur */
}
.footer-icon div {
    font-size: 9px; /* Taille de l'icône */
    color: #333; /* Couleur de l'icône */
}
.footer-icon:hover {
    color: #007bff; /* Changement de couleur au survol */
}
#footer-icon-left {
    font-size: 24px; /* Taille de l'icône */
    color: #333; /* Couleur de l'icône */
    cursor: pointer; /* Curseur pointer */
    transition: color 0.3s ease; /* Animation de changement de couleur */
    width: calc(100% - 30px);
    display:flex;
    flex-direction: row;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    gap: 3px; /* Espace entre les éléments */
    background:none;
}
#footer-icon-left i{
    font-size: 25px;
    color:#F442A3;
}
.footer-icon-left-btn{
display:flex; /* 4 icônes par ligne */
    width:25px;
    height:25px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    background-color: #fff; /* Fond blanc */
    padding: 5px;
    margin-bottom:5px;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère */
    cursor: pointer; /* Curseur pointer */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animations */
}



#footer-icon-right {
    display:flex; /* 4 icônes par ligne */
    width:25px;
    height:25px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    background-color: #F442A3; /* Fond blanc */
    padding: 5px;
    margin-bottom:5px;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère */
    cursor: pointer; /* Curseur pointer */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animations */
    z-index:9999;
}
#footer-icon-right i{
    font-size: 25px;
    color:#fff;
}
#footer-icon-right div {
    font-size: 9px; /* Taille de l'icône */
    color: #fff; /* Couleur de l'icône */
}
.header h1 {
    margin: 0;
    font-size: 18px;
}

.header p {
    margin: 5px 0;
    font-size: 14px;
}

.content {
    display: flex;
    width: 100%;
    background:none;
    
    height: calc(100% - 60px - 20px - 43px); /* Prend 100% de la largeur - hauteur de(header et condition d'utilisation et footer) */
}

/* Styles pour la section left */

.left {
    width: calc(100% - 43px); /* Prend 100% de la largeur moins 50px */
    background-image: url('/assets/icons/background/background_1.png');
    overflow: none; /* Permet le défilement vertical */
    padding: 0px; /* Espacement interne */
    box-sizing: border-box;
   
}
.hidden {
    display: none;
}

/* Barre de recherche */
.search-bar {
    position: relative;
    width: calc(100% -5px);
    height: 40px;
    border: 1.3mm ridge rgba(211, 220, 50, .6);
    border-radius: 5px;
    margin-bottom: 5px;
    background: rgba(220, 180, 40, 0.6);
    display: flex;
    align-items: center;
}
.search-bar .ramda-service-delegue {
    position: absolute;
    right: 0;
    width: 120px;
    height: 40px;
    background:rgba(211, 220, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size:10px;
    flex-direction: column;
}
.search-bar .ramda-reseau {
    position: absolute;
    right: 125px;
    width: 80px;
    height: 40px;
    background:rgba(211, 220, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size:10px;
    flex-direction: column;
}
.search-bar img {
    width: 25px;
    height: 25px;
}
.search-input {
    width: 100%;
    height: 40px;
    background: white;
    padding: 0 40px; /* Espace pour les icônes gauche et droite */
    font-size: 16px;
    border: 1.3mm ridge rgba(211, 220, 50, .6);
    border-radius: 5px;
    box-sizing: border-box;
    z-index:1;
    
}

.back-icon {
    position: absolute;
    left: 2px;
    width: 35px;
    height: 33px;
    background: rgba(211, 220, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 9999;
}

.filter-icon {
    position: absolute;
    right: 0;
    width: 35px;
    height: 33px;
    background: rgba(211, 220, 50, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index:2;
    
}

.back-icon i,
.filter-icon i {
    color: white;
    font-size: 22px;
}

/* Effets au survol */
.back-icon:hover {
    background: rgba(211, 220, 50, .8);
}

.filter-icon:hover {
    background: rgba(211, 220, 50, .8);
}





/* Section des icônes */
.docs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    padding: 0px;
    height: calc(100% - 40px - 25px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #F442A3 #f8f8f8;
    position: relative;
}

/* Conteneur des boutons flottants */
.floating-actions-main {
    position: absolute;
    height:auto;
    bottom: 80px; /* Marge depuis le bas */
    left: 50%;
    transform: translateX(-50%); /* Centre horizontalement seulement */
    display: flex;
    gap: 20px;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.7); /* Fond légèrement visible */
    padding: 3px 10px;
    border-radius: 10px; /* Forme ovale */
    backdrop-filter: blur(5px); /* Effet de flou sur le fond */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Ombre subtile */
}

/* Style commun des boutons (comme votre style original) */
.edit-design,
.export {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px dashed #F442A3;
    border-radius: 10px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-design:hover,
.export:hover {
    background-color: rgba(244, 66, 163, 0.1);
    border-color: #d41b7a;
}

.edit-design i,
.export i {
    font-size: 24px;
    margin-bottom: 5px;
}

.edit-design div,
.export div {
    font-weight: 600;
    color: #333;
}

/* Couleurs spécifiques */
.edit-design i {
    color: #F442A3;
}

.export i {
    color: #4CAF50;
}

.export {
    border-color: #4CAF50;
}

.export:hover {
    border-color: #3d8b40;
    background-color: rgba(76, 175, 80, 0.1);
}

.doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 122px; /* Largeur fixe */
    height: 183px; /* Hauteur fixe */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    cursor: pointer;
    border: 2mm ridge cyan;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Empêche les icônes de rétrécir */
}

.doc:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.doc i {
    font-size: 32px; /* Taille des icônes */
    color: #F442A3; /* Couleur des icônes */
    margin-bottom: 10px;
}
.doc img {
    width:100px;
    height:100px;

}

.doc .name-doc {
    font-size: 14px;
    font-weight: bold;
    color: #F442A3;
    padding:5px;
    text-align: center;
    white-space: nowrap;         /* Empêche le retour à la ligne */
    overflow: hidden;            /* Cache ce qui dépasse */
    text-overflow: ellipsis;     /* Ajoute ... si le texte est coupé */
    max-width: 100%;             /* Optionnel selon le contexte */
}
.prix{
color: #28a745; /* Vert */
font-weight:bold;
font-size:14px;
}

.doc .offres-gratuits {
    font-size: 12px;
    color: #333; /* Couleur du texte */
    /*color: #F442A3;*/
    text-align: center;
}


/* Classe pour masquer des éléments */
.hidden {
    display: none;
}

.right {
    display: flex;
    flex-direction: column;
    width: 43px; /* Largeur fixe */
    background-color: none; /* Couleur de fond */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Permet le défilement vertical */
    padding: 2px; /* Espacement interne */
    box-sizing: border-box;
    align-items: center;
    
}

/* Icônes de raccourci */
.shortcut-icon div {
    font-size: 9px;
    color: #333; /* Couleur du texte */
    text-align: center;
}
.shortcut-icon i {
    font-size: 22px;
    color: #FFD700;
}

.shortcut-icon {
    display:flex; /* 4 icônes par ligne */
    width:30px;
    height:30px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    background-color: #fff; /* Fond blanc */
    padding: 5px;
    margin-bottom:5px;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère */
    cursor: pointer; /* Curseur pointer */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animations */
}

.shortcut-icon:hover {
    color: #007bff; /* Changement de couleur au survol */
    transform: scale(1.1); /* Légère mise à l'échelle au survol */
}
.active i {
    color: #F442A3; /* Changement de couleur au survol */
    transform: scale(1.1); /* Légère mise à l'échelle au survol */
}







/* Style de base pour les résultats */
#searchResultsContainer {
    position: absolute;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.search-item, .indirect-result {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-item:hover, .indirect-result:hover {
    background-color: #f5f5f5;
}

.search-type, .result-source {
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
}






.clickable-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: rgba(220, 180, 40, 0.6);
}

.clickable-suggestion:hover {
    background-color: cyan;
}

.suggestion-left {
    margin-right: 12px;
}

.suggestion-icon {
    font-size: 20px;
    color: #007bff;
}

.suggestion-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.suggestion-text {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.suggestion-type {
    font-size: 13px;
    color: #888;
}

.suggestion-right {
    margin-left: 12px;
}

.arrow-icon {
    font-size: 16px;
    color: #888;
}



/* Style pour les boutons désactivés */
.element-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Bouton de cache */
.cache-button {
    margin-top: 10px;
    padding: 8px 12px;
    width:60px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cache-button:hover {
    background-color: #45a049;
}

.cache-button i {
    margin-right: 5px;
}



/************pour plus d'options************************/
.main-container-moreOptions {
    width: 100%; /* Largeur fixe */
    height: 100%;
    padding: 0px;
    position:relative;
    overflow: hidden;
    border: 3px dashed green;
    border-radius:5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background:none;
}

.tab-buttons-moreOptions {
    width: 100%;
    height: calc(100% - 30px);
    background-color: rgba(220, 180, 40, 0.6);
    border-bottom: 1px solid #ccc;
    padding: 10px 20px; /* Espacement interne */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer verticalement */
    justify-content: space-between; /* Espacement entre les éléments */
    overflow-y: auto;
}
.content-wrapper-moreOptions {
    display: flex;
    width: 100%;
    background-color:none;
    padding:0px;
    overflow:hidden;
    
    
}
.content-tabs-moreOptions{
    display: flex;
    padding:0px;
    overflow:hidden;
    height: 100%; 
}

.tab-buttons-title-moreOptions {
    display: flex;
    width: 100%;
    height: 30px;
    align-items: center;
    padding: 5px;
    top:0px;
    text-align:center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: default;
    background-color: rgba(220, 180, 40, 0.6);
    padding: 0 10px;
    gap: 10px;
    position: relative;
    cursor:default;
}

.tab-buttons-buttons-container-moreOptions {
    display: flex;
    flex-wrap: wrap; /* Permet le passage à la ligne */
    justify-content: center; /* Centre les éléments */
    gap: 10px; /* Espacement entre les boutons */
    width: 100%;
    padding: 0 10px; /* Padding latéral */
    box-sizing: border-box;
}

.tab-buttons-btn-moreOptions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: white;
    border: 2px dashed #F442A3;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 0 5px; /* Espacement entre les boutons */
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-buttons-btn-moreOptions div {
    font-size: 11px;
    color: #333; /* Couleur du texte */
    text-align: center;
}

.tab-buttons-btn-moreOptions:hover {
    transform: scale(1.1);
    background: rgba(220, 180, 40, 0.6);
}

.tab-buttons-btn-moreOptions i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #F442A3;
}



/* Ajouts CSS pour l'amélioration */
.tab-content-moreOptions.hidden {
    display: none;
}

.tab-content-moreOptions {
    position: absolute;
    /*width: 100%;*/ /* 100% moins les marges */
    top: 3px;
    bottom: 3px;
    top: 0px; /* Ajustez selon la hauteur de vos tab-buttons */
    left: 3px; /* Marge gauche */
    right: 3px; /* Marge droite */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.tab-content-moreOptions.active {
    opacity: 1;
    padding: 0px;
    overflow-y: auto;
}

