/* Enhanced Search Results Styles */

.results-header {
    background: #f0f0f0;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
    color: #333;
}

.result-item {
    background: white;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 4px solid #0000CC;
    border-radius: 4px;
}

.result-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.result-title a {
    color: #0000CC;
    text-decoration: none;
    font-weight: bold;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-url {
    color: #006600;
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-all;
}

.result-description {
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
}

.result-category {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

mark {
    background: #ffff00;
    padding: 2px 4px;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
    padding: 20px;
}

.page-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f0f0f0;
    border-color: #0000CC;
}

.page-btn.active {
    background: #0000CC;
    color: white;
    border-color: #0000CC;
    font-weight: bold;
    cursor: default;
}

.page-ellipsis {
    padding: 8px 4px;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .result-title {
        font-size: 16px;
    }
}
