/* Reset GLOBAL (OBLIGATOIRE) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Page */
body {
    font-family: Arial, sans-serif;
    background: #f2f4f7;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carte */
.login-box {
    background: #ffffff;
    width: 420px;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Titre */
.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

/* Inputs */
.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 14px;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    height: 46px;
    padding: 0 12px 0 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

/* Focus */
.input-group input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.15);
}

/* Forgot */
.forgot {
    text-align: right;
    margin: 6px 0 18px;
}

.forgot a {
    font-size: 13px;
    color: #1a73e8;
    text-decoration: none;
}

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

/* Bouton login */
button {
    width: 100%;
    height: 46px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #155fc7;
}

/* Google */
.google-btn {
    display: block;
    margin-top: 14px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: #4c8bf5;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}

.google-btn:hover {
    background: #3a78e0;
}

/* Signup */
.signup {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
}

.signup a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

/* Mobile */
/*
@media (max-width: 420px) {
    .login-box {
        width: 95%;
    }
}*/
@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding: 20px 0;
    }

    .login-box {
        width: 92%;
        padding: 26px 22px;
        border-radius: 14px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    .input-group input {
        height: 52px;
        font-size: 16px;
    }

    button,
    .google-btn {
        height: 52px;
        font-size: 16px;
    }
	
	.logo img {
        width: 110px;
    }
}




.logo {
    text-align: center;
    margin-bottom: 18px;
}

.logo img {
    width: 90px;
    max-width: 100%;
    height: auto;
}



.login-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 12px;
}

