        :root {
            --primaire: #3B2850;
            --secondaire: #6D6D6D;
            --sombre: #1E1E1E;
            --clair: #FFFFFF;
            --accentue: #8A63D2;
            --succes: #4ADE80;
            --avertissement: #F59E0B;
            --danger: #EF4444;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--primaire);
            color: var(--clair);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        .conteneur {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn-retour {
            position: fixed;
            top: 30px;
            left: 30px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: white;
            text-decoration: none;
            border-radius: 14px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.15);
            z-index: 10;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .btn-retour:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .boite-bento {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .boite-bento:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.2);
        }
        
        .texte-degrade {
            background: linear-gradient(90deg, #8A63D2 0%, #FF7DEE 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-size: 20px; 
            font-weight: 500;
        }

        .input-bento {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: white;
            transition: all 0.3s ease;
            border-radius: 12px;
            width: 305px;
            padding: 12px 16px;
            font-size: 14px;
        }

        .input-bento:focus {
            outline: none;
            border-color: var(--accentue);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 2px rgba(138, 99, 210, 0.4);
        }

        .btn-principal {
            background: linear-gradient(135deg, var(--accentue), #8A63D2);
            color: white;
            transition: all 0.3s ease;
            box-shadow: 0 2.5px 10px rgba(138, 99, 210, 0.4);
            border-radius: 12px;
            width: 100%;
            padding: 12px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            font-size: 14px;
        }

        .btn-principal:hover {
            transform: scale(1.02) translateY(-2px);
            box-shadow: 0 5px 10px rgba(138, 99, 210, 0.6);
        }

        .btn-social {
            background: rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            border-radius: 12px;
            width: 100%;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 14px;
        }

        .btn-social:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .checkbox-bento {
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .checkbox-bento:checked {
            background: var(--accentue);
            border-color: var(--accentue);
        }

        .login-conteneur {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 40px 20px;
            position: relative;
        }

        .login-box {
            padding: 32px;
        }

        .logo {
            display: flex;
            justify-content: center;
            margin-bottom: 32px;
        }

        .logo-int {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo-icon {
            font-size: 24px;
        }

        .logo-texte {
            font-size: 20px;
            font-weight: 700;
        }

        .titre {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
        }

        .sectitre {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 32px;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .form-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .se-souvenir {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .se-souvenir-texte {
            font-size: 14px;
        }

        .mdp-oublier {
            font-size: 14px;
            color: rgba(138, 99, 210, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
            text-align: right;
        }

        .mdp-oublier:hover {
            color: rgba(138, 99, 210, 1);
        }

        .division {
            display: flex;
            align-items: center;
            margin: 24px 0;
        }

        .division-ligne {
            flex: 1;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.2);
        }

        .division-texte {
            padding: 0 12px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        .social-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 24px;
        }

        .se-connecter-lien {
            text-align: center;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .se-connecter-lien a {
            color: rgba(138, 99, 210, 0.8);
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .se-connecter-lien a:hover {
            color: rgba(138, 99, 210, 1);
        }

        
@media (max-width: 768px) {
        .input-bento {
            width: 275px;
        }
    }

@media (max-width: 408px) {
        .input-bento {
            width: 220px;
        }
    }
    
.modal-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:100;
    opacity:0;
    pointer-events:none;
    transition:opacity .3s ease
}
.modal-overlay.active{
    opacity:1;
    pointer-events:auto
}
.modal{
    background:var(--sombre);
    padding:32px;
    border-radius:24px;
    max-width:380px;
    width:90%;
    text-align:center;
    box-shadow:0 4px 30px rgba(0,0,0,.2)
}
.modal-title{
    font-size:18px;      /* au lieu de 20 */
    line-height:1.3;     /* compact mais lisible */
}
