/* Styles spécifiques à la page d'inscription */
.login-container {
    max-width: 600px; /* Un peu plus large pour le formulaire d'inscription */
}

/* Animation pour les champs du formulaire */
.form-group {
    transform: translateY(10px);
    opacity: 0;
    animation: slideUp 0.4s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation décalée pour chaque champ */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Style pour le champ d'upload d'image */
input[type="file"] {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 8px;
    border-left: 3px solid var(--secondary-color);
    width: 100%;
}

/* Style pour le champ email */
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: var(--dark-color);
    color: var(--light-color);
    font-family: inherit;
    transition: all 0.3s ease;
    border-left: 3px solid var(--secondary-color);
}

input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color);
    background-color: rgba(42, 42, 42, 0.9);
}

/* Effet pixel pour le bouton d'inscription */
.register-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: bold;
    image-rendering: pixelated;
    border: none;
    position: relative;
    overflow: hidden;
}

.register-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.register-btn:hover::after {
    left: 100%;
}