/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* ==========================
   PAGE
========================== */

body{
    background:#EEF3FE;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

/* ==========================
   CONTENEUR
========================== */

.login-container{
    width:100%;
    max-width:380px;
}

/* ==========================
   CARTE
========================== */

.login-card{
    background:#ffffff;
    border-radius:22px;
    padding:35px 25px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    border:1px solid rgba(37,99,235,.08);
}

/* ==========================
   TITRES
========================== */

.login-card h1{
    text-align:center;
    color:#1f2937;
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
}

.login-card h3{
    text-align:center;
    color:#6b7280;
    font-size:17px;
    font-weight:400;
    margin-bottom:30px;
}

/* ==========================
   FORMULAIRE
========================== */

.login-card form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* ==========================
   INPUT
========================== */

.login-card input{
    width:100%;
    padding:15px 18px;
    font-size:16px;
    color:#1f2937;
    background:#F8FAFC;
    border:1px solid #D8DEE9;
    border-radius:14px;
    transition:.25s;
}

.login-card input::placeholder{
    color:#9CA3AF;
}

.login-card input:focus{
    outline:none;
    border-color:#2563EB;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

/* ==========================
   BOUTON
========================== */

.login-card button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:14px;
    background:#2563EB;
    color:#ffffff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.login-card button:hover{
    background:#1D4ED8;
}

.login-card button:active{
    transform:scale(.98);
}

/* ==========================
   LOGO (OPTIONNEL)
========================== */

.logo{
    width:80px;
    height:80px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#2563EB;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:34px;
    font-weight:bold;
    box-shadow:0 8px 20px rgba(37,99,235,.25);
}

/* ==========================
   TEXTE BAS DE PAGE
========================== */

.footer{
    text-align:center;
    margin-top:22px;
    color:#6B7280;
    font-size:14px;
}

.footer a{
    color:#2563EB;
    text-decoration:none;
    font-weight:600;
}

.footer a:hover{
    text-decoration:underline;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width:400px){

    .login-card{
        padding:28px 20px;
    }

    .login-card h1{
        font-size:28px;
    }

    .login-card h3{
        font-size:16px;
    }

}