/* Reset et font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #00AEEF, #005A9C);
    overflow: hidden;
    position: relative;
}

/* EMPREINTES DIGITALES animées */
.fingerprints i {
    position: absolute;
    bottom: -80px;
    left: var(--left);
    font-size: var(--size);
    color: rgba(255,255,255,0.15);
    animation: floatFingerprint 12s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatFingerprint {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.2; }
    50% { transform: translateY(-50vh) rotate(20deg) scale(1.1); opacity: 0.4; }
    100% { transform: translateY(-110vh) rotate(-20deg) scale(1); opacity: 0; }
}

/* Wrapper et carte */
.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background-color: rgba(255,255,255,0.95);
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(0,174,239,0.3);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.logo {
    width: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 2px solid #00AEEF;
    padding: 5px;
}

h1 {
    margin-bottom: 30px;
    color: #005A9C;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.login-form input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid rgba(0,174,239,0.3);
    outline: none;
    font-size: 1rem;
    transition: 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8faff;
}

.login-form input:focus {
    border-color: #00AEEF;
    box-shadow: 0 0 12px rgba(0,174,239,0.4);
    background-color: #ffffff;
}

.btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    background: linear-gradient(135deg, #00AEEF, #005A9C);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #007EA7, #003E6B);
}

.forgot-password {
    margin-top: 15px;
    font-size: 0.9rem;
}

.forgot-password a {
    color: #005A9C;
    text-decoration: none;
    transition: 0.3s;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #00AEEF;
}

/* Responsive */
@media (max-width: 450px) {
    .login-card {
        padding: 35px 20px;
    }
    .logo {
        width: 80px;
    }
}
