/* Page 55 & 56 Game Styles */
#page_47 .game-container, #page_47b .game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

#page_47 .game-row, #page_47b .game-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

#page_47 .word-wrapper, #page_47b .word-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#page_47 .static-text, #page_47b .static-text {
    font-size: 20px;
    font-weight: bold;
    margin-right: 10px;
}

#page_47 .letter-box, #page_47b .letter-box {
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: white;
}

#page_47 .letter-box:focus, #page_47b .letter-box:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

#page_47 .letter-box.readonly, #page_47b .letter-box.readonly {
    background-color: #e9ecef;
    color: #555;
    border-color: #ccc;
}

#page_47 .check-btn, #page_47b .check-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

#page_47 .check-btn:hover, #page_47b .check-btn:hover {
    background-color: #218838;
}

#page_47 .feedback, #page_47b .feedback {
    min-height: 24px;
    font-weight: bold;
    margin-top: 5px;
}

#page_47 .feedback.correct, #page_47b .feedback.correct {
    color: #28a745;
}

#page_47 .feedback.wrong, #page_47b .feedback.wrong {
    color: #dc3545;
}
