@import url('https://fonts.googleapis.com/css2?family=Alata&family=Bebas+Neue&family=Gabarito&display=swap');

body {
    font-family: 'Alata', sans-serif; /* Police principale */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* Nouveau: Dégradé radial du centre (#074382) vers les bords (#051039) */
    background: radial-gradient(circle at center, #074382, #051039); 
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px; /* Ajuste la largeur si nécessaire */
    text-align: center; /* Centre le contenu du formulaire */
}

.form-container a{
    color: #0056b3;
}

input[type="email"],
input[type="text"],
input[type="password"] {
    font-family: 'Alata', sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    font-family: 'Alata', sans-serif;
    width: 100%;
    padding: 10px;
    background-color: #051039;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #2C3658;
}

p[style="color:red;"] {
    margin-top: 10px; /* Ajoute une marge au-dessus du message d'erreur */
    margin-bottom: 15px;
}

/* Styles pour l'en-tête (à copier depuis index.css si nécessaire) */
.header-container {
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 12px 10px; /* Réduction du padding horizontal */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Alata', sans-serif;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.header-title {
    flex-grow: 1;
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    margin: 0;
}

.g-recaptcha {
    margin-bottom: 10px;
}

/* New styles for the toggle feature */
.toggle-options {
    cursor: pointer;
    display: block; /* Pour qu'il prenne toute la largeur et aille à la ligne */
    text-align: center;
    margin-top: 10px; /* Marge au-dessus de la flèche */
    margin-bottom: 10px; /* Marge en dessous de la flèche */
}

.toggle-options svg {
    width: 20px; /* Ajuste la taille de la flèche */
    height: 20px;
    transition: transform 0.3s ease; /* Important pour l'animation */
    color: #0056b3; /* Couleur de la flèche */
}

/* Rotation de la flèche - Nouvelle classe */
.toggle-options svg.rotated {
    transform: rotate(180deg);
}

#other-options {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
}

#other-options.hidden {
    max-height: 0;
    opacity: 0;
}

#other-options.visible {
    /* Changed from 100px to 150px to accommodate the new line of text */
    max-height: 150px; 
    opacity: 1;
}