.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.setup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.setup-form label {
    font-size: 18px;
    color: #333;
}

#lessonSelect,#levelSelect {
    width: 200px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#lessonSelect:focus {
    border-color: #4CAF50;
}


#levelSelect:focus {
    border-color: #4CAF50;
}

#isMainContainer{
    display: flex;
}

.word-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.word-japanese {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.option {
    padding: 15px 20px;
    font-size: 18px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.option:hover {
    background-color: #f5f5f5;
    border-color: #4CAF50;
    transform: translateY(-2px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 30px;
}

.progress {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.feedback {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feedback.correct {
    background-color: rgba(144, 238, 144, 0.2);
    border: 1px solid #90EE90;
}

.feedback.incorrect {
    background-color: rgba(255, 182, 193, 0.2);
    border: 1px solid #FFB6C1;
}

.feedback-content {
    margin-bottom: 15px;
}

.feedback-content p {
    margin: 8px 0;
    font-size: 16px;
    color: #333;
}

.next-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-button:hover {
    background-color: #45a049;
}

.option[style*="background-color: #90EE90"] {
    border-color: #4CAF50;
}

.option[style*="background-color: #FFB6C1"] {
    border-color: #ff4444;
}

.result {
    text-align: center;
    padding: 30px;
}

.result h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.result p {
    margin: 10px 0;
    font-size: 18px;
    color: #666;
}

.waiting-screen {
    text-align: center;
    padding: 30px;
}

.waiting-screen h2 {
    color: #333;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .word-japanese {
        font-size: 24px;
    }

    .option {
        font-size: 16px;
    }
} 