/* Reset et base */
html {
    background: #fff;
}

body.login {
    background: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
}

#login {
    position: relative;
    width: 50%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login h1 {
    margin: 0 0 30px 0;
}

.login h1 a {
    background-size: contain !important;
    width: 180px !important;
    height: 35px !important;
    margin: 0;
    padding: 0;
}

.login form {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    width: 320px;
}

.login label {
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.login form .input {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    padding: 8px 10px;
    margin: 4px 0 16px;
    width: 100%;
    height: 36px;
    box-sizing: border-box;
}

.login form .button.button-primary {
    background: #1a73e8;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-transform: none;
    box-shadow: none;
    margin-top: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login form .button.button-primary:hover {
    background: #1557b0;
}

.login form .forgetmenot {
    margin: 12px 0;
}

.login form .forgetmenot label {
    color: #5f6368;
    font-size: 13px;
}

/* Masquer le sélecteur de langue */
#language-switcher {
    display: none !important;
}

/* Liens de navigation */
.login #nav, 
.login #backtoblog {
    text-align: center;
    margin: 16px 0 0;
    padding: 0;
    width: 320px;
    color: #5f6368;
}

.login #nav a, 
.login #backtoblog a {
    color: #5f6368;
    font-size: 14px;
    text-decoration: none;
}

.login #nav a:hover, 
.login #backtoblog a:hover {
    color: #1a73e8;
}

/* Image de fond */
.loginvo-background-image {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    margin: 0;
    z-index: 0;
}

/* Masquer le bouton Google */
.login form ~ div {
    display: none !important;
}

/* Langue selector */
.language-switcher {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

/* Messages d'erreur */
.login #login_error,
.login .message {
    background: #fff;
    border-left: 4px solid #dc3232;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 4px;
}
