/* Style global */
body {
    background-color: #d3d5d8;
    display: flex;
    flex-direction: column;
}
html {
    scroll-behavior: smooth;
}
html, body {
    min-height: 100%; /* S'assurer que la page prend toute la hauteur de la fenêtre */
    margin: 0;
    padding: 0;
}

.formulconnexion {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    margin: 0;
    background-color: #d3d5d8; /* Couleur de fond similaire à l'image */
    font-family: Arial, sans-serif;
}

.forms {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 700px; /* Ajustement de la largeur */
    max-width: 90%;
    position: relative;
}

.forms img {
    width: 350px; /* Ajuste la taille du logo */
    height: auto;
    margin-right: 20px; /* Espacement entre le logo et la barre */
}

.barvertical {
    width: 2px;
    height: 350px;
    background-color: #000;
    margin-right: 20px;
}

.forms h2 {
    position: absolute;
    top: -60px; /* Positionnement du titre au-dessus de la boîte */
    left: 0px;
    font-size: 24px;
    color: #fff;
    background-color: #bbbbbb;
    padding: 10px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: -1;
}

.forms form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.forms label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.forms input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #e0e2e5; /* Couleur de fond grisée pour les inputs */
    width: 100%;
    box-sizing: border-box;
}

.forms button {
    padding: 10px;
    padding-bottom: 25px;
    background-color: #bbb;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px; /* Largeur du bouton */
    align-self: flex-end; /* Aligner le bouton à droite */
}

.forms button:hover {
    background-color: #999;
}


.exit {
    background:#0358bf;
    border-radius:50%;
    width: 35px;
    height:35px;
    border:2px solid #0358bf; 
}

nav {
    background-color: #3a5774;
    color: white;
}

.nav-link {
    color: white;
    margin-left: 25px;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.478);

}

.welcome-header {
    padding: 10px; /* Espacement interne */
    margin-top: 10px; /* Marge supérieure */
    color: rgb(30, 29, 29);
    margin-left: 4%;
    display: flex;
    justify-content: space-around;
}
h1 {
    font-size: 25px;
}

.generalwiew-header {
    padding-left: 100px;
}

h2 {
    padding-top: 6px;
    padding-left: 8px;
    font-size: 20px;
    color: white;
}




h3 {
    margin-left: 10px;
    padding-top: 10px;
    margin-bottom: 15px;
    font-size: 25px;
}

p {
    margin-left: 15px;
    font-size: 15px;
}

.blockstatis {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.blockstat {
    width: 90%;
    max-width: 1300px;
    min-width: 300px;
    position: relative;
    background-color: white;
    align-items: center;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 6%;
    box-sizing: border-box; 
}

.label {
    position: absolute;
    top: -40px;
    left: 0;
    height: 55px;
    background-color: #3a5774;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    z-index: -1;
}


@media (max-width: 768px) {
    .blockstat {
        width: 100%; 
        padding: 20px; 
        margin-top: 20px; 
        margin-top: 10%;

    }

    .label {
        top: -35px; 
        padding: 8px 12px; 
    }
}

@media (max-width: 480px) {
    .blockstat {
        padding: 15px; 
        margin-top: 15%;

    }

    .label {
        top: -30px;
        padding: 5px 10px; 
    }
}




.footer {
    background-color: #f8f9fa; /* Couleur de fond */
    width: 100%; /* Prendre toute la largeur */
    height: 20vh; /* Hauteur de 20% de la fenêtre */
    position: relative; /* Position normale */
    bottom: 0;
    left: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2%;
}

.footer img {
    max-width: 150px; /* Largeur maximum du logo */
    height: auto; /* Hauteur automatique pour maintenir les proportions */
}


.etiquette_viewdeleg {
    width: 480px;
    height: 70px;
    background-color: #3a5774;
    border-radius: 15px;
}

.delegue-content {
    margin-top: -25px;
    width: 90%;
    height: 150px;
    border-radius: 15px;
    background-color: white;
}

.container {
    flex: 1; /* Pousse le footer vers le bas */
}

table {

    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-left: 15px;
}
  
  caption {
    caption-side: bottom;
    padding: 10px;
    font-weight: bold;
  }
  

  th,
  td {
    padding: 8px 10px;
  }
  
  td:last-of-type {
    text-align: center;
  }
  
  gmpx-place-picker {
    width: 100%; /* Prendre toute la largeur */
  }

  .form-control {
    border-color: rgb(128, 134, 139);
  }



.form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* espace entre les items, ajustez selon vos besoins */
    overflow-y: auto;
    height: 70px;
}
.produit-container .form-check {
    flex: 0 1 auto; /* Permet aux éléments de garder leur taille par défaut mais de se mettre à la ligne quand nécessaire */
}

  
  .pac-logo:after {
    content: none;
  }

.modal-overlay {
    display: none; /* Masquée par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: auto; /* Empêche le scroll en dehors de la pop-up */
}

.modal-content {
    width: 80%;
    max-width: 800px;
    max-height: 90vh; /* Limite la hauteur */
    border-radius: 8px;
    padding: 20px;
}

body.modal-open {
    overflow: auto;
}
