.search-container {
    padding: 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

#search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#search-query {
    flex-grow: 1;
    padding: 8px;
}

#search-results {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background: white;
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-item h4 {
    margin: 0 0 5px 0;
    color: #0073aa;
}

.matches-container {
    margin-left: 15px;
}

.match-item {
    padding: 5px;
    font-family: monospace;
    white-space: pre;
}

.match-item:hover {
    background-color: #f0f0f0;
}

.line-number {
    color: #999;
    margin-right: 10px;
}

.match-text {
    color: #333;
}