/* ==================== SEARCH PAGE STYLING ==================== */
.search-header-container {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

#search-heading {
    font-size: 1.4rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.highlight-search {
    color: white !important;
    background: var(--primary);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.results-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* No results state */
.no-results {
    text-align: center;
    padding: 50px 20px;
}
.no-results i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 20px;
}


/* ==================== SEARCH AUTO-COMPLETE ==================== */
.search-container-relative {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 2500;
    display: none;
    max-height: 350px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    text-decoration: none;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.suggestion-item i {
    color: var(--gray);
    font-size: 1rem;
}

.suggestion-title {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.suggestion-highlight {
    font-weight: 800;
    color: var(--secondary);
    background-color: rgba(211, 47, 47, 0.1); /* Halka red background highlight ke liye */
    padding: 0 2px;
    border-radius: 2px;
}

/* Text Highlighting for Search Results Page */
.highlight-text {
    background-color: #fef08a; /* Yellow highlight */
    color: #1e293b;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: bold;
}

/* ==================== MOBILE SEARCH SUGGESTION FIX ==================== */
.mobile-menu .search-suggestions .suggestion-item {
    color: var(--dark) !important; /* Text color ko dark/black karne ke liye */
    border-top: none; /* Mobile menu a ka default top border hatane ke liye */
    border-bottom: 1px solid #f1f5f9; /* Standard suggestion border */
    padding: 12px 15px; /* Standard suggestion padding */
    background-color: #ffffff; /* Background hamesha white rakhne ke liye */
}

.mobile-menu .search-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.mobile-menu .search-suggestions .suggestion-item:hover {
    background: #f8fafc !important; /* Hover pe halka light background */
    color: var(--primary) !important; /* Hover pe primary (blue/navy) color */
}

/* Suggestion ke andar ke icon ka color theek karne ke liye */
.mobile-menu .search-suggestions .suggestion-item i {
    color: var(--gray) !important;
}