.wordle-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px auto;
    max-width: fit-content;
    padding: 20px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
}

.wordle-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.wordle-letter {
    width: 50px;
    height: 50px;
    border: 2px solid #3a3a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: transparent;
    color: white;
}

.wordle-letter.empty {
    background-color: transparent;
    border: 2px solid #3a3a3c;
}

.wordle-letter.correct {
    background-color: #6aaa64;
    color: white;
    border-color: #6aaa64;
}

.wordle-letter.wrong-position {
    background-color: #c9b458;
    color: white;
    border-color: #c9b458;
}

.wordle-letter.incorrect {
    background-color: #787c7e;
    color: white;
    border-color: #787c7e;
}

/* Style pour le corps de la page */
body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #1a1a1a;
    color: white;
}

/* Style pour le formulaire */
form {
    margin: 20px auto;
    text-align: center;
}

input[type="text"] {
    padding: 10px;
    font-size: 18px;
    border: 2px solid #3a3a3c;
    border-radius: 4px;
    margin-right: 10px;
    text-transform: uppercase;
    background-color: #1a1a1a;
    color: white;
}

input[type="text"]::placeholder {
    color: #666;
}

button[type="submit"] {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.message {
    text-align: center;
    padding: 10px;
    margin: 10px auto;
    max-width: 400px;
    border-radius: 4px;
}

.message.correct {
    background-color: #6aaa64;
    color: white;
}

.message.incorrect {
    background-color: #787c7e;
    color: white;
}

input[type="text"]:disabled,
button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ajout de styles pour les titres */
h1, h2 {
    color: white;
}

/* Style pour le compteur de tentatives */
.attempts-counter {
    color: #888;
    margin: 10px 0;
}

#next-hero-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.next-button {
    padding: 15px 25px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.next-button:hover {
    background-color: #45a049;
    transform: translateX(5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    #next-hero-button {
        position: static;
        margin: 20px auto;
        transform: none;
        text-align: center;
    }
    
    .next-button {
        display: inline-flex;
    }
} 