/* Réinitialiser les marges et les paddings */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/*police et couleur principale des textes*/
body{
    font-family:"Poppins", sans-serif;
    background-color: #121212; /* Noir profond */
    color: #E0E0E0; /* Gris clair pour un bon contraste */
}

/*Largeur maximale des éléments et centrage du container*/
.container{
    width: 100%;
    max-width: 1600px;
    background-color: #1E1E1E;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.1); /* Ombre légère */
}
/*les marges*/
.mt-200{
    margin-top: 200px;
}
.mt-150{
    margin-top: 150px;
}
.mt-100{
    margin-top: 100px;
}
.mt-75{
    margin-top: 75px;
}
.mt-50{
    margin-top: 50px;
}
.mt-25{
    margin-top: 25px;
}

/*Les titres*/
h5,h3, h4 {
    color: #E0E0E0;
    font-weight: 600;
    border-bottom: 2px solid #90CAF9;
    padding-bottom: 5px;
}

h6{
    color: #E0E0E0;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 5px;

}

/*Main Template*/
.custom-container {
    max-width: 1200px;
}
a{
    color: #90CAF9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover{
    color: white;
}
#mainNavbar {
    background-color: #121212;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Ombre subtile */
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .nav-link {
    font-weight: 500;
}

.navbar.nav-link:active, .nav-link[href*="index.php"]:hover {
    color: #90CAF9; /* Couleur du lien actif */
}

.links{
    color:#90CAF9;
}
  
.btn-secondary {
    background-color: #424242;
    border: none;
    outline: none;
    height: 40px; /* Hauteur fixe pour éviter le déplacement */
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;      /* Centre verticalement */
    text-align: center; /* Assure l'alignement horizontal */
}

.btn-secondary:hover {
    background-color: #616161;
    box-shadow: inset 0px 2px 5px rgba(144, 202, 249, 0.2); /* Ombre interne pour éviter le déplacement */
}

.btn-primary {
    background-color: #90CAF9; /* Bleu clair */
    height: 40px;
    border: none;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;      /* Centre verticalement */
    text-align: center; /* Assure l'alignement horizontal */
}

.btn-primary:hover {
    background-color: #64B5F6;
}

.btn-success{
    background-color: #66BB6A; /* Vert */
    height: 40px;
    border: none;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;      /* Centre verticalement */
    text-align: center; /* Assure l'alignement horizontal */
}
.btn-success:hover {
    background-color: #43A047;
}

.btn-warning{
    background-color: #FFA726; /* Orange */
    height: 40px;
    border: none;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;      /* Centre verticalement */
    text-align: center; /* Assure l'alignement horizontal */
}

.btn-warning:hover {
    background-color: #FB8C00;
}

/*New contact*/
.form-control {
    background-color: #2A2A2A;
    color: #E0E0E0;
    border: 1px solid #A3B3C2;
}
.form-control:focus {
    background-color: #333;
    color: #fff;
    border-color: #03DAC6;
    box-shadow: 0 0 5px #03DAC6;
}
.form-group {
    margin-bottom: 15px;
}
.radio-item label {
    margin-bottom: 0;
}

textarea {
    resize: none;
}
.btn-primary {
    background-color: #42A5F5; /* Bleu moderne */
    border: none;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #1E88E5; /* Bleu plus foncé */
    transform: scale(1.05);
}

.radio-group {
    display: flex;
    flex-direction: row;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-left: 10px; 
}

.radio-item label {
    margin-left: 10px; /* Ajuste cet espace selon tes besoins */
}

checkbox-group {
    display: flex;
    margin-left: 10px;
}

.error {
    border: 2px solid red !important; /* Bordure rouge */
    box-shadow: 0 0 5px red; /* Lueur rouge autour */
    color: red; /* Texte rouge */
}

#success-message {
    color: green;
    padding: 10px;
    border: 1px solid green;
    margin-bottom: 10px;
    transition: opacity 0.5s ease-out; /* Animation douce */
}
.hidden {
    opacity: 0;
    pointer-events: none; /* Empêche toute interaction avec l'élément */
}


.error::placeholder {
    color: red; /* Texte du placeholder en rouge */
    opacity: 1;
}


/*Clients*/
.clients{
    width: 100%;
    height: 170px;
    border: solid 1px white;
    border-radius: 10px;
}

.btn-liste{
    width:40px;
    height:25px;
    font-size: 12px;
}


/*Accueil*/
.calendar{
    width: 300px;
    height: 250px;
    border: solid 1px white;
    border-radius: 10px;

}

.mailbox{
    width: 300px;
    height: 50px;
    border: solid 1px white;
    border-radius: 10px;

}

/*Contacts*/
.small-button {
    height: 38px; /* Ajuste la hauteur selon celle des inputs */
    padding: 5px 10px; /* Ajuste le padding */
    font-size: 16px; /* Ajuste la taille du texte */
}

.contact-article{
    height:475px;
}

.client-article{
    height:550px;
}

.zone-achat-article{
    border : 1px solid;
    border-radius:10px;
    padding:10px;
}

/*ContactsResult*/
.articles {
    gap: 20px; 
    justify-content: center;
}

.article {
    background: #252525;
    padding: 15px;
    border-radius: 8px;
    /*box-shadow: 0px 0px 4px 1px rgb(66,165,245);*/
    max-width: 100%;
    flex-grow: 1; /* Permet d'occuper la largeur correcte */
}

.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
    }

/*reseachResultClient*/

.btn-statut{
    height:20px;
    width:50px;
    font-size:12px;
    background-color:#42A5F5;
}


/*formulaire de connexion*/
/* Modifier la couleur du lien */
.linkMdp {
    color: #E0E0E0;
    font-weight: bold; 
    transition: color 0.3s ease-in-out;
}

/* Modifier la couleur au survol */
.linkMdp:hover {
    color: white;
    text-decoration: underline;
}

/*Pop up ajout d'informations dans researchResultContact*/ 

.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Contenu du popup */
.modal-content {
    background-color: #252525;
    margin:15% auto;
    border-radius: 10px;
    width: 40%;
    text-align: center;
}
.modal-content form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement */
}

/*Pages seeStatut*/
.iconCopie{
    cursor: pointer; 
    width: 14px;
}

/* Bouton pour fermer */
.close {
    color: #E0E0E0;
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: white;
}

