/* ===== Global ===== */
body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color:#e5e4e4;
    height: auto;
    /* pas 100% */
    min-height: 100%;
}

body::after {
    content: '';
    display: block;
    height: 1000px;
    /* ajustable pour tester le scroll */
}
.desktop-menu{
width: 600px;



}
.desktop-menu a{
    text-decoration: none;
    color: white;
    display: inline;
    margin: 20px;
    padding: 20px;

    
}
/* ===== Container principal ===== */
.register-container {
    display: flex;
    height: 100%;
    padding-top: 220px;
}

/* ===== Partie gauche (image/illustration) ===== */
.left {
    max-width: 65%;
    height: auto;
    object-fit: contain;
}



/* ===== Partie droite (formulaire) ===== */
.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-bg-color);

}
@keyframes slidefromright {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    50% {
        transform: translateX(-10%);
        opacity: 0.5;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== Formulaire ===== */
.littlebanger-form {
    background-color: var(--main-bg-color);
    padding: 40px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.littlebanger-form span {
    color: #d9534f;
}

.littlebanger-form.signup {
    animation: slidefromright 0.5s ease-in-out;
}



.littlebanger-form h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 28px;
}


/* ===== Champs ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: 0.3s;
}
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #007bff;
    background-color: #f0f8ff;
    outline: none;
}
.form-group .form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.form-group .form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    order: 1;
}

.form-group .form-check label {
    margin: 0;
    cursor: pointer;
    line-height: 1;
    order: 2;
    
}
.recaptcha{
    margin-bottom: 20px;
    margin-top: 20px;
}
.form-errors ul {
    list-style:inside ;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-errors ul li:hover {
    background-color: transparent;
    border-radius: 5px;
    border: transparent;
    color: #d9534f;
}
.form-errors ul li {
    padding: 0;
    margin-top: 8px;
    color: #d9534f;
    font-size: 14px;
    align-items: flex-start;
}   

/* ===== Bouton ===== */
.form-group button {
    background: var(--surface, #111118);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    box-shadow:
}

.form-group button:hover {
    /* effet enfoncé au hover */
    box-shadow: inset 4px 4px 6px rgba(0, 0, 0, 0.2),
        inset -4px -4px 6px rgba(255, 255, 255, 0.2);
    background: #6c63ff;
    /* un bleu légèrement plus foncé */
}



a {
    display: block;
    font-weight: lighter;
    text-align: center;
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    transition: 0.3s;
}



span {
    font-weight: lighter;
}



a {
    text-decoration: none;
    font-weight: lighter;
}


/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .register-container {
        padding-top: 100px;
        flex-direction: column;
    }
    .left {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
   

    .right {
        flex: 1;
        padding: 20px;
    }

}
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface, #111118);
    border-top: 1px solid var(--border, #1e1e2e);
    padding: 16px 40px;
    text-align: center;
    color: var(--muted, #6b6b88);
    font-size: 13px;
    z-index: 100;
}
.footer strong {
    color: #6c63ff;
  }

