@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('modal.css');
@import url('bottomsheet.css');
@import url('toas.css');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins",  sans-serif;
    background: linear-gradient(to left,#36CCFF, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    list-style: none;
    outline: none;
    text-decoration: none;
}

.site{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Notifications flottantes */
    .toast {
        position: fixed;
        top: 20px;
        right: 20px;
        background: #4caf50; /* vert par défaut succès */
        color: #fff;
        padding: 15px 25px;
        border-radius: 8px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.5s ease;
        z-index: 9999;
    }
    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .toast.error {
        background: #f44336; /* rouge pour erreur */
    }
.login{
    width: 100%;
    max-width: 400px; /* 🔥 style Meta */
}

.form{
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* TITRES */
.h1-title{
    text-align: start;
     font-size: 2.5em; 
    font-weight: 600;
    margin-bottom: 10px;

    background: linear-gradient(to left,#36CCFF, #34495e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.h1-titles{
    border-bottom: 2px dashed #34495e;
    text-align: center;
    background: linear-gradient(to left,#36CCFF, #34495e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* INPUTS */
form input{
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
}

form input:focus{
    border-color: #36CCFF;
    box-shadow: 0 0 5px rgba(54,204,255,0.5);
}

/* LABEL + ICON */
.nom-edith{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

/* BOUTON */
.btn{
    background: linear-gradient(to left,#36CCFF, #34495e);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover{
    opacity: 0.9;
}

/* LIENS */
a{
    color: #36CCFF;
    font-size: 14px;
    cursor: pointer;
}

.forgot-password{
    text-align: right;
    margin-bottom: 10px;
}

/* TEXTE BAS */
form div{
    text-align: center;
    font-size: 14px;
}
@media screen and (max-width:768px){

    form{
        border-radius: 0;
        height: 100vh;
        justify-content: center;
    }

    .login{
        max-width: 100%;
    }
}