* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #1f1f1f;
}

body::before{
		content:"";
		position:absolute;
		top:0;left:0;bottom:0;right:0;
		background-image:url("../images/fond_thermo.png");
		background-size:cover;
		opacity:0.2;
		z-index:0;
}
/* Conteneur principal */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Carte de connexion */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
		z-index:1;
}

/* Titre */
.login-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #202124;
    text-align:center;
}

.login-card h2 {
    font-size: 16px;
    font-style: normal;
    text-align:center;
}

/* Sous-titre */
.subtitle {
    color: #5f6368;
    margin: 10px ;
    font-size: 16px;
    font-style:italic;
    /* line-height: 1.5; */
}

/* Groupe input */
.input-group {
    margin-bottom: 10px;
    /* text-align: center; */
}

/* Label */
.input-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* Champs */
.input-group input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;

    border: 1px solid #d0d7de;
    border-radius: 8px;

    font-size: 16px;
    background: #fff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Focus */
.input-group input:focus {
    outline: none;
    border-color: #0a66c2;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.12);
}

/* Affichage mot de passe */
.show-password {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;
    font-size: 14px;
    color: #444;
}

/* Bouton */
.login-button {
    width: 100%;
    border: none;

    padding: 0px;
    border-radius: 999px;

		margin: 8px 0px 8px 0px;
		padding:6px 0px 6px 0px;

    background: #0a66c2;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

/* Hover */
.login-button:hover {
    background: #004182;
}

/* Click */
.login-button:active {
    transform: scale(0.99);
}

/* -------------------------- */
/* RESPONSIVE DESIGN */
/* -------------------------- */

/* Tablettes */
@media screen and (max-width: 768px) {

    body {
        padding: 16px;
        align-items: flex-start;
    }

    .login-card {
        margin-top: 10px;
        padding: 20px;
    }

    .login-card h1 {
        font-size: 20px;
    }

    .login-card h2 {
        font-size: 16px;
    }
}

/* Smartphones */
@media screen and (max-width: 480px) {

    body {
        padding: 12px;
    }

    .login-card {
        width: 100%;
        padding: 26px 20px;
        border-radius: 12px;
    }

    .login-card h1 {
        font-size: 16px;
    }

    .login-card h2 {
        font-size: 12px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        text-align: center;
    }

    .input-group input {
        padding: 13px 14px;
        font-size: 16px;
    }

    .login-button {
        padding: 13px;
        font-size: 15px;
    }

    .show-password {
        font-size: 13px;
    }
}

/* Très petits écrans */
@media screen and (max-width: 340px) {

    .login-card {
        padding: 22px 16px;
    }

    .login-card h1 {
        font-size: 12px;
    }

    .login-card h2 {
        font-size: 10px;
    }
}
