/*======================================
        AIR FROID INVEST
          connexion.css
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#08152D,#0B1F3A,#123B63);
    overflow:hidden;
}

.background{
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top left,rgba(212,175,55,.12),transparent 40%),
    radial-gradient(circle at bottom right,rgba(212,175,55,.08),transparent 40%);
    z-index:-1;
}

.container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.card{
    width:100%;
    max-width:420px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(212,175,55,.30);
    border-radius:20px;
    padding:35px 25px;
    box-shadow:0 15px 35px rgba(0,0,0,.35);
}

.logo{
    text-align:center;
    margin-bottom:20px;
}

.logo img{
    width:100px;
    filter:drop-shadow(0 0 15px rgba(212,175,55,.5));
}

.card h2{
    text-align:center;
    color:#D4AF37;
    margin-bottom:10px;
}

.card p{
    text-align:center;
    color:#d8d8d8;
    margin-bottom:25px;
    font-size:14px;
}

.input-box{
    margin-bottom:18px;
}

.input-box label{
    display:block;
    color:#ffffff;
    margin-bottom:8px;
    font-size:14px;
}

.input-box input{
    width:100%;
    padding:14px;
    border:none;
    outline:none;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#ffffff;
    transition:.3s;
}

.input-box input::placeholder{
    color:#bfbfbf;
}

.input-box input:focus{
    border-color:#D4AF37;
    box-shadow:0 0 10px rgba(212,175,55,.35);
}

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    color:#d8d8d8;
    font-size:13px;
    flex-wrap:wrap;
    gap:10px;
}

.options a{
    color:#D4AF37;
    text-decoration:none;
}

.options a:hover{
    text-decoration:underline;
}

.btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    background:linear-gradient(135deg,#FFD54F,#D4AF37);
    color:#08152D;
    font-size:16px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(212,175,55,.35);
}

.register-link{
    margin-top:25px;
    text-align:center;
}

.register-link p{
    color:#d8d8d8;
    font-size:14px;
}

.register-link a{
    color:#D4AF37;
    text-decoration:none;
    font-weight:700;
}

.register-link a:hover{
    text-decoration:underline;
}

.erreur{
    background:#C62828;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
}

.succes{
    background:#2E7D32;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
}

@media(max-width:480px){

    .card{
        padding:25px 18px;
    }

    .logo img{
        width:85px;
    }

    .card h2{
        font-size:24px;
    }

    .options{
        flex-direction:column;
        align-items:flex-start;
    }

}