.date-location-container {
    background: transparent;
    padding: 0.75rem 0rem;
    border-radius: 12px;
}

.date-location-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Search Section */
.location-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-wrapper:focus-within {
    border-color: #A0522D;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

.flag-icon {
    margin-right: 0.5rem;
    border-radius: 2px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.9rem;
    color: #495057;
}

.search-input::placeholder {
    color: #6c757d;
}

.clear-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    color: #6c757d;
}

.clear-btn:hover {
    color: #8B4513;
}

/* Selected City Display (Chip) */
.selected-city-display {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    color: #495057;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.selected-city-display:hover {
    border-color: #A0522D;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
    transform: translateY(-1px);
}

.city-label {
    flex: 1 1 auto;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8B4513;
}

.edit-icon {
    flex: 0 0 auto;
    color: #9ca3af;
    font-size: 0.95rem;
}

.selected-city-display:hover .edit-icon {
    color: #8B4513;
}

/* Suggestions Dropdown */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #8B4513;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.25rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

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

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-text {
    flex: 1;
}

.city-name {
    font-weight: 600;
    color: #8B4513;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.city-details {
    font-size: 0.75rem;
    color: #6c757d;
}

.timezone {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex: 1;
    justify-content: flex-end;
    max-width: 400px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #8B4513;
    border: 2px solid #8B4513;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 90px;
    white-space: nowrap;
}

.nav-btn:hover {
    background: #A0522D;
    border-color: #A0522D;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.nav-btn:active {
    transform: translateY(0);
}

.prev-btn {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.next-btn {
    background: linear-gradient(135deg, #A0522D, #8B4513);
}

/* Date Picker */
.date-picker {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 150px;
    min-width: 140px;
}

.date-input {
    border: 2px solid #8B4513;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    background: #ffffff;
    color: #495057;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

.date-input:focus {
    border-color: #A0522D;
    outline: none;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.25);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navigation-buttons {
        max-width: 350px;
    }

    .nav-btn {
        min-width: 80px;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .date-picker {
        max-width: 140px;
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .date-location-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .location-search {
        flex: 1 1 100%;
        order: 1;
        min-width: auto;
    }

    .navigation-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
        max-width: none;
        gap: 1rem;
    }

    .nav-btn {
        flex: 1;
        max-width: 120px;
    }

    .date-picker {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .date-location-container {
        padding: 0.5rem;
    }

    .date-location-row {
        gap: 0.5rem;
    }

    .search-wrapper {
        padding: 0.4rem 0.6rem;
    }

    .selected-city-display {
        padding: 0.4rem 0.6rem;
    }

    .navigation-buttons {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .date-input {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .suggestions-dropdown {
        max-height: 180px;
    }

    .suggestion-item {
        padding: 0.6rem 0.8rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .suggestion-item {
        padding: 1rem;
        min-height: 44px;
    }

    .nav-btn,
    .date-input,
    .search-input,
    .selected-city-display {
        min-height: 44px;
    }
}
