/* Search Dropdown Styles */
.search-wrapper {
    position: relative;
    flex: 1;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.04);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1100;
    display: none;
    padding: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-dropdown.show {
    display: block;
}

.search-result-item {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.search-result-item:hover {
    background: #f0f7ff;
    padding-left: 18px;
}

.search-result-type {
    background: #1e40af; /* State color - Navy blue */
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
}

.search-result-type.city {
    background: #0284c7; /* City color - Sky blue */
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.1);
}

.search-result-name {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.search-result-item:hover .search-result-name {
    color: #1e40af;
}

.no-results {
    padding: 16px;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* Custom Scrollbar for Search Dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.1);
    border-radius: 20px;
}
.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.2);
}