/* Search Results Styling */
.results-count {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

/* Fuzzy search indicator */
.fuzzy-search-indicator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 10px 0;
    display: inline-block;
    animation: shimmer 2s infinite;
}

.fuzzy-search-indicator i {
    margin-right: 8px;
}

@keyframes shimmer {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-message i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-message h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.no-results-message p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.no-results-message a {
    color: #007bff;
    text-decoration: none;
}

.no-results-message a:hover {
    text-decoration: underline;
}

.search-suggestions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 5px 0;
    color: #666;
}

.search-suggestions li:before {
    content: "•";
    color: #007bff;
    margin-right: 8px;
}

/* Enhanced fuzzy search suggestions */
.fuzzy-suggestions {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    color: white;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fuzzy-suggestions h4 {
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fuzzy-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fuzzy-suggestions li {
    padding: 5px 0;
    opacity: 0.9;
}

.fuzzy-suggestions li:before {
    content: "✨";
    margin-right: 8px;
}

.search-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

/* Clear search button styling */
.clear-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    display: none;
    z-index: 10;
    font-size: 14px;
}

.clear-search-btn:hover {
    color: #333;
}

.search-input-wrapper {
    position: relative;
}

/* Adjust search input padding to make room for clear button */
.search-input {
    padding-right: 40px !important;
}

/* Search hint styling */
.search-hint {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e8f5e8;
    padding: 8px 12px;
    font-size: 12px;
    color: #2d5a2d;
    border: 1px solid #c3e6c3;
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-hint i {
    color: #28a745;
}

/* Responsive search results */
@media (max-width: 768px) {
    .no-results-message {
        padding: 40px 15px;
    }
    
    .no-results-message i {
        font-size: 3rem;
    }
    
    .no-results-message h3 {
        font-size: 1.3rem;
    }
    
    .search-suggestions, .fuzzy-suggestions {
        padding: 15px;
    }
    
    .results-count {
        display: block;
        font-size: 0.9rem;
        margin-top: 5px;
    }
    
    .fuzzy-search-indicator {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
