@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');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

body{
    background-image: url(../images/symbbiosis.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;

}

section{
   background-color: transparent;
   padding: 30px;
   width: 450px;
   border-radius: 20px;
   border: 2px solid rgba(255, 255, 255, 0.2);
   backdrop-filter: blur(5px);

}

section h1{
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.input-box {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.input-box input {
    width: 100%;
    padding: 15px;
    padding-right: 40px; /* corrigé */
    border: 2px solid #f8f8f8;
    border-radius: 25px;
    color: white;
    background-color: transparent;
    outline: none;

}


.input-box input::placeholder{
    color: #fff;
}

.input-box i {
    position: absolute;
    transform: translateY(-50%);
    right: 20px;
    top: 50%;  
    color: #fff;
}


.remember-forgot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 15px;
    color: white;
}

.remember-forgot a, .remember-link a{
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
    font-weight: bold;
}

.remember-forgot a:hover, .register-link a{
    text-decoration: underline;
}

.login-btn{
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;

    /* Dégradé psychédélique */
    background: linear-gradient(
        90deg,
        #ff5f6d,
        #ffc371,
        #5efce8,
        #736efe
    );
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;

    /* Effet glow */
    box-shadow:
        0 0 15px rgba(255, 120, 200, 0.6),
        0 0 30px rgba(255, 180, 100, 0.4);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-btn:hover{
    transform: scale(1.05);
    box-shadow:
        0 0 25px rgba(255, 120, 200, 0.9),
        0 0 50px rgba(255, 180, 100, 0.8);
}

.register-link{
    text-align: center;
    margin-top: 25px;
    color: white;
    font-size: 14px;
}



