/* Custom styles for the application */
.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, monospace;
}

.category-item.active button {
    background-color: #f3f4f6;
    font-weight: 500;
}

.phrase-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.phrase-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.phrase-number {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.phrase-content {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.phrase-translation {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.5;
}

@media (max-width: 768px) {
    aside {
        margin-bottom: 1rem;
    }
    
    #categoryList {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-item button {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .category-item button svg {
        display: none;
    }
}

/* Prevent zooming */
@media (pointer: fine) {
    body {
        touch-action: pan-x pan-y;
    }
}
