/* resources/css/search-nav.css */
/* ... (保留之前的基本樣式) ... */

.search-nav {
    border-bottom: 1px solid #e5e7eb;
}

.nav-button {
    @apply flex items-center px-4 py-2 bg-white border rounded-lg;
    min-width: 150px;
}

.location-icon {
    @apply mr-2;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    padding-right: 32px;
    position: relative;
}

.dropdown-arrow {
    position: absolute;
    right: 10px;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

.dropdown-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Date Picker Styles */
.date-picker {
    cursor: pointer;
    background-color: white;
}

/* Flatpickr Customization */
.flatpickr-calendar {
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flatpickr-day.selected {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
}

.flatpickr-day:hover {
    background-color: #fee2e2 !important;
}