/* Conteneur du formulaire */
.account-container {
    max-width: 800px;
    margin: 0 auto; /* Centre horizontalement */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement le contenu */
}


.mail_mess{
    display: flex;
    align-items: center;
    justify-content: space-between; /* Répartit uniformément les éléments dans le champ */
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%; /* Assure que le champ prend toute la largeur */
    max-width: 600px; /* Limite la largeur pour plus d'esthétique */
	color:#b92929;
	font-size:14px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

.mail_messa{
    display: flex;
    align-items: center;
    justify-content: center; /* Centre horizontalement */
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%; /* Assure que le champ prend toute la largeur */
    max-width: 600px; /* Limite la largeur pour plus d'esthétique */
	color:#b92929;  
	font-size:14px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

.mail_link{

	text-decoration:none; 
	font-size:14px;
	text-align: center;

}

/*  upload fichier*/

.identity_mess{
    display: flex;
    align-items: center;
    justify-content: center; /* Centre horizontalement */
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%; /* Assure que le champ prend toute la largeur */
    max-width: 600px; /* Limite la largeur pour plus d'esthétique */  
	font-size:14px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

/* Message en rouge pour les actions nécessaires */
.identity_mess a p {
    color: #b92929; /* Rouge */
}

/* Message en vert pour les documents en cours de vérification */
.pending-message {
    color: #28a745; /* Vert
    font-weight: bold; */
margin-bottom: 0px!important;
}

.identity_link{

	text-decoration:none; 
	font-size:14px;
	text-align: center;

}

/* arrondi bouton*/

/* Style de base pour tous les boutons */
#update_value,
#email_submit_verification_code,
#identity_verification_code,
#kbis_verification_code,
#assurance_verification_code {

    border-radius: 4px; /* Bords arrondis (valeur élevée pour un effet "pilule") */

}


/* Réduire la taille du dernier bouton */
#identity_verification_code,
#kbis_verification_code,
#assurance_verification_code {
    padding: 8px 16px; /* Taille interne réduite */
    font-size: 12px; /* Taille du texte réduite */
}

/* Conteneur pour le champ de fichier personnalisé */
.file_input_container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre le bouton et le texte */
    margin-top: 10px;
}

/* Bouton personnalisé */
.custom_file_button {
    background-color: #000000;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.custom_file_button:hover {
    background-color: #55555e;
}

/* Texte affichant le nom du fichier */
#file_name_display,
#kbis_file_name_display,
#assurance_file_name_display {
    font-size: 14px;
    color: #555;
    word-break: break-word; /* Pour éviter le débordement */
}

/* Styles pour les messages KBIS et Assurance */
#identity_not_verified_message,
#kbis_not_verified_message,
#assurance_not_verified_message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 600px;
    color: #b92929;
    font-size: 14px;
    /* padding: 10px;
    border: 1px solid #ddd;*/
    margin-bottom: 0px!important;
    transition: background-color 0.2s;
}



/* fin upload fichier*/

/* Style de base pour les champs */
.field {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Répartit uniformément les éléments dans le champ */
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%; /* Assure que le champ prend toute la largeur */
    max-width: 500px; /* Limite la largeur pour plus d'esthétique */
}

.field {
	cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    transition: background-color 0.2s;
}

.field:hover {
    background-color: #f0f0f0;
}

/* Style pour les labels */
.field label, .field-title{
    font-weight: bold;
    width: 150px;
    margin-right: 10px;
    flex-shrink: 0; /* Empêche le label de rétrécir */
    text-align: left; /* Aligne le texte du label à gauche */
}

/* Style pour les spans (valeurs) */
.field span {
    flex-grow: 1; /* Permet au span de s'étendre pour occuper l'espace restant */
    margin-right: 10px;
    text-align: left; /* Aligne le texte à gauche */
    word-break: break-word; /* Empêche les débordements */
}

/* Pour le message d'erreur en dessous, on sort du modèle flex */
#email_display + #error_message {
    display: block; /* S'assurer que l'élément <p> est sur une nouvelle ligne */
    margin-top: 10px;
    color: red;
    font-size: 14px;
    text-align: left; /* Aligner le texte à gauche */
}

/* Style des boutons 
.field button {
    padding: 8px 16px;
    cursor: pointer;
    flex-shrink: 0; 
}
*/

/* Style de la modale */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Contenu de la modale */
.modal_content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 300px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    overflow-wrap: break-word; /* Force le texte à passer à la ligne si nécessaire */
    word-break: break-word; /* Casse les mots longs si nécessaire */
    overflow: hidden; /* Empêche tout débordement */
}

