/* Offline Search Results Styles */

.search-results {
    margin-top: 2rem;
}

.search-summary {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    border-left: 4px solid #007bff;
}

.search-summary h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.search-summary p {
    margin-bottom: 0.25rem;
    color: #6c757d;
}

.search-results .card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #dee2e6;
}

.search-results .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.search-results .card-title a {
    color: #007bff;
    text-decoration: none;
}

.search-results .card-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.search-results .tags {
    margin-top: 0.5rem;
}

.search-results .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.search-results .badge-secondary {
    background-color: #6c757d;
    color: white;
}

.search-results mark {
    background-color: #fff3cd;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

/* Loading indicator */
.search-loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

/* Empty results */
.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 0.375rem;
    padding: 1rem;
}

/* Form enhancements */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Small screens optimization */
@media (max-width: 768px) {
    .search-results .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .search-summary {
        padding: 0.75rem;
    }
}