@font-face {
    font-family: 'Sharp Sans Medium';
    src: url('/static/fonts/SharpSansMedium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sharp Sans Bold';
    src: url('/static/fonts/SharpSansBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}


body {
    font-family: "Sharp Sans Medium", sans-serif;
    margin: 0;
    padding: 0;
    background-image: var(--bg-img);    
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    color: white;
    padding: 10px 0;
    text-align: center;
}

.content {
    width: 80%;
    margin: 20px auto;
}


.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Ajouter des espaces entre les éléments à l'intérieur du main-container */
    gap: 20px;
  }


.logo {
    height: 100px; /* ajuster comme nécessaire */
    width: auto; /* pour garder le ratio d'aspect */
    margin-bottom: -20px;
}

input[type="text"], input[type="number"], input[type="password"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 0px;
    resize: vertical;
}

.forms-container {
    /* Ici vous pouvez ajouter les styles que vous voulez pour votre conteneur de formulaires */
    display: flex; /* Activer Flexbox */
    justify-content: center; /* Centrer les éléments horizontalement */
    align-items: center; /* Centrer les éléments verticalement */
    flex-direction: column;
    max-width: 80%;
    height: 465px; /* Changez cette valeur en fonction de vos besoins. Cela donnera à votre conteneur de formulaires une hauteur fixe */
    padding: 20px; /* Pour donner un peu d'espace entre les boutons et le formulaire */
    background: linear-gradient(170deg, #1a237e 75%, #224cd6 100%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius:10px;
    border-top-right-radius:10px;
}
#select_agent_form, #create_agent_form {
    width: 100%; /* Cette ligne définira la largeur du formulaire à 100% de la largeur du conteneur. Vous pouvez changer ce pourcentage en fonction de vos besoins. */
    max-width: 500px; /* Cette ligne définira une largeur maximale pour le formulaire. Ajustez cette valeur en fonction de vos besoins. */
    margin-bottom: 20px;
    margin-top: 10px;
}



.agent-form {
    display: flex;
    flex-direction: column;
    gap: 15px;  /* Espacement entre les éléments */
    justify-content: center;
    align-items: center;
    background: linear-gradient(170deg, #1a237e 75%, #224cd6 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    width: 500px;
}
.rectangle {
    background-color: rgba(255, 255, 255, 0.65);
    padding:20px;
    border-radius: 10px;
}
.button {
    background: rgba(63,94,251,1); /* Fond transparent */
    border: 2px solid white; /* Bordure blanche */
    border-radius: 10px; /* Coins arrondis */
    padding: 10px; /* Espacement intérieur */
    color: white; /* Couleur de texte */
    transition: all 0.3s ease; /* Transition douce pour les effets au survol */
    font-family: 'Sharp Sans Bold';
    cursor: pointer;


}

.button:hover {
    background: rgba(63, 94, 251, 0.8); /* Légèrement plus clair au survol */
    transform: scale(1.05); /* Légère agrandissement au survol */
}

.button:active {
    background: rgba(63, 94, 251, 0.6); /* Légèrement plus foncé quand actif */
    transform: scale(0.95); /* Légère réduction lorsqu'il est cliqué */
}

