/* ===========================
   CONNEXION - PRONOSPRO
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#071120,#0f172a);

    padding:20px;

}

.login-box{

    width:100%;
    max-width:420px;

    background:#1e293b;

    border-radius:15px;

    padding:35px;

    box-shadow:0 20px 50px rgba(0,0,0,.45);

    border:1px solid rgba(255,255,255,.05);

}

.logo{

    text-align:center;

    margin-bottom:30px;

}

.logo img{

    width:85px;

}

.logo h2{

    color:#fff;

    margin-top:15px;

    font-size:28px;

}

.logo p{

    color:#94a3b8;

    margin-top:8px;

    font-size:14px;

}

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    color:#fff;

    margin-bottom:8px;

    font-size:14px;

}

.input-box{

    position:relative;

}

.input-box input{

    width:100%;

    height:52px;

    border:1px solid #334155;

    background:#0f172a;

    color:#fff;

    border-radius:8px;

    outline:none;

    padding:0 45px 0 45px;

    font-size:15px;

    transition:.3s;

}

.input-box input:focus{

    border-color:#22c55e;

    box-shadow:0 0 10px rgba(34,197,94,.30);

}

.input-box input::placeholder{

    color:#64748b;

}

.input-box i:first-child{

    position:absolute;

    left:15px;

    top:50%;

    transform:translateY(-50%);

    color:#22c55e;

}

.toggle-password{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    color:#94a3b8;

    cursor:pointer;

}

.options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

    font-size:14px;

}

.options label{

    color:#cbd5e1;

}

.options a{

    color:#22c55e;

    text-decoration:none;

}

.options a:hover{

    text-decoration:underline;

}

button{

    width:100%;

    height:52px;

    background:#22c55e;

    color:#fff;

    border:none;

    border-radius:8px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#16a34a;

}

.register{

    margin-top:25px;

    text-align:center;

    color:#cbd5e1;

}

.register a{

    color:#22c55e;

    text-decoration:none;

    font-weight:bold;

}

.register a:hover{

    text-decoration:underline;

}

.erreur{

    background:#dc2626;

    color:#fff;

    padding:12px;

    border-radius:6px;

    margin-bottom:20px;

    text-align:center;

}

.success{

    background:#16a34a;

    color:#fff;

    padding:12px;

    border-radius:6px;

    margin-bottom:20px;

    text-align:center;

}

@media(max-width:500px){

    .login-box{

        padding:25px;

    }

}