.search-dropdown {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 41, 82, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 10000;
    display: none;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: flex;
}

.search-section-label {
    padding: 8px 16px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.search-section-label i {
    margin-right: 4px;
    font-size: 0.65rem;
}

.search-category-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none !important;
    color: #6366f1 !important;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.search-category-item i {
    font-size: 0.7rem;
    margin-right: 6px;
    opacity: 0.6;
}

.search-category-item:hover,
.search-category-item.search-item--selected {
    color: #4f46e5 !important;
    background: #eef2ff;
}

.search-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none !important;
    color: #334155 !important;
    font-size: 0.9rem;
    line-height: 1.4;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.search-item:hover,
.search-item.search-item--selected {
    color: #003f7d !important;
    background: #f0f6ff;
}

.search-item strong {
    color: #003f7d;
    font-weight: 700;
}

.search-show-all {
    display: block;
    padding: 12px 16px;
    text-decoration: none !important;
    color: #003f7d !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    background: #f0f6ff;
    border-top: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.search-show-all:hover {
    background: #dbeafe;
    color: #1e40af !important;
}

.search-show-all i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.search-no-results {
    padding: 20px;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    background: #fff;
}

.search-no-results i {
    margin-right: 6px;
    opacity: 0.5;
}

.search-btn-ready {
    animation: searchPulse 1.5s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 63, 125, 0); }
    50% { box-shadow: 0 0 0 4px rgba(0, 63, 125, 0.15); }
}

@media (max-width: 991px) {
    .search-dropdown {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        border-radius: 0;
    }
}
