/* Page wrapper */
.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    margin-top: 12vh;
    flex-wrap: wrap; /* Important pour le responsive */
}

/* Container principal */
.auth-container {
    background-color: #F7F8F5;
    text-align: center;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    margin: 0;
    border-radius: 10px;
    box-shadow: 4px 6px rgba(0, 0, 0, 0.1);
}

/* Paragraphes */
.auth-container p {
    padding: 3rem;
}

/* Tous les inputs */
.auth-container input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
}

/* Boutons généraux */
.auth-container button {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding: 0.75rem 2rem;
    margin-top: 1rem;
    width: auto;
}

/* Formulaires */
#login-form,
#register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Augmenté de 0.3rem à 1rem pour plus d'espace */
    align-items: center;
}

/* Boutons des formulaires */
#login-form button,
#register-form button {
    font-size: medium;
    width: auto;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    border: none;
    box-shadow: 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #edeeea;
}

/* Lien toggle */
#toggle-link {
    color: #94A698;
}

/* Mascotte */
.mascot {
    width: 150px;
    height: auto;
    margin-bottom: 0.5rem;
}

/* Warning container */
.warning-container {
    background-color: #F7F8F5;
    border-left: 4px solid #B0C7B4;
    text-align: justify;
    padding: 1rem;
    max-width: 400px;
    width: 90%;
    margin: 0;
    border-radius: 10px;
    box-shadow: 4px 6px rgba(0, 0, 0, 0.1);
}

.warning-container h3 {
    color: #94A698;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.warning-container p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.warning-container strong {
    color: #5A6B5E;
}

.warning-container em {
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   INPUT AVEC ICÔNE (password + œil)
   ============================================ */

.input-with-icon {
    position: relative;
    width: 250px;
}

.input-with-icon input {
    width: 100%;
    padding-right: 35px; /* Espace pour l'icône */
}

/* L'icône de l'œil */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
    z-index: 10;
}

.toggle-password:hover {
    opacity: 0.7;
}
