* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f766e);
    overflow: hidden;
}

/* Fond animé */

.background {
    position: abs*lute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -150px;
    animation: animate 25s linear infinite;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1200px) rotate(720deg);
        opacity: 0;
    }
}

/* Carte */

.login-container {
    position: relative;
    z-index: 10;    width: 420px;
    max-width: 9%;
}

.login-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.logo {
    text-align: center;
    font-size: 60px;
    margin-bottom: 10px;
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    font-size: 28px;
}

.subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
    font-size: 14px;
}

/* Formulaire */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    background: rgba(255,255,255,0.20);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.3);
}

/* Options */

.remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    color: white;
    font-size: 14px;
}

.remember a {
    color: #34d399;
    text-decoration: none;
}

.remember a:hover {
    text-decoration: underline;
}

/* Bouton */

.btn-login {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16,185,129,0.35);
}

/* Footer */

.footer {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Responsive */

@media (max-width: 500px) {

    .login-card {
        padding: 30px 25px;
    }

    h1 {
        font-size: 24px;
    }

}