/* Modern Search Bar Styles for Header0 */

/* Search Backdrop */
.search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
}

/* Modern Search Bar Styles */
.modern-search-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.modern-search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.modern-search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-icon {
    font-size: 24px;
    color: #666;
    margin-right: 15px;
}

.modern-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
}

.modern-search-input::placeholder {
    color: #999;
}

.search-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.modern-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 500px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-type {
    font-size: 11px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 5px;
}

.result-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 3px;
}

.result-category {
    font-size: 13px;
    color: #999;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: #999;
}

.view-all-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 0 0 15px 15px;
    font-weight: 500;
    transition: background 0.3s;
}

.view-all-btn:hover {
    background: #0056b3;
    color: white;
}

.search-loading {
    text-align: center;
    padding: 20px;
    color: #999;
}
