
/* connexion/////////////////*/
.icon-plain {
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: opacity .2s;
	margin:5px;
}
.icon-plain:hover { opacity: 0.7; }

.auth-buttons {
    display: flex;
    gap: 12px;
}
.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background:  var(--backg);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
	margin-top:20px;
}
.btn-auth:hover {
    background: var(--backgf);
    color: #ffffff;
    text-decoration: none;
}




/* Module de connexion Joomla 6 - Style moderne *////////////////////////////////////////////////////////////////////////
.login-module {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Logo/Icône */
.login-module .login-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4285f4 0%, #1967d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-module .login-icon::before {
    content: "👤";
    font-size: 24px;
    color: white;
}

/* Titre */
.login-module h3,
.login-module .module-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin: 0 0 8px 0;
}

/* Sous-titre */
.login-module .login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 30px;
}

/* Formulaire */
.login-module form {
    width: 100%;
}

/* Groupes de champs */
.login-module .control-group,
.login-module .form-group {
    margin-bottom: 20px;
}

/* Labels */
.login-module label {
    display: block;
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Champs de saisie */
.login-module input[type="text"],
.login-module input[type="email"],
.login-module input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #202124;
}

.login-module input[type="text"]:focus,
.login-module input[type="email"]:focus,
.login-module input[type="password"]:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.login-module input[type="text"]::placeholder,
.login-module input[type="email"]::placeholder,
.login-module input[type="password"]::placeholder {
    color: #80868b;
}

/* Conteneur du mot de passe avec icône */
.login-module .password-wrapper {
    position: relative;
}

.login-module .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #5f6368;
    padding: 4px;
}

/* Checkbox "Keep me signed in" */
.login-module .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.login-module input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #1a73e8;
}

.login-module .checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #202124;
    cursor: pointer;
}

/* Lien "Forgot password" */
.login-module .forgot-password,
.login-module a[href*="reset"],
.login-module a[href*="forgot"] {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.login-module .forgot-password:hover,
.login-module a[href*="reset"]:hover,
.login-module a[href*="forgot"]:hover {
    text-decoration: underline;
}

/* Bouton de connexion principal */
.login-module button[type="submit"],
.login-module .btn-primary,
.login-module input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-module button[type="submit"]:hover,
.login-module .btn-primary:hover {
    background: #1765cc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.login-module button[type="submit"]:active,
.login-module .btn-primary:active {
    background: #1557b0;
}

/* Séparateur "or" */
.login-module .separator {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #5f6368;
    font-size: 14px;
}

.login-module .separator::before,
.login-module .separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dadce0;
}

.login-module .separator::before {
    margin-right: 16px;
}

.login-module .separator::after {
    margin-left: 16px;
}

/* Boutons sociaux */
.login-module .social-login {
    margin-bottom: 16px;
}

.login-module .btn-google,
.login-module .btn-facebook {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #3c4043;
}

.login-module .btn-google:hover,
.login-module .btn-facebook:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-module .btn-google::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%234285F4" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="%2334A853" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="%23FBBC05" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="%23EA4335" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>') center/contain no-repeat;
}

.login-module .btn-facebook::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-right: 12px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%231877F2" d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>') center/contain no-repeat;
}

/* Lien de création de compte */
.login-module .create-account {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #5f6368;
}

.login-module .create-account a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.login-module .create-account a:hover {
    text-decoration: underline;
}

/* Messages d'erreur */
.login-module .alert-error,
.login-module .error-message {
    padding: 12px 16px;
    background: #fce8e6;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #c5221f;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .login-module {
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
    }
}




