/* packages-orders-search.css - 套餐/订单页面搜索栏样式 */

/* 搜索卡片 */
.search-card {
    border-radius: 12px;
    overflow: hidden;
}

.search-card .card-header {
    background: #fff !important;
    padding: 1rem 1.5rem !important;
}

/* 搜索栏主容器 - 强制一行 */
.search-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* 标题 */
.search-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

/* 右侧操作区 */
.search-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: flex-end;
}

/* 下拉筛选框 */
.filter-select {
    width: 140px !important;
    font-size: 0.875rem;
    border-radius: 8px;
    border-color: #e5e7eb;
    padding: 0.5rem 0.75rem;
}

.filter-select:focus {
    border-color: #07C160;
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
}

/* 搜索输入框 */
.search-input-group {
    display: flex;
    align-items: center;
    width: 320px;
}

.search-input-group .form-control {
    border-radius: 8px 0 0 8px;
    border-color: #e5e7eb;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.search-input-group .form-control:focus {
    border-color: #07C160;
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
}

.search-input-group .btn {
    border-radius: 0 8px 8px 0;
    border-color: #07C160;
    color: #07C160;
    padding: 0.5rem 0.75rem;
    background: #fff;
}

.search-input-group .btn:hover {
    background: #07C160;
    color: #fff;
}

/* 响应式 - 小屏幕允许换行 */
@media (max-width: 1024px) {
    .search-toolbar {
        flex-wrap: wrap;
    }
    
    .search-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .search-input-group {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .search-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .search-input-group,
    .filter-select {
        width: 100%;
    }
}
