 /* --- LAYOUT GLOBAL --- */
	.login-wrapper {
    display: flex;
    min-height: calc(100vh - 100px); /* 50px haut + 50px bas */
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    max-width: 1300px;
    margin: 50px auto; /* 50px haut / 50px bas */
    box-shadow: 0 8px 35px rgba(0,0,0,0.08);
}

    /* --- COLONNE GAUCHE = SLIDER --- */
    .login-left {
        flex: 1;
        background: #2F5061;
        padding: 60px 40px;
        color: #fff;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slider-container {
        width: 100%;
        max-width: 480px;
        text-align: center;
    }

    .slide {
        display: none;
    }

    .slide.active {
        display: block;
    }

    .slider-image {
        width: 100%;
        max-width: 380px;
        margin: 0 auto 25px auto;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

    .slider-text h2 {
        font-size: 26px;
        margin-bottom: 10px;
        font-weight: 600;
		color:#e6f7ff;
		}

    .slider-text p {
        font-size: 16px;
        opacity: 0.9;
    }

    .slider-dots {
        margin-top: 25px;
    }

    .slider-dots span {
        height: 10px;
        width: 10px;
        margin: 0 5px;
        background: rgba(255,255,255,0.5);
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: 0.3s;
    }

    .slider-dots span.active {
        background: #fff;
        width: 28px;
        border-radius: 20px;
    }

    /* --- COLONNE DROITE = FORMULAIRE --- */
    .login-right {
        flex: 1;
        padding: 60px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-right-inner {
        width: 100%;
        max-width: 380px;
    }

    .site-logo-login {
        text-align: center !important;
        margin-bottom: 20px;
    }

    .site-logo-login img {
        max-width: 250px;
        height: auto;
    }

    .login-right h3 {
        font-size: 20px;
        margin-bottom: 25px;
        font-weight: 600;
        color: #212121;
		text-align:center;
    }

    .login-form {
        width: 100%;
        max-width: 380px;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        width: 100%;
        padding: 14px;
        margin-bottom: 15px;
        border-radius: 8px;
        border: 1px solid #d1d5db;
        background: #f9fafb;
        font-size: 15px;
        transition: 0.25s;
    }

    .login-form input[type="text"]:focus,
    .login-form input[type="password"]:focus {
        border-color: #2F5061;
        background: #fff;
        outline: none;
    }

    .login-form input[type="submit"] {
        width: 100%;
        background: #2F5061;
        color: #fff;
        border-radius: 8px;
        font-size: 17px;
        border: none;
        cursor: pointer; 
        transition: 0.3s;
    }

    .login-form input[type="submit"]:hover {
        background: #1e3947;
    }

    .login-form a {
        display: block;
        text-align: center;
        margin-top: 10px;
        font-size: 14px;
        color: #0073aa;
        text-decoration: none;
    }

    .login-form a:hover {
        text-decoration: underline;
    }
	
	.login-form p{
		margin: 0 0 1.1rem !important;
	}

    /* --- Social login + app --- */
    .social-login-container {
        margin-top: 25px;
    }

    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 8px;
        border: 1px solid #d1d5db;
        padding: 10px 12px;
        margin-top: 10px;
        text-decoration: none;
        background: #fff;
        color: #111;
        font-size: 14px;
        font-weight: 500;
    }

    .social-logo {
        width: 18px;
        height: 18px;
    }

    .app-download-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 8px;
        padding: 10px 12px;
        text-decoration: none;
        background: #fff;
        color: #2F5061;
        font-size: 14px;
        font-weight: 500;
    }

    .android-logo {
        width: 18px;
        height: 18px;
    }

    /* --- Footer --- */
    .footer {
        text-align: center;
        padding: 20px 10px;
        font-size: 14px;
        color: #777;
        background: transparent !important;
    }

    .footer-nav a {
        margin: 0 10px;
        color: #777;
        text-decoration: none;
        font-size: 13px;
    }

    .footer-nav a:hover {
        text-decoration: underline;
    }
    
	/* --- SLIDE --- */
.login-left {
    position: relative;
    overflow: hidden;
}

/* Deux calques flous */
.bg-blur,
.bg-blur-next {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(14px);
    transform: scale(1.20);
    transition: opacity 0.8s ease;
    z-index: 1;
}

/* Couche du dessous (toujours visible) */
.bg-blur {
    opacity: 1;
}

/* Couche du dessus (fade uniquement) */
.bg-blur-next {
    opacity: 0;
}

/* Voile bleu */
.login-left::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(47, 80, 97, 0.65);
}

/* Contenu normal */
.slider-container {
    position: relative;
    z-index: 3;
}
	
    /* --- RESPONSIVE --- */
@media (max-width: 900px) {
	 body,html {
        background: linear-gradient(135deg, #f3f6f9, #e6edf3);
    }
    /* On supprime complètement le slide */
    .login-left {
        display: none !important;
    }

    /* Wrapper en mode mobile plein écran */
    .login-wrapper {
        flex-direction: column;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        min-height: 100vh; /* IMPORTANT : permet de centrer verticalement */
        background: transparent;
        padding: 0 20px;

        display: flex;
        justify-content: center; /* centrage vertical */
        align-items: center;     /* centrage horizontal */
    }

    /* Zone formulaire */
    .login-right {
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .login-right-inner {
        width: 100%;
        max-width: 360px; /* limite pour centrage propre */
    }

    /* Logo centré */
    .site-logo-login img {
        max-width: 200px;
        margin: 0 auto;
    }

    /* Titre */
    .login-right h3 {
        text-align: center;
        font-size: 22px;
        margin-bottom: 25px;
    }

    /* Inputs */
    .login-form input[type="text"],
    .login-form input[type="password"] {
        font-size: 16px;
        padding: 15px;
        border-radius: 10px;
		background:#fff;
    }

    /* Bouton */
    .login-form input[type="submit"] {
        font-size: 16px;
        border-radius: 10px;
    }

    .social-login-container {
        margin-top: 25px;
    }

    /* Footer */
       footer.footer {
        width: 100vw !important; /* largeur réelle du viewport */
        margin-left: calc(-50vw + 50%); /* annule l'effet "colonne centrée" */
        padding: 30px 20px;
        box-sizing: border-box;
        text-align: center;
    }

    /* Liens du footer bien espacés, non regroupés */
    .footer-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 5px; /* espacement vertical + horizontal */
        text-align: center;
    }

    .footer-nav a {
        white-space: nowrap; /* empêche un lien de se couper en 2 lignes */
        font-size: 12px;
		margin:0;
		padding:5px;
    }

    .footer-copy {
        margin-top: 18px;
        font-size: 13px;
    }
}