/* ===== PAGE LOGIN ILLUM'TOUD ===== */

html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-content h1 {
    color: white;
}

/* Fond bleu nuit */
body {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100dvh;   /* IMPORTANT pour centrage vertical stable */
}

.login-content {

    display: flex;
    flex-direction: column;

    align-items: center;      /* centre horizontal */
    justify-content: center;  /* centre vertical */

    gap: 30px; /* espace logo / formulaire */

}

/* Carte login */
.login-container {

    background: rgba(255,255,255,0.95);

    padding: 40px;
    border-radius: 12px;

    width: 100%;
    max-width: 420px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    text-align: center;
}

/* Logo Illum'Toud */
.login-logo {
    display: block;        /* obligatoire pour le centrer */
    margin: 0 auto 30px;   /* centre horizontalement + espace sous le logo */
    
    width: 100%;            /* largeur responsive */
    max-width: 300px;      /* limite sur grand écran */
    height: auto;          /* garde les proportions */
}

/* Champs */
.login-container input {

    width: 100%;
    padding: 12px;

    margin-bottom: 15px;

    border-radius: 6px;
    border: 1px solid #ccc;

    font-size: 16px;
}

/* Bouton */

.login-container button {

    width: 100%;
    padding: 14px;

    background: #415a77;

    color: white;
    border: none;
    border-radius: 6px;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.login-container button:hover {

    background: #778da9;

}
