/* ============================================================
   connexion.css — page de connexion
   Responsive : le bloc central est fluide (100% de la largeur
   disponible) mais plafonné à 360px sur grand écran.
   ============================================================ */

/* Conteneur : garantit une marge sur les côtés en mobile */
.centre{
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

/* Centre de la page */

.bloc{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;                       /* fluide sous 360px */
    padding: clamp(1.25rem, 5vw, 2rem) clamp(1rem, 4vw, 1.5rem);
    margin: clamp(1.5rem, 6vw, 4rem) auto;
    border-radius: 14px;
    gap: clamp(1rem, 3vw, 1.5rem);
    background-color: #16321F;
    color:#F4EDE0;
    border: solid  #D9B36C ;
}

/* le formulaire ne doit pas brider la largeur du bloc */
form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* logo + "Connectez-vous" */

.logo-centre{
    color:#D9B36C;
    border:dashed  #D9B36C;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0;
}

.titre-centre{
    color:#F4EDE0;
    font-size: clamp(1.25rem, 5vw, 1.625rem);   /* 20px → 26px */
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.colonne{
    display:flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: center;
}

/* mail + mdp */

.case-info{
    width: 100%;
    min-height: 44px;      /* zone tactile confortable au doigt */
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
    border: none;
    font-size: 16px;       /* 16px minimum : empêche le zoom auto iOS */
    box-shadow: 0 6px 16px rgb(44, 44, 44);
}

.champ-mdp{
    position: relative;
    width: 100%;
}

.champ-mdp .case-info{
    padding-right: 44px;
}

.btn-oeil{
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    display: flex;
    align-items: center;
}

.mdp-oublie{
    font-size: 0.875rem;
    color: #D9B36C;
    align-self: flex-end;
}
/* bouton connexion + bouton inscription*/

.btn-connexion{
    width: 100%;
    max-width: 180px;
    min-height: 44px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 16px rgb(44, 44, 44);
    margin-top: 0.5rem;
}

.btn-inscription{
    text-decoration: none;
    color:#000000;
    width: 100%;
    max-width: 180px;
    min-height: 44px;
    font-size: 1rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 16px rgb(44, 44, 44);
    margin-top: 0.5rem;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    display: flex;
}

/* Le header responsive (menu hamburger) est entièrement géré dans
   commun.css — rien à redéfinir ici. */