body {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/minecraft-grass.jpg");
    background-size: cover;
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    text-align: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
.container {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 40px 30px 30px 30px;
    border: 5px solid #00ff00;
    border-radius: 12px;
    max-width: 400px;
    margin: 80px auto 0 auto;
    box-shadow: 0 0 24px #00ff00;
}
h2 {
    color: #00ff00;
    font-size: 28px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 #000;
}
label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: left;
    color: #baffba;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 38px 12px 12px;
    border: 2px solid #00ff00;
    border-radius: 6px;
    background-color: #1e221c;
    font-family: 'Press Start 2P', monospace;
    font-size: 13px;
    box-sizing: border-box;
    outline: none;
    transition: border 0.2s;
    color: #ffffff;
    margin-bottom: 18px;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 2px solid #00ff00;
    background-color: #1e221c;
}
button[type="submit"] {
    background-color: #1d4412;
    color: #fff;
    border: 3px solid #00ff00;
    padding: 14px 0;
    width: 100%;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Press Start 2P', monospace;
    margin-top: 10px;
    transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
button[type="submit"]:hover {
    text-decoration: underline;
}
button[type="submit"]:active {
    transform: translateY(4px);
    box-shadow: none;
}
.success {
    color: #43b581;
    background: rgba(0,0,0,0.7);
    border: 2px solid #43b581;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    text-shadow: 1px 1px 0 #000;
}
.success-big {
    color: #00ff00 !important;
    background: rgba(0,0,0,0.85);
    border: 3px solid #00ff00;
    border-radius: 10px;
    padding: 18px 10px;
    margin-bottom: 22px;
    font-size: 18px;
    font-family: 'Press Start 2P', monospace;
    text-align: center;
    text-shadow: 2px 2px 0 #000;
    box-shadow: 0 0 24px #00ff00;
    letter-spacing: 1px;
}
.error {
    color: #ff5555;
    background: rgba(0,0,0,0.7);
    border: 2px solid #ff5555;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    text-shadow: 1px 1px 0 #000;
}
.footer {
    margin-top: 40px;
    color: #baffba;
    font-size: 11px;
    opacity: 0.7;
    text-shadow: 1px 1px 0 #000;
}
a.return-link {
    color: #00ff00;
    text-decoration: underline;
    font-size: 13px;
    display: inline-block;
    margin-top: 18px;
}
a.return-link:hover {
    color: #baffba;
}

.step {
    animation: fadeIn 0.4s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.next-btn, .prev-btn {
    background-color: #1d4412;
    color: #fff;
    border: 2px solid #00ff00;
    border-radius: 6px;
    font-family: 'Press Start 2P', monospace;
    font-size: 13px;
    padding: 10px 18px;
    margin: 18px 8px 0 8px;
    cursor: pointer;
    transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
.next-btn:hover, .prev-btn:hover {
    background-color: #228b22;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: 10px 0;
    height: 24px;
    width: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.toggle-password:hover {
    opacity: 1;
}
.password-container {
    position: relative;
}

/* Style pour les boutons Suivant/Précédent désactivés */
.next-btn:disabled, .prev-btn:disabled {
    background-color: #222 ;
    color: #888 ;
    border-color: #444 ;
    opacity: 0.6;
    cursor: not-allowed ;
    box-shadow: none;
    text-decoration: none;
    pointer-events: auto;
}

.final-btn-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.final-btn-row .prev-btn {
    /* margin: 0; */
    min-width: 120px;
}

button.submit-btn-blue {
    background: linear-gradient(180deg, #3bb2f7 0%, #1e6fa7 100%);
    border: 2px solid #1976b2; 
    border-bottom-width: 5px;
    color: #fff;
    box-shadow: 0 2px #1976b2;
    font-family: 'Press Start 2P', monospace;
    font-size: 13px; /* même taille que .prev-btn */
    padding: 10px 32px; /* même hauteur que .prev-btn, plus large */
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
    margin-top: 18px;
    min-width: 180px;
    height: 40px; /* force la même hauteur si besoin */
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.submit-btn-blue:hover {
    background: linear-gradient(180deg, #4fc3f7 0%, #1976b2 100%);
    box-shadow: 0 4px #1976b2;
    text-decoration: underline;
}
@media (max-width: 600px) {
    button.submit-btn-blue {
        font-size: 12px;
        /* padding: 8px 24px; */
    }
}