/*.container {
    position: absolute;
    z-index: 9999; 
    touch-action: manipulation; 
    width: 90%;
    max-width: 380px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}*/
.container {
    position: relative; /* au lieu d'absolute */
    z-index: 9999;
    touch-action: manipulation;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 90%;
    max-width: 420px; /* RegisterPage : 420px / LoginPage : 380px */
    padding: 20px;
    border-radius: 14px;

    margin: auto; /* centre dans le parent flex */
}

.title {
    font-size: 1.8rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 600px) {
    .container {
        max-width: 460px;
        padding: 24px;
    }

    .title {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 600px;
        padding: 32px;
    }

    .title {
        font-size: 2.6rem;
    }
}

