/* Search Component Styles */
.search-container {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    transition: transform 0.2s;
}

.search-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.location-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 0 0 1rem;
    color: var(--coway-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.location-icon-btn:hover {
    color: var(--coway-light-blue);
}

#location-search {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    outline: none;
    background: transparent;
    width: 100%;
}

.search-icon-btn {
    background: var(--coway-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 0.2rem;
    transition: background 0.2s;
}

.search-icon-btn:hover {
    background: var(--coway-light-blue);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    /* Hidden by default */
    text-align: left;
}

.search-result-item {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.1s;
}

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

.search-result-item:hover {
    background: #f8f9fa;
}

.result-city {
    font-weight: 700;
    color: var(--coway-blue);
    font-size: 1rem;
}

.result-state {
    font-size: 0.85rem;
    color: var(--text-light);
}