/* Style pour le label */
.modal_content label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    word-wrap: break-word; /* Assure que le texte ne dépasse pas */
}

/* Style pour le message d'erreur */
#identity_verification_error_message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    word-wrap: break-word; /* Assure que le texte ne dépasse pas */
}

.close_modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: black;
 transition: all 0.3s ease;
    cursor: pointer;
}


.close_modal:hover {
    color: #f0f0f0;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    transform: scale(1.1);
}

#modal_input {
    width: calc(100% - 20px);
    margin: 15px 0;
    padding: 8px;
    box-sizing: border-box;
}

#update_value {
    padding: 8px 16px;
    cursor: pointer;
    margin-top: 10px; 
}

/* effectif et fonctions */
/* Aligner les deux champs spécifiques */
.align-fields {
    display: flex;
    align-items: center; /* Aligner verticalement le label et le select */
   /* gap: 1px;  Espacement entre le label et le select */
}

.align-fields label {
    min-width: 100px; /* Largeur fixe pour les labels */
    text-align: left; /* Aligner le texte des labels à droite */
}

.align-fields select {
    flex-grow: 1; /* Le select prend tout l'espace restant */
}

/* effectif et fonctions */

/*
#um_field_67_email_verified {
    display: none !important;
}

#um_field_67_phone_verified {
    display: none !important;
}

#um_field_67_identity_verified {
    display: none !important;
}

#um_field_67_document_verified {
    display: none !important;
}

*/

/* Media queries pour le responsive */
@media screen and (max-width: 768px) {
    .field {
        display: flex;
        flex-direction: row; /* Aligne les éléments horizontalement */
        align-items: center; /* Aligne verticalement au centre */
        cursor: pointer;
        padding: 10px;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        transition: background-color 0.2s;
    }

    .field:hover {
        background-color: #f0f0f0;
    }

    .field label {
        flex: 0 0 auto; /* Le label conserve sa taille naturelle */
        margin-right: 10px; /* Ajoute un espace entre le label et le span */
        width: auto; /* Désactive le comportement "100%" pour éviter qu'il ne force une nouvelle ligne */
    }

    .field span {
        flex: 1 1 auto; /* Le span s'étend pour occuper l'espace restant */
        margin-bottom: 0; /* Supprime l'espacement supplémentaire sous le span */
    }

    #error_message {
        display: block; /* S'assurer que le message d'erreur occupe une ligne à part */
        margin-top: 10px;
    }
	
	/*
    .field button {
        width: 100%;
    }
	 */

    .modal_content {
        width: 85%;
        max-width: none;
        margin: 0 10px;
    }
	
	#content {
    padding: 15px 15px !important;
}

.field-title {

  width: 100px!important;
  }
}


/* adresse */

/* CSS pour la modale d'adresse */
#address_modal .modal_content {
    width: 600px; /* Ajustez la largeur selon vos besoins */
    max-width: 90%; /* Pour éviter que la modale ne dépasse sur les petits écrans */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#address_modal .field {
    margin-bottom: 15px;
}

#address_modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#address_modal input,
#address_modal select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box; /* Pour inclure le padding dans la largeur */
    border: 1px solid #ccc;
   /* border-radius: 4px;*/
}

#address_modal button {
    padding: 10px 20px;
    background-color: #55555e;
    color: #fff;
    border: none;
     /* border-radius: 4px;*/
    cursor: pointer; 
}

#address_modal button:hover {
    background-color: #3f4047;
}


#cp-results {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px; /* Espace entre le champ CP et les résultats */
}

.cp-result {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.cp-result:hover {
    background-color: #f5f5f5;
}

#address_rue {
    width: 100%;
    resize: none;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: normal;
    border: 1px solid #ccc;
    padding: 5px;
}
#address_ville{
    cursor: pointer;
}
#user_effectif{
    cursor: pointer;
}

#user_function{
    cursor: pointer;
}
/* Ajoutez ces styles à la fin de votre fichier CSS */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: gc-spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.loading-spinner-gray {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #9d9d9c;
  width: 16px;
  height: 16px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s ease-in-out infinite;
margin: 10px;
}


@keyframes slide {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg);  }
}

@-webkit-keyframes slide {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg);  }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Si vous utilisez Font Awesome, vous pouvez utiliser ceci à la place: */
/*
button .fa-spinner {
    margin-right: 8px;
    animation: spin 1s ease-in-out infinite;
}
*/

.loading-spinner-small {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}


/* ANIMATION PRINCIPALE (COMMUNE) */
@keyframes gc-spin {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

