/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Inter', sans-serif;
    background: #0d0d0d;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e5e5e5;
}

/* CARD */
.card {
    background: #161616;
    padding: 50px;
    border-radius: 16px;
    width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    animation: fadeIn 0.8s ease;
    text-align: center;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TITRE DU SITE */
.site-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff; /* blanc lumineux */
    text-shadow: 0 0 15px rgba(255,255,255,0.5); /* glow subtil */
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* TITRES FORMULAIRE */
h2 {
    margin-bottom: 25px;
    font-weight: 600;
    color: #ffffff;
}

/* INPUTS */
input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #121212; /* noir / gris foncé */
    color: #ffffff; /* texte blanc */
    font-weight: 600; /* gras */
    font-size: 14px;
    transition: 0.3s;
}

input::placeholder {
    color: #888;
    font-weight: 500;
}

input:focus {
    border-color: #555;
    box-shadow: 0 0 10px rgba(255,255,255,0.08);
    outline: none;
}

/* Autocomplétion sombre */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #121212 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 10px;
    font-weight: 600;
}

/* BOUTON BLANC */
button {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #ffffff; /* blanc */
    color: #111; /* texte noir */
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

/* LIENS */
.switch {
    margin-top: 15px;
    font-size: 14px;
    color: #888;
}

.switch a {
    color: #ccc;
    text-decoration: none;
}

.switch a:hover {
    text-decoration: underline;
}

/* MESSAGES D'ERREUR */
.error {
    color: #ff6b6b;
    margin-bottom: 10px;
}

/* TITRE EN HAUT DE LA PAGE */
.site-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff; /* blanc lumineux */
    text-shadow: 0 0 20px rgba(255,255,255,0.5); /* glow */
    text-align: center;
    position: absolute; /* position fixe sur la page */
    top: 40px; /* distance du haut de la page */
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 2px;
}