.vocabulary-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.category-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.category-header {
    background: #2196f3;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
}

.word-list {
    padding: 1rem;
}

.word-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.word-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.word-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s;
}

.word-left:hover {
    background: #e9ecef;
}

.word-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.word-right:hover {
    background: #f8f9fa;
}

.kana {
    font-size: 1.5rem;
}

.kanji {
    color: #666;
    font-size: 1.2rem;
}

.meaning {
    color: #333;
}

.example {
    text-align: left;
    color: #333;
    font-size: 1.1rem;
}

.example-meaning {
    color: #666;
    text-align: left;
    margin-top: 0.5rem;
}

.back-button {
    padding: 0.5rem 1rem;
    background: #2196f3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .vocabulary-container {
        padding: 1rem;
    }

    .word-info {
        grid-template-columns: 1fr;
    }

    .word-right {
        border-top: 1px solid #eee;
    }
} 